From 30dec88e341d56a6b43baf3211a185b358d35595 Mon Sep 17 00:00:00 2001 From: moscatelli Date: Wed, 17 Apr 2019 11:38:10 +0200 Subject: [PATCH] SOL005: NsLcmOperationOccurrenceNotification fixed --- .../SOL005NSLifecycleManagement_def.yaml | 2 ++ .../NSLifecycleManagementNotification.yaml | 2 -- ...NSLifecycleManagementNotification_def.yaml | 25 ++++++++++++++----- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml index 2308cd9..8c94acb 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml @@ -2959,6 +2959,8 @@ definitions: required: - nsInstanceId - nsdId + - changeType + - changeResult properties: nsInstanceId: description: > diff --git a/src/SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml b/src/SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml index 31e6234..663d408 100644 --- a/src/SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml +++ b/src/SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml @@ -49,7 +49,6 @@ paths: The POST method delivers a notification from the server to the client. This method shall support the URI query parameters, request and response data structures, and response codes, as specified in the Tables 6.4.18.3.1-1 and 6.4.18.3.1-2. - parameters: - name: NsLcmOperationOccurrenceNotification description: > @@ -135,7 +134,6 @@ paths: The POST method delivers a notification from the server to the client. This method shall support the URI query parameters, request and response data structures, and response codes, as specified in the Tables 6.4.18.3.1-1 and 6.4.18.3.1-2. - parameters: - name: NsIdentifierCreationNotification description: > diff --git a/src/SOL005/NSLifecycleManagementNotification/definitions/SOL005NSLifecycleManagementNotification_def.yaml b/src/SOL005/NSLifecycleManagementNotification/definitions/SOL005NSLifecycleManagementNotification_def.yaml index 50fecf3..f62006d 100644 --- a/src/SOL005/NSLifecycleManagementNotification/definitions/SOL005NSLifecycleManagementNotification_def.yaml +++ b/src/SOL005/NSLifecycleManagementNotification/definitions/SOL005NSLifecycleManagementNotification_def.yaml @@ -8,6 +8,11 @@ definitions: - nsInstanceId - nsLcmOpOccId - subscriptionId + - timestamp + - notificationStatus + - operationState + - isAutomaticInvocation + - _links properties: id: description: > @@ -67,17 +72,21 @@ definitions: in case of auto-scaling, auto-healing and when a nested NS is modified as a result of an operation on its composite NS. Set to false otherwise. - type: boolean + $ref: "../../definitions/SOL005_def.yaml#/definitions/Boolean" affectedVnf: description: > Information about the VNF instances that were affected during the lifecycle operation. - $ref: "../../NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/AffectedVnf" + type: array + items: + $ref: "../../NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/AffectedVnf" affectedPnf: description: > Information about the PNF instances that were affected during the lifecycle operation. - $ref: "../../NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/AffectedPnf" + type: array + items: + $ref: "../../NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/AffectedPnf" affectedVl: description: > Information about the VL instances that were affected @@ -98,11 +107,15 @@ definitions: during the lifecycle operation. See note. type: array items: - $ref: "../../NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/AffectedSap" + $ref: "../../NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/AffectedNs" affectedSap: description: > - The lifecycle operation. - $ref: "../../NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsLcmOpType" + Information about the SAP instances that were affected during the lifecycle operation. + Shall be present if the "notificationStatus" is set to "RESULT" and the operation + has performed any resource modification. Shall be absent otherwise. + type: array + items: + $ref: "../../NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/AffectedSap" error: description: > Details of the latest error, if one has occurred during -- GitLab