From b19ce8af9b6c9568d3722755ca6934f1628a3da4 Mon Sep 17 00:00:00 2001 From: Michele Carignani Date: Fri, 8 Mar 2019 17:36:21 +0100 Subject: [PATCH] added minimum value 0 requirement where SOL005 specifies UnsignedInt --- .../NSLifecycleManagement/definitions/SOL005_def.yaml | 4 +++- .../definitions/SOL005VNFPMManagement_def.yaml | 11 +++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/SOL005/NSLifecycleManagement/definitions/SOL005_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/SOL005_def.yaml index 5e4c195..8c49260 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005_def.yaml @@ -496,10 +496,12 @@ description: > Identifies the lower bound of the port range. upperPort Integer type: integer + minimum: 0 upperPort: description: > Identifies the upper bound of the port range. type: integer + minimum: 0 Mask: description: > @@ -611,4 +613,4 @@ description: > The token endpoint from which the access token can be obtained. Shall be present if it has not been provisioned out of band. - $ref: "#/definitions/Uri" \ No newline at end of file + $ref: "#/definitions/Uri" diff --git a/src/SOL005/VNFPackageManagement/definitions/SOL005VNFPMManagement_def.yaml b/src/SOL005/VNFPackageManagement/definitions/SOL005VNFPMManagement_def.yaml index 9a511cd..2f97803 100644 --- a/src/SOL005/VNFPackageManagement/definitions/SOL005VNFPMManagement_def.yaml +++ b/src/SOL005/VNFPackageManagement/definitions/SOL005VNFPMManagement_def.yaml @@ -249,15 +249,18 @@ definitions: minDisk: description: > The minimal disk for this software image in bytes. - type: integer + type: integer + minimum: 0 minRam: description: > The minimal RAM for this software image in bytes. - type: integer + type: integer + minimum: 0 size: description: > Size of this software image in bytes. - type: integer + type: integer + minimum: 0 userMetadata: description: > User-defined data. @@ -655,4 +658,4 @@ definitions: - PKG_DELETE: The VNF package has been deleted. enum: - "OP_STATE_CHANGE" - - "PKG_DELETE" \ No newline at end of file + - "PKG_DELETE" -- GitLab