diff --git a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml index 34a335215f798fdb5fe1e7de8f6f7156a4489c58..5c9041f9cffbd97ac16656673c005b1cc6dc3ab6 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml @@ -656,11 +656,10 @@ definitions: NsInstance: description: > - This type represents a response for Query NS operation. + This type represents an NS instance. It shall comply with the provisions defined in Table 6.5.2.10-1. NOTE 1: Void. - "vnfInstance" attribute or one "nestedNsInstanceId" attribute shall be present. NOTE 2: The “priority” attribute of the NS instance is configured in the NSD in the NsDf structure. The mapping from application-specific priority values to a value in the NsDf is under OSS/BSS responsibility. The "zero" value expresses the highest priority and the fact that the NS instance based on this DF cannot be @@ -669,6 +668,16 @@ definitions: NOTE 4: Information about PaaS Services assigned to VNF instances shall only be included in the corresponding VnfInstance (see clause 6.5.3.57) + NOTE 5: The recentNsLsmOperationLinks attribute does not provide a complete historical record of LCM changes that + a NS instance experienced during its lifecycle. The information in this attribute should not be used to + create a chronological order of events that cannot be inferred by looking only at the most recent operation + occurrences due to potential gaps in timeline. This is because there can be many possible combination of LCM + changes that a NS instance may have gone through between two operation occurrences recorded in the + recentNsLcmOperationLinks attribute. For example, there can be many scaling related LCM changes since an + individual NS instance has been instantiated until the most recent scaling operation occurrence linked in the + attribute. In another example, the most recent LCM operation occurrence related to instantiate NS operation + may be more recent than the one that caused the NS instance to be terminated last time, which prevents the + possibility to create a meaningful chronological timeline of NS LCM events. type: object required: - id @@ -883,7 +892,41 @@ definitions: instance resource (i.e. NS instance is in INSTANTIATED state). $ref: "../../definitions/SOL005_def.yaml#/definitions/Link" - + recentNsLcmOperationLinks: + description: > + Links to the most recent LCM operation occurrences related to this resource. See note 5. + type: object + properties: + recentNsLcmOperation: + description: > + Link to the most recent LCM operation occurrence of any type that has been triggered + on this NS instance, such as Instantiate, Scale, or Heal. + $ref: "../../definitions/SOL005_def.yaml#/definitions/Link" + recentNsLcmInstantiation: + description: > + Link to the most recent LCM operation occurrence of type "INSTANTIATE" that has been + triggered on this NS instance. + $ref: "../../definitions/SOL005_def.yaml#/definitions/Link" + recentNsLcmTerminate: + description: > + Link to the most recent LCM operation occurrence of type "TERMINATE" that has been + triggered on this NS instance. + $ref: "../../definitions/SOL005_def.yaml#/definitions/Link" + recentNsLcmUpdate: + description: > + Link to the most recent LCM operation occurrence of type "UPDATE" that has been + triggered on this NS instance. + $ref: "../../definitions/SOL005_def.yaml#/definitions/Link" + recentNsLcmScale: + description: > + Link to the most recent LCM operation occurrence of type "SCALE" that has been + triggered on this NS instance. + $ref: "../../definitions/SOL005_def.yaml#/definitions/Link" + recentNsLcmHeal: + description: > + Link to the most recent LCM operation occurrence of type "HEAL" that has been + triggered on this NS instance. + $ref: "../../definitions/SOL005_def.yaml#/definitions/Link" McioTypeName: description: