From 59489abd1c38889ef5ece2518ef5217ba9f43450 Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Wed, 2 Dec 2020 13:03:30 +0100 Subject: [PATCH 1/3] fixed issue #6 --- .../SOL005NSLifecycleManagement_def.yaml | 54 +------------------ 1 file changed, 1 insertion(+), 53 deletions(-) diff --git a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml index 30f35a3..1f44393 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml @@ -2825,58 +2825,6 @@ definitions: items: $ref: "#/definitions/PnfExtCpData" - AffectedVirtualLink: - description: > - This type provides information about added, deleted, modified and - temporary VLs. - type: object - required: - - id - - virtualLinkDescId - - changeType - - networkResource - properties: - id: - description: > - Identifier of the virtual link instance, identifying the applicable - "vnfVirtualLinkResourceInfo" entry in the "VnfInstance" data type. - $ref: "#/definitions/IdentifierInVnf" - virtualLinkDescId: - description: > - Identifier of the related VLD in the VNFD. - $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd" - changeType: - description: > - Signals the type of change. Permitted values: - * ADDED - * REMOVED - * MODIFIED - * TEMPORARY - * LINK_PORT_ADDED - * LINK_PORT_REMOVED - For a temporary resource, an AffectedVirtualLink structure exists as - long as the temporary resource exists. - type: string - enum: - - ADDED - - REMOVED - - MODIFIED - - TEMPORARY - - LINK_PORT_ADDED - - LINK_PORT_REMOVED - networkResource: - description: > - Reference to the VirtualNetwork resource. Detailed information is - (for new and modified resources) or has been (for removed - resources) available from the VIM. - $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle" - metadata: - description: > - Metadata about this resource. - The content of this attribute shall be a copy of the content of the - "metadata" attribute of the VnfVirtualLinkResourceInfo structure. - $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs" - AffectedVirtualStorage: description: > This type provides information about added, deleted, modified and @@ -3076,7 +3024,7 @@ definitions: - ROLLED_BACK - FAILED - AffectedVl: + AffectedVirtualLink: description: > This type provides information about added, deleted and modified VLs. It shall comply with the provisions in Table 6.5.3.4-1. -- GitLab From 81b4f6fcd44004de248016b8c42915f3852abb04 Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Wed, 13 Jan 2021 19:14:01 +0100 Subject: [PATCH 2/3] fixed issue #12 (nsCpHandle) --- .../NSLifecycleManagement/NSLifecycleManagement.yaml | 2 +- .../definitions/SOL005NSLifecycleManagement_def.yaml | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml index c1dabb7..deaa459 100644 --- a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml +++ b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml @@ -1,6 +1,6 @@ swagger: "2.0" info: - version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1" + version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:2" title: "SOL005 - NS Lifecycle Management Interface" description: > SOL005 - NS Lifecycle Management Interface diff --git a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml index 1f44393..fd2b8ab 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml @@ -759,9 +759,7 @@ definitions: Identifiers of the CP instances attached to the constituent VNFs and PNFs or the SAP instances of the VNFFG. See note. - type: array - items: - $ref: "#/definitions/NsCpHandle" + $ref: "#/definitions/NsCpHandle" NfpInfo: description: > @@ -800,7 +798,7 @@ definitions: type: array minItems: 1 items: - $ref: "#/definitions/NsCpHandle" + $ref: "#/definitions/CpGroupInfo" totalCp: description: > Total number of CP and SAP instances in this NFP instance. @@ -1588,9 +1586,7 @@ definitions: sapInfo item in the NS instance. There shall be at most one link port associated with any connection point instance. - type: array - items: - $ref: "#/definitions/NsCpHandle" + $ref: "#/definitions/NsCpHandle" AffinityOrAntiAffinityRule: description: > -- GitLab From 41634468b93cb1c79ff54e995eacd56f0c2e3d59 Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Wed, 13 Jan 2021 19:23:03 +0100 Subject: [PATCH 3/3] fix --- .../definitions/SOL005NSLifecycleManagement_def.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml index fd2b8ab..63f923a 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml @@ -1586,7 +1586,7 @@ definitions: sapInfo item in the NS instance. There shall be at most one link port associated with any connection point instance. - $ref: "#/definitions/NsCpHandle" + $ref: "#/definitions/NsCpHandle" AffinityOrAntiAffinityRule: description: > -- GitLab