Commit 11100b07 authored by Sana Zulfiqar's avatar Sana Zulfiqar
Browse files

Added changes for SOL002 v337

parent 58289191
Loading
Loading
Loading
Loading
+7 −2
Original line number Original line Diff line number Diff line
@@ -174,8 +174,8 @@ components:
  responses:
  responses:
    Coordination.Post:
    Coordination.Post:
      description: |
      description: |
        Shall be returned when the API producer has chosen the synchronous mode,
        Shall be returned returned to indicate a finished coordination action when the API producer has
        which may be chosen for coordination actions that finish within the time
        chosen the synchronous mode, which may be selected for coordination actions that finish within the time
        frame in which an HTTP response is expected.
        frame in which an HTTP response is expected.
        The response body shall contain an LcmCoord data structure that represents
        The response body shall contain an LcmCoord data structure that represents
        the result of the coordination action.
        the result of the coordination action.
@@ -226,6 +226,11 @@ components:
        The HTTP response shall include a "Location" HTTP header that indicates the URI of
        The HTTP response shall include a "Location" HTTP header that indicates the URI of
        the "Individual coordination action" resource that will be created once the
        the "Individual coordination action" resource that will be created once the
        coordination operation has finished successfully.
        coordination operation has finished successfully.
        Further, the HTTP response may include a "Retry-After" HTTP header that indicates the
        time to wait before sending the next GET request to the "individual coordination" resource
        indicated in the "Location" header. If the header is provided, the VNFM shall record the signalled
        delay value in the "delay" attribute of the applicable entry in the "lcmCoordinations" array in the
        "VnfLcmOpOcc" structure.
      headers:
      headers:
        Version:
        Version:
          description: |
          description: |
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@ info:
  license:
  license:
    name: ETSI Forge copyright notice
    name: ETSI Forge copyright notice
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
  version: 2.0.0-impl:etsi.org:ETSI_NFV_OpenAPI:1
  version: 2.1.0-impl:etsi.org:ETSI_NFV_OpenAPI:1


externalDocs:
externalDocs:
  description: ETSI GS NFV-SOL 002 V3.5.1
  description: ETSI GS NFV-SOL 002 V3.5.1
+46 −4
Original line number Original line Diff line number Diff line
@@ -1442,6 +1442,8 @@ definitions:
                "Individual coordination action" resource within a timeout interval after requesting the coordination
                "Individual coordination action" resource within a timeout interval after requesting the coordination
                to be started or to be cancelled. The length of the timeout interval is defined by means outside
                to be started or to be cancelled. The length of the timeout interval is defined by means outside
                the scope of the present document.
                the scope of the present document.
      * NOTE 5: The list of rejected coordinations may be garbage collected if the LCM operation occurrence has
                reached a terminal state, i.e. one of "COMPLETED", "FAILED" and "ROLLED_BACK".
    type: object
    type: object
    oneOf:
    oneOf:
      - required:
      - required:
@@ -1629,13 +1631,14 @@ definitions:
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/LcmCoordResultType"
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/LcmCoordResultType"
          startTime:
          startTime:
            description: >
            description: >
              The time when the coordination action has been started.
              The time when the VNFM has received the confirmation that the coordination action has been started.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
          endTime:
          endTime:
            description: >
            description: >
              The end time of the coordination action. Shall be present for a coordination
              The end time when the VNFM has received the confirmation thatof the coordination action
              action that has finished or timed out (see note 4) and shall be absent if
              has finished or has been cancelled, or the time when a coordination action has timed out.
              the coordination is ongoing.
              Shall be present for a coordination action that has finished or timed out (see note 4) and
              shall be absent if the coordination is ongoing.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
          endpointType:
          endpointType:
            description: >
            description: >
@@ -1647,6 +1650,45 @@ definitions:
            enum:
            enum:
              - MGMT
              - MGMT
              - VNF
              - VNF
          delay:
            description: >
              The end of the delay period.
              This attribute shall be present if the last known HTTP response related to this coordination
              has contained a "Retry-After" header, and shall be absent otherwise.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      rejectedLcmCoordinations:
        description: >
          Information about LCM coordination actions (see clause 10) that were rejected by 503 error which
          means they will be tried again after a delay. See note 5.
        type: object
        required:
          - coordinationActionName
          - rejectionTime
          - endpointType
          - delay
        properties:
          coordinationActionName:
            description: >
              Indicator of the actual coordination action.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
          rejectionTime:
            description: >
              The time when the VNFM has received the 503 response that rejects the actual coordination.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
          endpointType:
            description: >
              The endpoint type used by this coordination action.
              Valid values:
              - MGMT: coordination with other operation supporting management systems (e.g. EM)
              - VNF: coordination with the VNF instance
            type: string
            enum:
              - MGMT
              - VNF
          delay:
            description: >
              The end of the delay period, as calculated from the startTime and "Retry-After" header.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      warnings:
      warnings:
        description: >
        description: >
          Warning messages that were generated while the operation was executing.
          Warning messages that were generated while the operation was executing.
+3 −1
Original line number Original line Diff line number Diff line
@@ -565,7 +565,9 @@ definitions:
        $ref: "#/definitions/IdentifierInVim"
        $ref: "#/definitions/IdentifierInVim"
      extCps:
      extCps:
        description: >
        description: >
          External CPs of the VNF to be connected to this external VL.
          External CPs of the VNF to be connected to this external VL. Entries in the list of external
          CP data that are unchanged need not be supplied if the ExtVirtualLinkData structure is part
          of a request or response that modifies the external connectivity.
        type: array
        type: array
        items:
        items:
          $ref: "#/definitions/VnfExtCpData"
          $ref: "#/definitions/VnfExtCpData"