Commit c1d4fbc2 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fix bug#76

parent 7f7f0fa9
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -1983,6 +1983,15 @@ paths:
        in: header
        in: header
        required: false
        required: false
        type: string
        type: string
      - name: cancelMode
        description: >
          The POST request to this resource shall include a CancelMode
          structure in the payload body to choose between "graceful" and
          "forceful" cancellation.
        in: body
        required: true
        schema:
          $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/CancelMode"
    post:
    post:
      description: >
      description: >
        The POST method initiates cancelling an ongoing VNF lifecycle
        The POST method initiates cancelling an ongoing VNF lifecycle
+2 −1
Original line number Original line Diff line number Diff line
@@ -50,7 +50,7 @@ definitions:
        description: >
        description: >
          Identifies the version of the VNFD. The value is copied from the VNFD.
          Identifies the version of the VNFD. The value is copied from the VNFD.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Version"
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Version"
      vnfPkgInfoId:
      vnfPkgId:
        description: >
        description: >
          Identifier of information held by the NFVO about the specific VNF
          Identifier of information held by the NFVO about the specific VNF
          package on which the VNF is based. This identifier was allocated by the
          package on which the VNF is based. This identifier was allocated by the
@@ -77,6 +77,7 @@ definitions:
          - flavourId
          - flavourId
          - vnfState
          - vnfState
          - extCpInfo
          - extCpInfo
          - _links
        properties:
        properties:
          flavourId:
          flavourId:
            description: >
            description: >
+14 −0
Original line number Original line Diff line number Diff line
@@ -226,6 +226,19 @@ definitions:
              currently allowed.
              currently allowed.
            $ref: "SOL002SOL003_def.yaml#/definitions/Link"
            $ref: "SOL002SOL003_def.yaml#/definitions/Link"


  CancelMode:
    description: >
      This type represents a parameter to select the mode of cancelling an
      ongoing VNF LCM operation occurrence.
    type: object
    required:
      - cancelMode
    properties:
      cancelMode:
        description: >
          Cancellation mode to apply.
        $ref: "#/definitions/CancelModeType"

  CancelModeType:
  CancelModeType:
    description: >
    description: >
      Cancellation mode.
      Cancellation mode.
@@ -394,6 +407,7 @@ definitions:
    required:
    required:
      - id
      - id
      - vnfVirtualLinkDescId
      - vnfVirtualLinkDescId
      - networkResource
    properties:
    properties:
      id:
      id:
        description: >
        description: >