Commit 8c835f77 authored by Francesca Moscatelli's avatar Francesca Moscatelli
Browse files

SOL002_29->SOL002_70: Datatypes updated

parent 597982da
Loading
Loading
Loading
Loading
+241 −4
Original line number Diff line number Diff line
@@ -485,12 +485,27 @@ definitions:
      stopType:
        description: >
          It signals whether forceful or graceful stop is requested.
          Ignored if changeStateTo=STARTED.
          Permitted values:
          FORCEFUL: The VNFM will stop down the VNF or the affected VNFCs immediately after accepting the request.
          The "stopType" and "gracefulStopTimeout" attributes shall be absent, when the "changeStateTo" attribute is
          equal to "STARTED". The "gracefulStopTimeout" attribute shall be present, when the "changeStateTo" is equal to
          "STOPPED" and the "stopType" attribute is equal to "GRACEFUL". The "gracefulStopTimeout" attribute shall be
          absent, when the "changeStateTo" attribute is equal to "STOPPED" and the "stopType" attribute is equal to
          "FORCEFUL". The request shall be treated as if the "stopType" attribute has been set to "FORCEFUL", when the
          "changeStateTo" attribute is equal to "STOPPED" and the "stopType" attribute is absent.
        type: string
        enum:
          - FORCEFUL
          - GRACEFUL
      gracefulStopTimeout:
        description: >
          The time interval (in seconds) to wait for the VNF to be taken out of service during graceful stop,
          before stopping the VNF.
          The "stopType" and "gracefulStopTimeout" attributes shall be absent, when the "changeStateTo" attribute is
          equal to "STARTED". The "gracefulStopTimeout" attribute shall be present, when the "changeStateTo" is equal to
          "STOPPED" and the "stopType" attribute is equal to "GRACEFUL". The "gracefulStopTimeout" attribute shall be
          absent, when the "changeStateTo" attribute is equal to "STOPPED" and the "stopType" attribute is equal to
          "FORCEFUL". The request shall be treated as if the "stopType" attribute has been set to "FORCEFUL", when the
          "changeStateTo" attribute is equal to "STOPPED" and the "stopType" attribute is absent.
        type: integer
      additionalParams:
        description: >
          Additional parameters passed by the NFVO as input to the process,
@@ -521,6 +536,55 @@ definitions:
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  ChangeCurrentVnfPkgRequest:
    description: >
      This type represents request parameters for the "Change current VNF package" operation to replace the VNF package
      on which a VNF instance is based.
    type: object
    required:
      - vnfdId
    properties:
      vnfdId:
        description: >
          Identifier of the VNFD which defines the destination VNF Package for the change.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      extVirtualLinks:
        description: >
          Information about external VLs to connect the VNF to. Entries in the list that are unchanged need not be
          supplied as part of this request.
        type: array
        items:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ExtVirtualLinkData"
      extManagedVirtualLinks:
        description: >
          Information about internal VLs that are managed by other entities than the VNFM.
        type: array
        items:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ExtManagedVirtualLinkData"
      vimConnectionInfo:
        description: >
          Information about VIM connections to be used for managing the resources for the VNF instance, or refer to
          external virtual links. This attribute shall only be supported and may be present if VNF-related resource
          management in direct mode is applicable.
        type: array
        items:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/VimConnectionInfo"
      additionalParams:
        description: >
          Additional parameters passed by the EM as input to the process, specific to the VNF of which the underlying
          VNF package is changed, as declared in the VNFD as part of "ChangeCurrentVnfPkgOpConfig".
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
      extensions:
        descriptions: >
          If present, this attribute provides modifications to the values of the "extensions" attribute in "VnfInstance",
          as defined in clause 5.5.2.2. Provisions for handling extensions during the operation, and needed passed
          parameter values in case of conflicts, are defined in clause 5.4.11a.3.1.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
      vnfConfigurableProperties:
        description: >
          If present, this attribute provides modifications to the values of the VNF configurable properties attribute
          in the "VnfInstance", as defined in clause 5.5.2.2. Provisions for handling VNF configurable properties during
          the operation, and needed passed parameter values in case of conflicts, are defined in clause 5.4.11a.3.1.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  VnfInfoModificationRequest:
    description: >
