Commit 9d20fe38 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix minor issues in SOL003 VNF LCM API

parent 0cbb0455
Loading
Loading
Loading
Loading
+26 −6
Original line number Diff line number Diff line
@@ -1200,6 +1200,9 @@ paths:
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/503"

  ###############################################################################
  # VNF state snapshot                                                          #
  ###############################################################################
  /vnf_snapshots/{vnfSnapshotInfoId}/vnf_state_snapshot:
  #SOL003 location: 5.4.25.2
    parameters:
@@ -1244,9 +1247,13 @@ paths:
        504:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/504"

  ###############################################################################
  # Select VNF deployable modules task                                          #
  ###############################################################################
  /vnf_snapshots/{vnfSnapshotInfoId}/select_depl_mods:
  #SOL003 location: 5.4.26.2
    parameters: 
      - $ref: '#/components/parameters/VnfInstanceId_1'
      - $ref: ../../components/SOL003_params.yaml#/components/parameters/Accept
      - $ref: ../../components/SOL003_params.yaml#/components/parameters/Authorization
      - $ref: ../../components/SOL003_params.yaml#/components/parameters/Version
@@ -1254,16 +1261,15 @@ paths:
      description: |
        The POST method requests to select deployable modules of a VNF instance and therefore to instantiate or terminate 
        VNFC instances according to the selected deployable modules.
        The steps and conditions that apply as the result of successfully executing this method are specified in clause 5.4.1.2.
      requestBody:
        $ref: '#/components/requestBodies/SelectVnfDeployableModulesRequest'
      responses:
        202:
          $ref: '#/components/responses/selectdeployablemodules.Post.202'
          $ref: '#/components/responses/Selectdeployablemodules.Post.202'
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/404"
        409:
          $ref: '#/components/responses/IndividualVnfInstance.Delete.409'
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/409"
        400:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/400"
        401:
@@ -1442,6 +1448,21 @@ components:
      schema:
        type: string

    VnfInstanceId_1:
      name: vnfInstanceId
      in: path
      description: |
        Identifier of the "Individual VNF snapshot" resource. See note.

        NOTE: This identifier can be retrieved from the resource referenced by the "Location" HTTP header
        in the response to a POST request creating a new "Individual VNF instance" resource. It can
        also be retrieved from the "id" attribute in the message content of that response.        
      required: true
      style: simple
      explode: false
      schema:
        type: string

    Range:
      name: Range
      in: header
@@ -1576,8 +1597,7 @@ components:

    SelectVnfDeployableModulesRequest:
      description: |
        This type represents request parameters for the "Select VNF deployable modules" operation. It shall comply with the 
        provisions defined in table 5.5.2.27-1.
        This type represents request parameters for the "Select VNF deployable modules" operation.
      content:
        application/json:
          schema:
@@ -2086,7 +2106,7 @@ components:
          schema:
            type: string

    selectdeployablemodules.Post.202:
    Selectdeployablemodules.Post.202:
      description: |
        202 ACCEPTED

+11 −22
Original line number Diff line number Diff line
@@ -787,9 +787,7 @@ definitions:

  SelectVnfDeployableModulesRequest:
    description: >
      This type represents request parameters for the "Select VNF deployable
      modules" operation. It shall comply with the provisions defined in table
      5.5.2.27-1.
      This type represents request parameters for the "Select VNF deployable modules" operation.

      NOTE: Thus, the select VNF deployable modules operation cannot be used as a scale VNF operation to scale VNFCs that were already instantiated. 
    type: object
@@ -2746,8 +2744,8 @@ definitions:

  CertificateConfigurationData:
    description: >
      This type provides input information related to certificate management. It shall comply with the provisions defined in 
      table 5.5.3.29-1.
      This type provides input information related to certificate management.

      ETSI GS NFV-SOL 009 [i.18] specifies the means to discover the applicable certificate management mode of VNFM 
      and configure into the NFVO applicable certificate management mode via the "NFV-MANO Configuration and 
      Information Management" interface
@@ -2776,8 +2774,7 @@ definitions:
  
  SecurityPolicy:
    description: >
      This type provides input information related to security policy for certificate management. It shall comply with the 
      provisions defined in table 5.5.3.30-1
      This type provides input information related to security policy for certificate management.
    type: object
    required:
      - id
@@ -2800,8 +2797,7 @@ definitions:
      NOTE: At least one overriding attributes shall be present, otherwise shall be absent.
      
      This type provides input information to override certificate base profile
      for certificate management. It shall comply with the provisions defined
      in table 5.5.3.31-1.
      for certificate management.
    type: object
    required:
      - id
@@ -2848,7 +2844,7 @@ definitions:
  CmfData:
    description: >
      This type provides input information related to CMF for certificate
      management. It shall comply with the provisions defined in table 5.5.3.32-1.
      management.
    type: object
    required:
      - endPoint
@@ -2872,8 +2868,7 @@ definitions:
  CertSubjectData:
    description: >
      This type provides input information related to the subject of the
      certificate. It shall comply with the provisions defined in table
      5.5.3.33-1.
      certificate.
    type: object
    properties:
      commonName:
@@ -2900,8 +2895,7 @@ definitions:

  CmfInfo:
    description: >
      This type provides input information related to CMF for certificate
      management. It shall comply with the provisions defined in table 5.5.3.34-1.
      This type provides input information related to CMF for certificate management.
    type: object
    required:
      - id
@@ -2933,9 +2927,7 @@ definitions:

  AffectedCertificate:
    description: >
      This type provides input information about added, deleted, and modified
      certificate contents. It shall comply with the provisions defined in
      table 5.5.3.35-1.
      This type provides input information about added, deleted, and modified certificate contents.
    type: object
    required:
      - certificateInfoId
@@ -2967,7 +2959,7 @@ definitions:
      information. Some information comes from the VNFD, other information comes
      from the PaaS Service assets provided by the NFVO to the VNFM, and other
      information is provided at runtime information about the usage of the PaaS
      Service. It shall comply with the provisions defined in table 5.5.3.36-1.
      Service.
    type: object
    required:
      - id
@@ -3000,8 +2992,7 @@ definitions:

  CertificateInfo:
    description: >
      This type provides input information related to certificate and certificate
      management. It shall comply with the provisions defined in table 5.5.3.37-1.
      This type provides input information related to certificate and certificate management.
    type: object
    required:
      - id
@@ -3026,7 +3017,6 @@ definitions:
  CertificateConfigurationInfo:
    description: >
      This type provides input information related to certificate management.
      It shall comply with the provisions defined in table 5.5.3.38-1.
    type: object
    properties:
      certificateBaseProfile:
@@ -3051,7 +3041,6 @@ definitions:
      NOTE: The CertificateDesc data type is defined in clause 7.1.19.2 of ETSI GS NFV IFA 011 [10].

            This type provides input information related to certificate content.
            It shall comply with the provisions defined in table 5.5.3.39-1.
    type: object
    required:
      - id