From 6aa58c371b34d20b5620088d904b7b40e0edf291 Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Wed, 16 Dec 2020 15:12:37 +0100 Subject: [PATCH] fixed issue #7 --- .../NSLifecycleManagement.yaml | 2 +- .../SOL005NSLifecycleManagement_def.yaml | 58 ++----------------- 2 files changed, 5 insertions(+), 55 deletions(-) diff --git a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml index cfbc3ee..d217744 100644 --- a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml +++ b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml @@ -1,6 +1,6 @@ swagger: "2.0" info: - version: "1.2.0-impl:etsi.org:ETSI_NFV_OpenAPI:1" + version: "1.2.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 39b3bbc..c14c02e 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml @@ -2762,58 +2762,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 @@ -3010,7 +2958,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. @@ -3019,6 +2967,8 @@ definitions: - nsVirtualLinkInstanceId - nsVirtualLinkDescId - vlProfileId + - changeType + - changeResult properties: nsVirtualLinkInstanceId: description: > @@ -3839,7 +3789,7 @@ definitions: represents the result of a lifecycle operation. type: array items: - $ref: "#/definitions/AffectedVl" + $ref: "#/definitions/AffectedVirtualLink" affectedVnffgs: description: > Information about the VNFFG instances that were -- GitLab