Commit cd92fd42 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

update AppPkgMgmt yaml and Json files

parent cb53adc1
Loading
Loading
Loading
Loading
Loading
+47 −3
Original line number Diff line number Diff line
@@ -1473,7 +1473,7 @@
          },
          "changeAppInstanceStateOpConfig": {
            "type": "string",
            "description": "NFV"
            "$ref": "#/components/schemas/changeAppInstanceStateOpConfig"
          },
          "mecVersion": {
            "type": "array",
@@ -1491,7 +1491,7 @@
          },
          "terminateAppInstanceOpConfig": {
            "type": "string",
            "description": "NFV"
            "$ref": "#/components/schemas/terminateAppInstanceOpConfig"
          },
          "transportDependencies": {
            "type": "object",
@@ -1517,6 +1517,50 @@
        },
        "description": "NOTE 1: The appDId shall be used as the unique identifier of the application package that contains this AppD.\nNOTE 2: This attribute indicates groups of transport bindings which a service-producing MEC application requires to \n        be supported by the platform in order to be able to produce its services. At least one of the indicated groups \n        needs to be supported to fulfil the requirements.\nNOTE 3: The support of application descriptor containing descriptions of multiple virtualisation containers and/or \n        application software images is out of scope of the present document.\nNOTE 4: External interfaces are used to connect to e.g. other MEC applications, MEC services, UEs and also MEC \n        platform and OSS.\nNOTE 5: Only one of virtualComputeDescriptor or osContainerDescriptor shall be present. If virtualComputeDescriptor \n        presents, only a single swImageDescriptor shall be provided. \nNOTE 6: If the AppD includes virtualComputeDesc, then logicalNode and requestedAdditionalCapabilites shall not be \n        present.\nNOTE 7: This attribute reflects the ETSI NFV interpretation of the cloud native workloads. \n"
      },
      "changeAppInstanceStateOpConfig": {
        "type": "object",
        "description": null,
        "required": ["minGracefulStopTimeout"],
        "properties": {
          "minGracefulStopTimeout": {
            "type": "number",
            "description": "Minimum timeout value for graceful stop of a VNF instance."
          },
          "maxRecommendedGracefulStopTimeout": {
            "type": "number",
            "description": "Maximum recommended timeout value that can be needed to gracefully stop a VNF instance of a particular type under certain conditions, such as maximum load condition. This is provided by VNF provider as information for the operator facilitating the selection of optimal timeout value. This value is not used as constraint. \n"
          },
          "parameter": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Array of KVP requirements for VNF-specific parameters to be passed when invoking the OperateVnf operation. See note.\n"
          }
        }
      },
      "terminateAppInstanceOpConfig": {
        "type": "object",
        "description": null,
        "required": ["minGracefulTerminationTimeout"],
        "properties": {
          "minGracefulTerminationTimeout": {
            "type": "number",
            "description": "Minimum timeout value for graceful stop of a VNF instance."
          },
          "maxRecommendedGracefulTerminationTimeout": {
            "type": "number",
            "description": "Maximum recommended timeout value that can be needed to gracefully terminate a VNF instance of a particular type under certain conditions, such as maximum load condition. This is provided by VNF provider as information for the operator facilitating the selection of optimal timeout value. This value is not used as constraint. \n"
          },
          "parameter": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Array of KVP requirements for VNF-specific parameters to be passed when invoking the TerminateVnf operation. See note. \n"
          }
        }
      },
      "SwImageDescriptor": {
        "type": "object",
        "required": ["id", "name", "version", "containerFormat", "swImage"],
@@ -2196,7 +2240,7 @@
          },
          "userDefinedData": {
            "$ref": "#/components/schemas/KeyValuePairs",
            "description": "'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259'"
            "description": "\"'This data type represents a list of key-value pairs. The order of the pairs  in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259'\"\n"
          },
          "_links": {
            "$ref": "#/components/schemas/AppPkgInfo.links"
+54 −3
Original line number Diff line number Diff line
@@ -1057,7 +1057,7 @@ components:
          description: Describes traffic rules the MEC application requires.
        changeAppInstanceStateOpConfig:
          type: string
          description: NFV
          $ref: '#/components/schemas/changeAppInstanceStateOpConfig'
        mecVersion:
          type: array
          items:
@@ -1070,7 +1070,7 @@ components:
          description: Describes the descriptors of the software image to be used by the virtualisation container used to realize this MEC application. See note 5.
        terminateAppInstanceOpConfig:
          type: string
          description: NFV
          $ref: '#/components/schemas/terminateAppInstanceOpConfig'
        transportDependencies:
          type: object
          items:
@@ -1101,6 +1101,54 @@ components:
                present.
        NOTE 7: This attribute reflects the ETSI NFV interpretation of the cloud native workloads. 

    changeAppInstanceStateOpConfig:
      type: object
      description:
      required:
        - minGracefulStopTimeout
      properties:
        minGracefulStopTimeout:
          type: number
          description: Minimum timeout value for graceful stop of a VNF instance.
        maxRecommendedGracefulStopTimeout:
          type: number
          description: >
            Maximum recommended timeout value that can be needed to gracefully stop a VNF
            instance of a particular type under certain conditions, such as maximum load
            condition. This is provided by VNF provider as information for the operator facilitating
            the selection of optimal timeout value. This value is not used as constraint. 
        parameter:
          type: array
          items:  
            type: string
          description: >
            Array of KVP requirements for VNF-specific parameters to be passed when invoking the
            OperateVnf operation. See note.

    terminateAppInstanceOpConfig:
      type: object
      description:
      required:
        - minGracefulTerminationTimeout
      properties:
        minGracefulTerminationTimeout:
          type: number
          description: Minimum timeout value for graceful stop of a VNF instance.
        maxRecommendedGracefulTerminationTimeout :
          type: number
          description: >
            Maximum recommended timeout value that can be needed to gracefully terminate a
            VNF instance of a particular type under certain conditions, such as maximum load
            condition. This is provided by VNF provider as information for the operator facilitating
            the selection of optimal timeout value. This value is not used as constraint. 
        parameter:
          type: array
          items:  
            type: string
          description: >
            Array of KVP requirements for VNF-specific parameters to be passed when invoking the
            TerminateVnf operation. See note. 

    SwImageDescriptor:
      type: object
      required:
@@ -1696,7 +1744,10 @@ components:
          $ref: '#/components/schemas/ProblemDetails'
        userDefinedData:
          $ref: '#/components/schemas/KeyValuePairs'
          description: "'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259'"
          description: > 
            "'This data type represents a list of key-value pairs. The order of the pairs 
            in the list is not significant. In JSON, a set of key-value pairs is represented as an object.
            It shall comply with the provisions defined in clause 4 of IETF RFC 8259'"
        _links:
          $ref: '#/components/schemas/AppPkgInfo.links'
      description: |