Commit c7a05648 authored by Mubeena Ishaq's avatar Mubeena Ishaq
Browse files

Updated SOL003 APIs

parent 96a1ff75
Loading
Loading
Loading
Loading
Loading
+8 −15
Original line number Diff line number Diff line
@@ -672,23 +672,16 @@ components:

    Subscriptions.Post.422:
      description: |
        422 Unprocessable Entity
        422 Unprocessable Content

        Shall be returned upon the following error: The
        content type of the payload body is supported
        and the payload body of a request contains
        syntactically correct data but the data cannot be
        Shall be returned upon the following error: The content type of the message content is supported
        and the message content of a request contains syntactically correct data but the data cannot be
        processed.
        The general cause for this error and its handling
        is specified in clause 6.4 of ETSI
        GS NFV-SOL 013 [8], including rules for the
        presence of the response body.
        Specifically in case of this resource, the response
        code 422 shall also be returned if the VNFM has
        tested the Notification endpoint as described in
        clause 7.4.6.3.2 and the test has failed.
        In this case, the "detail" attribute in the
        "ProblemDetails" structure shall convey more
        The general cause for this error and its handling is specified in clause 6.4 of ETSI
        GS NFV-SOL 013 [8], including rules for the presence of the response body.
        Specifically in case of this resource, the response code 422 shall also be returned if the VNFM has
        tested the Notification endpoint as described in clause 7.4.6.3.2 and the test has failed.
        In this case, the "detail" attribute in the "ProblemDetails" structure shall convey more
        information about the error
      headers:
        Version:
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ definitions:
    properties:
      id:
        description: >
          Identifier of this Alarm information element.
          Identifier of this Alarm.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      managedObjectId:
        description: >
+2 −2
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@ info:
  version: 1.4.0-impl:etsi.org:ETSI_NFV_OpenAPI:1

externalDocs:
  description: ETSI GS NFV-SOL 003 V3.6.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.06.01_60/gs_NFV-SOL003v030601p.pdf
  description: ETSI GS NFV-SOL 003 V3.7.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.07.01_60/gs_NFV-SOL003v030701p.pdf

servers:
  - url: http://127.0.0.1/callback/v1
+15 −15
Original line number Diff line number Diff line
@@ -1605,11 +1605,11 @@ components:

    VNFInstances.Post.422:
      description: |
        422 Unprocessable Entity
        422 Unprocessable Content

        Shall be returned upon the following error: The content
        type of the payload body is supported and the payload
        body of a request contains syntactically correct data
        type of the message content is supported and the message
        content of a request contains syntactically correct data
        but the data cannot be processed.
        The general cause for this error and its handling is
        specified in clause 6.4 of ETSI GS NFV-SOL 013 [8],
@@ -1620,7 +1620,7 @@ components:
        "CreateVnfRequest" structure is not in the "ENABLED"
        state or does not exist. In this case, the "detail"
        attribute in the "ProblemDetails" structure shall convey
        more information about the erro
        more information about the error.
      headers:
        WWW-Authenticate:
          description: |
@@ -2916,7 +2916,7 @@ components:
        202 ACCEPTED

        Shall be returned when the request has been accepted for processing.
        The response shall have an empty payload body.
        The response shall have an empty message content.
      headers:
        WWW-Authenticate:
          description: |
@@ -3027,7 +3027,7 @@ components:
        202 ACCEPTED

        Shall be returned when the request has been accepted for processing.
        The response shall have an empty payload body.
        The response shall have an empty message content.
      headers:
        WWW-Authenticate:
          description: |
@@ -3264,7 +3264,7 @@ components:
        202 ACCEPTED

        Shall be returned when the request has been accepted for processing.
        The response shall have an empty payload body.
        The response shall have an empty message content.
      headers:
        WWW-Authenticate:
          description: |
@@ -3459,11 +3459,11 @@ components:

    Subscriptions.Post.422:
      description: |
        422 Unprocessable Entity
        422 Unprocessable Content

        Shall be returned upon the following error: The
        content type of the payload body is supported
        and the payload body of a request contains
        content type of the message content is supported
        and the message content of a request contains
        syntactically correct data but the data cannot be
        processed.
        The general cause for this error and its handling
@@ -3730,11 +3730,11 @@ components:

    CreateVnfSnapshotTask.Post.422:
      description: |
        422 Unprocessable Entity
        422 Unprocessable Content

        Shall be returned upon the following error: The
        content type of the payload body is supported and
        the payload body of a request contains syntactically
        content type of the message content is supported and
        the message content of a request contains syntactically
        correct data but the data cannot be processed.
        The general cause for this error and its handling is
        specified in clause 6.4 of ETSI
@@ -4206,7 +4206,7 @@ components:

        Shall be returned when the whole content of the VNF state snapshot file has been read successfully.

        The payload body shall contain a copy of the VNF state snapshot file and the "Content-Type" HTTP
        The message content shall contain a copy of the VNF state snapshot file and the "Content-Type" HTTP
        header shall be set according to the content type of the VNF state snapshot file. If the VNF state 
        snapshot content is encrypted, the header shall be set to the value "application/cms" (IETF RFC 7193). 
        
