Commit 72859a77 authored by Gergely Csatari's avatar Gergely Csatari
Browse files

Different bugfixes to the SOL003 and SOL002 definitions



  - "LccnSubscription.filter.notificationTypes": type should be array
  - LifecycleChangeNotificationsFilter should be referred in all occurences
    from the same shource
  - "VnfInfoModificationRequest.vimConnectionInfo": type should be array
  - "LccnSubscription._links.self": type should be 'Link'
  - VimConnectionInfo should be an array in Grant
  - Remove ERROR state
  - Indentaion of type is wrong in ExtVirtualLinkInfo.extLinkPorts
  - Fix of Bug 48 - SOL003 - LCM : Error in Instantiate Response
  - Fix of Bug 49 - SOL003 - LCM : missing location in Instantiate Response
  - Fix of Bug 55 - SOL003,VnfPackageChangeNotification Request: not expected value in range
  - Fix of Bug 58 - The OpenAPI file assume that other methods than POST are supported on the
                    /vnf_instances/{vnfInstanceId}/instantiate ressource. This is not
                    consistent with the base GS.
  - Fix of Bug 60 - SOL003 OpenAPIs Should Not Be Marked As "Draft"

Change-Id: I9a77ca8a4a9da340a3e4bfd409d32c8ae903c1f4
Signed-off-by: default avatarGergely Csatari <gergely.csatari@nokia.com>
parent 695435e0
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -2,14 +2,15 @@ swagger: "2.0"

info: 
  version: "1.1.1"
  title: DRAFT - SOL002 - VNF Configuration interface
  title: SOL002 - VNF Configuration interface
  description: >
    DRAFT VNF Configuration interface of ETSI NFV SOL002
    VNF Configuration interface of ETSI NFV SOL002


    IMPORTANT: Please note that this file might be not aligned to the current
    version of the ETSI Group Specification it refers to and has not been
    approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
    Group Specification takes precedence.
    version of the ETSI Group Specification it refers to. In case of
    discrepancies the published ETSI Group Specification takes precedence.


    Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis&list_id=61&product=NFV&resolution=---
  license:
+6 −5
Original line number Diff line number Diff line
@@ -2,14 +2,15 @@ swagger: "2.0"

info: 
  version: "1.1.1"
  title: DRAFT - SOL002 - VNF Configuration interface
  title: SOL002 - VNF Configuration interface
  description: >
    DRAFT VNF Configuration interface of ETSI NFV SOL002
    VNF Configuration interface of ETSI NFV SOL002


    IMPORTANT: Please note that this file might be not aligned to the current
    version of the ETSI Group Specification it refers to and has not been
    approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
    Group Specification takes precedence.
    version of the ETSI Group Specification it refers to. In case of
    discrepancies the published ETSI Group Specification takes precedence.


    Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis&list_id=61&product=NFV&resolution=---
  
+7 −6
Original line number Diff line number Diff line
@@ -3,17 +3,18 @@ swagger: "2.0"

info: 
  version: "1.1.1"
  title: "DRAFT - SOL002 - VNF Indicator interface"
  title: "SOL002 - VNF Indicator interface"
  description: >
    DRAFT VNF Indicator interface of ETSI NFV SOL002.
    VNF Indicator interface of ETSI NFV SOL002.
    
    This API allows the EM/VNF to provide information on value changes of VNF related indicators. 
    VNF related indicators are declared in the VNFD.


    IMPORTANT: Please note that this file might be not aligned to the current
    version of the ETSI Group Specification it refers to and has not been
    approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
    Group Specification takes precedence.
    version of the ETSI Group Specification it refers to. In case of
    discrepancies the published ETSI Group Specification takes precedence.


    Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis
  
+6 −5
Original line number Diff line number Diff line
@@ -2,14 +2,15 @@ swagger: "2.0"

info: 
  version: "1.1.1"
  title: "DRAFT - SOL002 - VNF Indicator Notification Endpoint interface"
  title: "SOL002 - VNF Indicator Notification Endpoint interface"
  description: >
    DRAFT VNF Indicator Notification Endpoint interface of ETSI NFV SOL002
    VNF Indicator Notification Endpoint interface of ETSI NFV SOL002


    IMPORTANT: Please note that this file might be not aligned to the current
    version of the ETSI Group Specification it refers to and has not been
    approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
    Group Specification takes precedence.
    version of the ETSI Group Specification it refers to. In case of
    discrepancies the published ETSI Group Specification takes precedence.


    Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis&list_id=61&product=NFV&resolution=---
  
+6 −164
Original line number Diff line number Diff line
@@ -2,14 +2,15 @@ swagger: "2.0"

info: 
  version: "1.1.1"
  title: "DRAFT - SOL002 - VNF Configuration interface"
  title: "SOL002 - VNF Configuration interface"
  description: >
    DRAFT VNF Configuration interface of ETSI NFV SOL002
    VNF Configuration interface of ETSI NFV SOL002


    IMPORTANT: Please note that this file might be not aligned to the current
    version of the ETSI Group Specification it refers to and has not been
    approved by the ETSI NFV ISG. In case of discrepancies the published ETSI
    Group Specification takes precedence.
    version of the ETSI Group Specification it refers to. In case of
    discrepancies the published ETSI Group Specification takes precedence.


    Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis&list_id=61&product=NFV&resolution=---
  license:
@@ -396,165 +397,6 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
    get:
      description: >
        Information about an individual VNF instance was queried successfully.
      parameters:
        - name: vnfInstanceId
          description: >
            Identifier of the VNF instance. This identifier can be retrieved from
            the resource referenced by the "Location" HTTP header in the response
            to a POST request creating a new VNF instance resource. It can also
            be retrieved from the "id" attribute in the payload body of that
            response.
          in: path
          type: string
          required: true
      responses:
        200:
          description: > 
            OK

            Information about zero or more VNF instances was queried
            successfully. The response body shall contain
            representations of zero or more VNF instances.
          headers:
            Content-Type:
              description: The MIME type of the body of the response.
              type: string
              maximum: 1
              minimum: 1
            WWW-Authenticate:
              description: >
                Challenge if the corresponding HTTP request has not provided
                authorization, or error details if the corresponding HTTP
                request has provided an invalid authorization token.
              type: string
              maximum: 1
              minimum: 0
          schema:
            $ref: "definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfInstance"
        400:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
        401:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
        403:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        409:
          $ref: "responses/VNFLifecycleManagement_resp.yaml#/responses/409-inconsistent-state"
        416:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/416"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
    patch:
      #SOL003 location: 5.4.3.3.4
      description: >
        This method modifies an individual VNF instance resource. Changes to
        the VNF configurable properties are applied to the configuration in
        the VNF instance, and are reflected in the representation of this
        resource. Other changes are applied to the VNF instance information
        managed by the VNFM, and are reflected in the representation of this
        resource
      parameters:
        - name: vnfInfoModifications
          description: Input parameters for VNF info modification
          required: true
          in: body
          schema:
            $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfInfoModifications"
        - name: vnfInstanceId
          description: >
            Identifier of the VNF instance. This identifier can be retrieved from
            the resource referenced by the "Location" HTTP header in the response
            to a POST request creating a new VNF instance resource. It can also
            be retrieved from the "id" attribute in the payload body of that
            response.
          in: path
          type: string
          required: true
      responses:
        202:
          $ref: "responses/VNFLifecycleManagement_resp.yaml#/responses/202-with-Location"
        400:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400-attr-selector"
        401:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
        403:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        409:
          $ref: "responses/VNFLifecycleManagement_resp.yaml#/responses/409-inconsistent-state"
        412:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/412"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
    delete:
      #SOL003 location: 5.4.3.3.5
      description: >
        This method deletes an individual VNF instance resource.
      parameters: 
        - name: vnfInstanceId
          description: >
            Identifier of the VNF instance. This identifier can be retrieved from
            the resource referenced by the "Location" HTTP header in the response
            to a POST request creating a new VNF instance resource. It can also
            be retrieved from the "id" attribute in the payload body of that
            response.
          in: path
          type: string
          required: true
      responses:
        204:
          description: > 
            No Content

            The VNF instance resource and the associated VNF identifier were
            deleted successfully.
            The response body shall be empty.
          headers:
            WWW-Authenticate:
              description: >
                Challenge if the corresponding HTTP request has not provided
                authorization, or error details if the corresponding HTTP
                request has provided an invalid authorization token.
              type: string
              maximum: 1
              minimum: 0
        400:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400-attr-selector"
        401:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
        403:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        409:
          $ref: "responses/VNFLifecycleManagement_resp.yaml#/responses/409-inconsistent-state"
        412:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/412"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
###############################################################################
# Scale VNF task                                                              #
###############################################################################
Loading