Commit 82760300 authored by Muhammad Umair Zafar's avatar Muhammad Umair Zafar
Browse files

fix minor issues in SOL002 VNF LCM API

parent cc56b3f4
Loading
Loading
Loading
Loading
Loading
+58 −54
Original line number Diff line number Diff line
@@ -144,19 +144,21 @@ definitions:
          Identifier of this CMF information.
        $ref: "#/definitions/Identifier"
      endPoint:
        description: >
          End point of CMF instance.
        type: object
        properties:
          ipAddress:
            $ref: '#/definitions/IpAddress'
            description: >
              An IP address of this end point.
            $ref: '#/definitions/IpAddress'
          link:
            $ref: '#/definitions/Link'
            description: >
              A link to this end point.
        description: >
          End point of CMF instance.
            $ref: '#/definitions/Link'
      supportedProtocols:
        description: >
          Supported protocol by CMF instance.
        type: array
        items:
          type: string
@@ -165,8 +167,6 @@ definitions:
            - CMPv2
            - EST
            - SCEP
        description: >
          Supported protocol by CMF instance.
      certificateChain:
        description: >
          Certificate chain that this CMF provides.
@@ -722,7 +722,7 @@ definitions:
      * NOTE 1: The information about the VIM connection referenced by the VIM connection id is known to the VNFM. 
                Moreover, the identifier of the VIM connection provides scope to the resourceId.

      * NOTE 2:	A link port is not needed for an external CP instance that exposes a VIP CP in the following cases:
      * NOTE 2:	A link port is not needed for an external CP instance that exposes a CP in the following cases:
                1)  For a VIP CP directly exposed as an external CP:
                    1.1)  No dedicated IP address is allocated as VIP address, as indicated in the VNFD.
                    1.2)  A dedicated IP address is allocated as VIP address, but the NFVO indicates that no port is needed
@@ -814,13 +814,13 @@ definitions:
          attribute of the VnfInstance (e.g. during a "Change
          current VNF package" operation or due to its final
          failure).
        $ref: "#/definitions/IdentifierInVnfd"
      scaleToLevel:
        $ref: "#/definitions/Identifier"
      scaleLevel:
        description: >
          Indicates the scale level. The minimum value shall be 0
          and the maximum value shall be  maxScaleLevel as
          and the maximum value shall be <= maxScaleLevel as
          described in the VNFD.
        $ref: "#/definitions/Identifier"
        type: integer
  
  AdditionalResourceInfo:
    description: >
@@ -963,13 +963,13 @@ definitions:
        $ref: "#/definitions/IdentifierInVnfd"
      certificateType:
        type: string
        description: Type of this certificate.
        enum:
          - VNFCI_CERT
          - VNFOAM_CERT
        description: Type of this certificate.
      supportedCertificateManagements:
        $ref: "#/definitions/KeyValuePairs"
        description: Describes supported certificate management information.
        $ref: "#/definitions/KeyValuePairs"
      version:
        type: string
        description: Version of this certificate.
@@ -979,7 +979,7 @@ definitions:
        description: Serial number of this certificate.
      signatureAlgorithm:
        type: string
        description: Algorithm of this certificates signature.
        description: Algorithm of this certificate's signature.
      issuer:
        type: string
        description: Issuer of this certificate.
@@ -994,7 +994,7 @@ definitions:
        description: Subject of this certificate.
      publicKeyAlgorithm:
        type: string
        description: Algorithm of this certificates public key.
        description: Algorithm of this certificate's public key.
      publicKey:
        type: string
        description: Public key of this certificate.
@@ -1075,13 +1075,14 @@ definitions:
          Identifier of this issuer of certificates. See note.
        $ref: "#/definitions/Identifier"
      subject:
          $ref: '#/definitions/CertSubjectData'
        description: >
          Subject of certificates. See note.
        $ref: '#/definitions/CertSubjectData'
      subjectUniqueIdentifier:
        type: string
        description: >
          Identifier of this subject of certificates. See note.
        $ref: "#/definitions/Identifier"
      basicConstraints:
        type: string
        description: >