@@ -4250,7 +4250,7 @@ components:
        header shall be set according to the content type of the VNF state snapshot file. If the content type cannot 
        be determined, the header shall be set to the value "application/octet-stream".

        The "Content-Range" HTTP header shall be provided according to IETF RFC 7233.
        The "Content-Range" HTTP header shall be provided according to IETF RFC 9110.
      headers:
        WWW-Authenticate:
          description: |
+14 −15
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ definitions:
        description: >
          Additional input parameters for the instantiation process, specific
          to the VNF being instantiated, as declared in the VNFD as part of
          "InstantiateVnfOpConfig".
          "InstantiateVnfOpConfig"." defined in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
      extensions:
        description: >
@@ -203,9 +203,8 @@ definitions:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/VimConnectionInfo"
      additionalParams:
        description: >
          Additional input parameters for the instantiation process, specific
          to the VNF being instantiated, as declared in the VNFD as part of
          "InstantiateVnfOpConfig".
          Additional input parameters for the flavour change process, specific to the VNF being modified, as
          declared in the VNFD as part of "ChangeVnfFlavourOpConfig"." defined in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
      extensions:
        description: >
@@ -265,7 +264,7 @@ definitions:
        description: >
          Additional parameters passed by the NFVO as input to the termination
          process, specific to the VNF being terminated, as declared in the
          VNFD as part of "TerminateVnfOpConfig".
          VNFD as part of "TerminateVnfOpConfig"." defined in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  HealVnfRequest:
@@ -279,7 +278,7 @@ definitions:
        description: >
          Additional parameters passed by the NFVO as input to the healing
          process, specific to the VNF being healed, as declared in the VNFD
          as part of "HealVnfOpConfig".
          as part of "HealVnfOpConfig"." defined in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  OperateVnfRequest:
@@ -317,7 +316,7 @@ definitions:
        description: >
          Additional parameters passed by the NFVO as input to the process,
          specific to the VNF of which the operation status is changed, as
          declared in the VNFD as part of "OperateVnfOpConfig".
          declared in the VNFD as part of "OperateVnfOpConfig"." defined in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  ChangeExtVnfConnectivityRequest:
@@ -357,9 +356,9 @@ definitions:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/VimConnectionInfo"
      additionalParams:
        description: >
          Additional input parameters for the instantiation process, specific
          to the VNF being instantiated, as declared in the VNFD as part of
          "ChangeExtVnfConnectivityOpConfig".".
         Additional parameters passed by the NFVO as input to the process, specific to the VNF of which the external
         connectivity is changed, as declared in the VNFD as part of "ChangeExtVnfConnectivityOpConfig"." defined 
         in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  ChangeCurrentVnfPkgRequest:
@@ -421,7 +420,7 @@ definitions:
        description: >
          Additional parameters passed by the NFVO as input to the process, specific 
          to the VNF of which the underlying VNF package is changed, as declared in 
          the VNFD as part of "ChangeCurrentVnfPkgOpConfig".
          the VNFD as part of "ChangeCurrentVnfPkgOpConfig"." defined in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
      extensions:
        description: >
@@ -597,7 +596,7 @@ definitions:
        description: >
          Additional input parameters for the snapshot creation process, specific 
          for the VNF being “snapshotted”, as declared in the VNFD as part of
          “CreateSnapshotVnfOpConfig.
          “CreateSnapshotVnfOpConfig"." defined in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
      userDefinedData:
        description: >
@@ -639,7 +638,7 @@ definitions:
      additionalParams:
        description: >
          Additional input parameters for the revert to VNF snapshot process, specific for the VNF being 
          “reverted”, as declared in the VNFD as part of “RevertToSnapshotVnfOpConfig.
          “reverted”, as declared in the VNFD as part of “RevertToSnapshotVnfOpConfig"." defined in ETSI GS NFV-IFA 011.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  VnfSnapshotInfoModificationRequest:
@@ -774,7 +773,7 @@ definitions:
          Configurable properties referred in these attributes are declared in the VNFD. The declaration 
          of configurable properties in the VNFD can optionally contain the specification of initial values. 
          See notes 2, 3 and 4. The VNFM shall reject requests to write configurable properties that are 
          not declared in the VNFD with a "422 Unprocessable entity" error response as defined in clause 
          not declared in the VNFD with a "422 Unprocessable Content" error response as defined in clause 
          6.4 of ETSI GS NFV SOL 013.
          
          These configurable properties include the following standard attributes, which are declared in 
@@ -940,7 +939,7 @@ definitions:
          All extensions that are allowed for the VNF are declared in the VNFD. The declaration of an extension 
          in the VNFD contains information on whether its presence is optional or required, and optionally can 
          specify an initial value. See notes 2 and 4. The VNFM shall reject requests to write extension attributes 
          that are not declared in the VNFD with a "422 Unprocessable entity" error response as defined in clause 
          that are not declared in the VNFD with a "422 Unprocessable Content" error response as defined in clause 
          6.4 of ETSI GS NFV-SOL 013.
          
          Modifying the values of these attributes has no direct effect on the VNF instance; however, the modified 
Loading