Commit 33d512ed authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

add and update common data types

parent 4513bf99
Loading
Loading
Loading
Loading
Loading
+58 −6
Original line number Diff line number Diff line
@@ -88,6 +88,15 @@ definitions:
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  ExtManagedVirtualLinkData:
    description: >
      This type represents an externally-managed internal VL.

      * NOTE 1: It is only applicable if the externally-managed VL is realized by a secondary container cluster network. It shall
                not be present otherwise.
      * NOTE 2: A link port is not needed for a VNFC internal connection point connected to a secondary container cluster
                network.
      * NOTE 3: An example of the network attachment definition resource when the container infrastructure service
                management is a Kubernetes® instance is a network attachment definition (NAD).
    type: object
    required:
      - id
@@ -122,11 +131,27 @@ definitions:
          The identifier of the resource in the scope of the VIM or the
          resource provider.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVim"
      netAttDefResourceData:
        description: >
          Externally provided network attachment definition
          resource(s) that provide the specification of the interface
          to attach VNFC connection points to this externallymanaged VL.
          See notes 1 and 3.
        type: array
        items:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/NetAttDefResourceData"
      intCp:
        description: >
          Internal CPs of the VNF to be connected to this
          externally-managed VL. See note 1.
        type: array
        items:
          $ref: "#/definitions/IntVnfCpData"
      vnfLinkPort:
        description: >
          Externally provided link ports to be used to connect VNFC connection points to this externally-managed VL
          on this network resource. If this attribute is not present, the VNFM shall create the link ports on the
          externally-managed VL.
          externally-managed VL. See note 2.
        type: array
        items:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/VnfLinkPortData"
@@ -838,14 +863,14 @@ definitions:
              See clause B.2 for an explanation of VNF scaling.
            type: array
            items:
              $ref: "../../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/ScaleInfo"
              $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ScaleInfo"
          maxScaleLevels:
            description: >
              Maximum allowed scale levels of the VNF, one entry per aspect.
              This attribute shall be present if the VNF supports scaling.
            type: array
            items:
              $ref: "../../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/ScaleInfo"
              $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ScaleInfo"
          extCpInfo:
            description: >
              Information about the external CPs exposed by the VNF instance. When trunking is enabled,
@@ -2383,3 +2408,30 @@ definitions:
          The content of this attribute shall be a copy of the content of the
          "metadata" attribute of the VirtualStorageResourceInfo structure.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  IntVnfCpData:
    description: >
      This type represents input information related to one or more VNF internal CP instances
      created based on the same CPD.

      NOTE: Cardinality greater than 1 is only applicable for specific cases where more than one network attachment
            definition resource is needed to fulfil the connectivity requirements of the VNF internal CP, e.g. to build a link
            redundant mated pair in SR-IOV cases. When more than one netAttDefResourceId is indicated, all shall
            belong to the same namespace as defined by the corresponding "netAttDefResourceNamespace" attribute
            in the "NetAttDefResourceData".
    type: object
    required:
    - cpdId
    - netAttDefResourceId
    properties:
      cpdId:
        description: >
          Identifier of the CPD in the VNFD.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      netAttDefResourceId:
        description: >
          Identifiers of the “NetAttDefResourceData” structure that
          provides the specification of the interface to attach the VNF
          internal CP created from the CPD identified by cpdId to a
          secondary container cluster network. See note.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
 No newline at end of file
+5 −27
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ definitions:
          See note.
        type: array
        items:
          $ref: "#/definitions/ScaleInfo"
          $ref: "SOL002SOL003_def.yaml#/definitions/ScaleInfo"
      additionalParams:
        description: >
          Additional parameters passed by the NFVO as input to the scaling
@@ -300,28 +300,6 @@ definitions:
        items:
          $ref: "SOL002SOL003_def.yaml#/definitions/VnfExtCpData"

  ScaleInfo:
    required:
      - aspectId
      - scaleLevel
    type: object
    properties:
      aspectId:
        description: >
          Identifier of the scaling aspect.
        $ref: "SOL002SOL003_def.yaml#/definitions/IdentifierInVnfd"
      vnfdId:
        description: >
          Identifier of the VNFD.
          Shall be present in case the value differs from the vnfdId attribute of the VnfInstance (e.g. during a "Change
          current VNF package" operation or due to its final failure).
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
      scaleLevel:
        description: >
          Indicates the scale level. The minimum value shall be 0 and the
          maximum value shall be <= maxScaleLevel as described in the VNFD.
        type: integer

  VnfLinkPortInfo:
    description: >
      This type represents a link port of an internal VL of a VNF. It shall comply with the provisions 
+307 −95

File changed.

Preview size limit exceeded, changes collapsed.