@@ -1099,6 +1100,8 @@ definitions:
        description: >
          Alternative name of subject of certificates. See note.
      nameConstraints:
        type: array
        items:
          type: string
        description: >
          Name constraints of certificates. See note.
@@ -1332,6 +1335,7 @@ definitions:
      - CREATE_SNAPSHOT
      - REVERT_TO_SNAPSHOT
      - CHANGE_VNFPKG
      - SELECT_DEPL_MODS

  ProblemDetails:
    #SOL003 location: 4.3.5.3
+12 −7
Original line number Diff line number Diff line
@@ -420,6 +420,8 @@ definitions:
          deployable modules listed in this attribute will be instantiated if not already instantiated. VNFCs based on 
          VDUs that belong to deployable modules not listed in this attribute and that were already instantiated will be 
          terminated.
        type: array
        items:
          $ref: "../../General_Definitions/SOL002_def.yaml#/definitions/IdentifierInVnfd"
      targetScaleLevelInfo:
        description: >
@@ -625,7 +627,6 @@ definitions:
          to deployable modules listed in this attribute are requested to be instantiated.
        type: array
        items:
          type: string
          $ref: "../../General_Definitions/SOL002_def.yaml#/definitions/IdentifierInVnfd"
      certificateConfigurationData:
        description: >
@@ -848,6 +849,8 @@ definitions:
          If this attribute is not present the deployable modules that were selected before the operation,
          and that still are defined in the VNFD in the destination package, or the corresponding ones
          according to the component mappings, remain valid. See note 2.
        type: array
        items:
          $ref: "../../General_Definitions/SOL002_def.yaml#/definitions/IdentifierInVnfd"
      certificateConfigurationData:
        description: >
@@ -1786,7 +1789,7 @@ definitions:
          * HEAL: HealVnfRequest
          * CHANGE_EXT_CONN: ChangeExtVnfConnectivityRequest
          * TERMINATE: TerminateVnfRequest
          * MODIFY_INFO: VnfInfoModifications
          * MODIFY_INFO: VnfInfoModificationRequest
          * CREATE_SNAPSHOT: CreateVnfSnapshotRequest
          * REVERT_TO_SNAPSHOT: RevertToVnfSnapshotRequest
          * CHANGE_VNFPKG: ChangeCurrentVnfPkgRequest
@@ -2819,7 +2822,7 @@ definitions:
          $ref: "../../General_Definitions/SOL002_def.yaml#/definitions/Identifier"
      certificateContentId:
        description: >
          Identifier of the "CertificateContent" structure that provides the information of the certificate that this VNFC
          Identifier of the "CertificateContent" structure that provides the information of the certificate that this VNF
          CP instance uses. Shall be present when using in delegation-mode. Otherwise shall not be present.
          This attribute shall be supported when delegation mode in certificate management is applicable.
        type: string
@@ -2843,6 +2846,8 @@ definitions:
        description: >
          Information for contents of issued certificates. The information contained in this attribute may be
          updated over time during the VNF LCM, e.g. certificate(s) renewal.
        type: array
        items:
          $ref: "../../General_Definitions/SOL002_def.yaml#/definitions/CertificateContent"

  VnfOperationalStateType:
@@ -3316,9 +3321,9 @@ definitions:
          The type of PaaS Service. The value of this attribute is expected to be matched against
          values of the registered PaaS Services in the PSR.
      paasServiceVersion:
        $ref: "../../General_Definitions/SOL002_def.yaml#/definitions/Version"
        description: >
          Version of the PaaS Service. It shall be present if the PaaS Service is versioned.
        $ref: "../../General_Definitions/SOL002_def.yaml#/definitions/Version"
      paasServiceRequestId:
        type: string
        description: >