@@ -577,7 +641,180 @@ definitions:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"

  CreateVnfSnapshotRequest:
    description: >
      This type represents request parameters for the "Create VNF Snapshot" operation.
    type: object
    required:
      - vnfSnapshotResId
    properties:
      vnfSnapshotResId:
        description: >
          Identifier of the individual VNF snapshot resource to which the VNF Snapshot is to be associated.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfcInstanceId:
        description: >
          Identifier of the VNFC instance to be snapshotted. If this attribute is provided, only a snapshot of the
          referred VNFC instance shall be created.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
      additionalParams:
        description: >
          Additional input parameters for the snapshot creation process, specific for the VNF being “snapshotted”,
          as declared in the VNFD as part of "CreateSnapshotVnfOpConfig".
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
      userDefinedData:
        description: >
          User defined data for the VNF snapshot.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  RevertToVnfSnapshotRequest:
    description: >
      This type represents request parameters for the "Revert-to VNF Snapshot" operation.
    type: oject
    properties:
      vnfInstanceId:
        description: >
          Identifier of the VNF instance to be reverted. Only one of the tuples (vnfInstanceId; vnfSnapshotInfoId) or
          (vnfcInstanceId; vnfcSnapshotInfoId) shall be present, indicating whether a VNF instance or a VNFC instance
          shall be reverted.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfSnapshotId:
        description: >
          Identifier of the VNF snapshot to be reverted to.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfcInstanceId:
        description: >
          Identifier of the VNFC instance to be reverted. Only one of the tuples (vnfInstanceId; vnfSnapshotInfoId) or
          (vnfcInstanceId; vnfcSnapshotInfoId) shall be present, indicating whether a VNF instance or a VNFC instance
          shall be reverted.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfcSnapshotId:
        description: >
          Identifier of the VNFC snapshot to be reverted to.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"

  VnfSnapshotRes:
    description: >
      This type represents an individual VNF snapshot resource.
    type: object
    required:
      - id
    properties:
      id:
        description: >
          Identifier of the individual VNF snapshot resource. This identifier is allocated by the VNFM.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfSnapshot:
        description: >
          VNF snapshot information, content and/or references to its content. Shall be present when the individual VNF
          snapshot resource is associated to a VNF snapshot created via the corresponding "Create VNF snapshot" task
          resource or extracted from a VNF snapshot package.
        $ref: '#/definitions/VnfSnapshot'

  VnfSnapshot:
    description: >
      This type represents a VNF snapshot.
    type: object
    required:
      - id
      - vnfInstanceId
      - triggeredAt
      - vnfdId
      - vnfInfo
      - vnfcSnapshots
    properties:
      id:
        description: >
          Identifier of the VNF Snapshot. This identifier is allocated by the VNFM.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfInstanceId:
        description: >
          Identifier of the snapshotted VNF instance.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      triggeredAt:
        description: >
          Timestamp indicating when the VNF snapshot creation has been started.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      createdAt:
        description: >
          Timestamp indicating when the VNF snapshot has been completed. Shall be present once the VNF snapshot creation
          has been completed.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      vnfdId:
        description: >
          Identifier of the VNFD in use at the time the snapshot of the VNF instance has been created.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfInfo:
        description: >
          VnfInfo of the snapshotted VNF instance. This is a copy of the individual VNF instance resource.
        $ref: '#/definitions/VnfInstance'
      vnfcSnapshots:
        description: >
          Information about VNFC snapshots constituting this VNF snapshot.
        type: array
        items:
          $ref: '#/definitions/VnfcSnapshotInfo'
      userDefinedData:
        description: >
          User defined data for the VNF snapshot.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  VnfcSnapshotInfo:
    description: >
      This type represents a VNFC snapshot.
    type: object
    required:
      - id
      - vnfcInstanceId
      - triggeredAt
      - vnfcInfo
    properties:
      id:
        description: >
          Identifier of the information held by the VNFM about a specific VNFC snapshot. This identifier is allocated by
          the VNFM and is unique within the scope of a VNF snapshot.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfcInstanceId:
        description: >
          Identifier of the snapshotted VNFC instance.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
      triggeredAt:
        description: >
          Timestamp indicating when the VNF snapshot creation has been started.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      createdAt:
        description: >
          Timestamp indicating when the VNFC snapshot has been completed. Shall be present once the VNFC snapshot
          creation has been completed.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      vnfcInfo:
        description: >
          Information of the snapshotted VNFC instance. This is a copy of the individual VnfcResourceInfo.
        $ref: "../../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfcInfo"
      computeSnapshotResource:
        description: >
          Reference to a compute snapshot resource. The identifiers of the compute and storage snapshot resources are
          assigned during creation of a VNFC snapshot being returned from the VIM as output data in the response message
          of the individual resource operations.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ResourceHandle"
      storageSnapshotResources:
        description: >
          Reference to a storage snapshot resource. The identifiers of the compute and storage snapshot resources are
          assigned during creation of a VNFC snapshot being returned from the VIM as output data in the response message
          of the individual resource operations.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ResourceHandle"
      userDefinedData:
        description: >
          User defined data for the VNF snapshot.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  StopType:
    description: >
      The enumeration StopType.
      * FORCEFUL: The VNFM will stop the VNF instance or VNFC instance(s) immediately after accepting the request.
      * GRACEFUL: The VNFM will first arrange to take the VNF instance or VNFC instance(s) out of service after accepting
                  the request. Once that operation is successful or once the timer value specified in the "gracefulStopTimeout"
                  attribute expires, the VNFM will stop the VNF instance or VNFC instance(s).
    type: string
    enum:
      - FORCEFUL
      - GRACEFUL
 No newline at end of file
+264 −22

File changed.

Preview size limit exceeded, changes collapsed.

+37 −2
Original line number Diff line number Diff line
@@ -313,7 +313,8 @@ definitions:
    properties:
      cpdId:
        description: >
          The identifier of the CPD in the VNFD.
          The identifier of the CPD in the VNFD. In case this identifier refers to a CPD with trunking enabled,
          the external CP instances created from this CPD will represent ports in a trunk.
        $ref: "#/definitions/IdentifierInVnfd"
      cpConfig:
        description: >
@@ -332,7 +333,19 @@ definitions:
      shall create a link port on the external VL, and use that link port to
      connect the external CP to the external VL.
    type: object
    required:
      - id
    properties:
      id:
        description: >
          Identifier of the VnfExtCpConfig entry. Managed by the API consumer.
        $ref: "#/definitions/IdentifierInVnf"
      parentCpConfigId:
        description: >
          Reference to the "VnfExtCpConfig" entry that corresponds to the parent port of the trunk. Only present in
          "VnfExtCpConfig" structures that provide configuration information for a CP which represents a sub-port in
          a trunk, and if parent ports are supported.
        $ref: "#/definitions/IdentifierInVnf"
      cpInstanceId:
        description: >
          Identifier of the external CP instance to which this set of
@@ -423,6 +436,16 @@ definitions:
          the VIM.
          At least one of "macAddress" or "ipAddresses" shall be present.
        $ref: "#/definitions/MacAddress"
      segmentationId:
        description: >
          Identification of the network segment to which the Cp instance connects to. If the Cp instance represents a
          subport in a trunk, segmentationId shall be present. Otherwise it shall not be present.
          Depending on the NFVI networking infrastructure, the segmentationId may indicate the actual network segment
          value (e.g. vlan Id, Vxlan segmentation id, etc.) used in the transport header of the packets or it may be an
          identifier used between the application and the NFVI networking infrastructure to identify the network
          sub-interface of the trunk port in question. In the latter case the NFVI infrastructure will map this local
          segmentationId to whatever segmentationId is actually used by the NFVI’s transport technology.
        type: string
      ipAddresses:
        description: >
          List of IP addresses to assign to the CP instance. Each entry
@@ -707,6 +730,9 @@ definitions:
      OPERATE | Represents the "Operate VNF" LCM operation.
      CHANGE_EXT_CONN | Represents the "Change external VNF connectivity" LCM operation.
      MODIFY_INFO | Represents the "Modify VNF Information" LCM operation.
      CREATE_SNAPSHOT | Represents the "Create VNF Snapshot" LCM operation.
      REVERT_TO_SNAPSHOT | Represents the “Revert-To VNF Snapshot" LCM operation.
      CHANGE_VNFPKG | Represents the "Change current VNF package" LCM operation.
    type: string
    enum:
      - INSTANTIATE
@@ -718,6 +744,9 @@ definitions:
      - OPERATE
      - CHANGE_EXT_CONN
      - MODIFY_INFO
      - CREATE_SNAPSHOT
      - REVERT_TO_SNAPSHOT
      - CHANGE_VNFPKG

  ProblemDetails:
    #SOL003 location: 4.3.5.3
@@ -879,6 +908,12 @@ definitions:
        description: >
          Identifier of the related VDU in the VNFD.
        $ref: "#/definitions/IdentifierInVnfd"
      vnfdId:
        description: >
          Identifier of the VNFD.
          Shall be present in case of a "change current VNF Package" to identify whether the affected VNFC instance is
          associated to a VDU which is referred from the source or destination VNFD.
        $ref: "#/definitions/Identifier"
      changeType:
        description: >
          Signals the type of change. Permitted values: