MEC010-2_AppPkgMgmt.json 98.9 KB
Newer Older
            "style": "simple",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Attribute-based filtering parameters according to ETSI GS MEC 009",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "all_fields",
            "in": "query",
            "description": "Include all complex attributes in the response.",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "Complex attributes of AppPkgInfo to be included into the response",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exclude_fields",
            "in": "query",
            "description": "Complex attributes of AppPkgInfo to be excluded from the response.",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exclude_default",
            "in": "query",
            "description": "Indicates to exclude the following complex attributes of AppPkgInfo from the response.",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Content of the AppD is returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AppD",
                  "descriprion": "Indicates the success of request, and the content of the AppD is returned.The response message content shall contain a copy of the file representing the AppD or a ZIP file that contains the file or multiple files representing the AppD.The \"Content-Type\" HTTP header shall be set according to the format of the returned file, which is selected according to \"Accept\" HTTP header options passed in the request."
              "application/zip": {}
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/401"
            "$ref": "#/components/responses/403"
            "$ref": "#/components/responses/404"
            "$ref": "#/components/responses/406"
            "$ref": "#/components/responses/429"
          }
        },
        "deprecated": false
      },
    },
    "/app_packages/{appPkgId}/package_content": {
      "get": {
        "tags": ["app-pkgm"],
        "summary": "Fetch the onboarded application package content identified by appPkgId or appDId.",
        "description": "Fetch the onboarded application package content identified by appPkgId or appDId.",
        "operationId": "appPkgGET",
        "parameters": [
          {
            "name": "appPkgId",
            "in": "path",
            "description": "Identifier of an on-boarded individual application package",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The payload body shall contain a copy of the file representing the AppD or a ZIP file that contains the file or multiple files representing the AppD.",
            "content": {
              "application/zip": {}
            }
          },
          "206": {
            "description": "On success, if the MEO or MEAO supports range requests, a single consecutive byte range from the content of the application package file shall be returned.",
            "content": {
              "application/zip": {}
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/401"
            "$ref": "#/components/responses/403"
            "$ref": "#/components/responses/404"
            "$ref": "#/components/responses/406"
            "$ref": "#/components/responses/429"
          }
        },
        "deprecated": false
      },
      "put": {
        "tags": ["app-pkgm"],
        "summary": "Uploads the content of application package.",
        "description": "Uploads the content of application package.",
        "operationId": "appPkgPUT",
        "parameters": [
          {
            "name": "appPkgId",
            "in": "path",
            "description": "Identifier of an on-boarded individual application package",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The application package has been accepted for uploading, but the processing has not been completed.",
            "headers": {},
            "content": {}
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/401"
            "$ref": "#/components/responses/403"
            "$ref": "#/components/responses/404"
            "$ref": "#/components/responses/406"
            "$ref": "#/components/responses/429"
          }
        },
        "deprecated": false
      },
    },
    "/onboarded_app_packages/{appDId}/package_content": {
      "get": {
        "tags": ["app-pkgm"],
        "summary": "Fetch the onboarded application package content identified by appPkgId or appDId.",
        "description": "Fetch the onboarded application package content identified by appPkgId or appDId.",
        "operationId": "appDIdGET",
        "parameters": [
          {
            "name": "appDId",
            "in": "path",
            "description": "Identifier of an application descriptor",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The payload body shall contain a copy of the file representing the AppD or a ZIP file that contains the file or multiple files representing the AppD.",
            "headers": {},
            "content": {}
          },
          "206": {
            "description": "On success, if the MEO or MEAO supports range requests, a single consecutive byte range from the content of the application package file shall be returned.",
            "headers": {},
            "content": {}
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/401"
            "$ref": "#/components/responses/403"
            "$ref": "#/components/responses/404"
            "$ref": "#/components/responses/406"
            "$ref": "#/components/responses/429"
          }
        },
        "deprecated": false
      },
      "put": {
        "tags": ["app-pkgm"],
        "summary": "Fetch the onboarded application package content identified by appPkgId or appDId.",
        "description": "Uploads the content of application package.",
        "operationId": "appDIdPUT",
        "parameters": [
          {
            "name": "appDId",
            "in": "path",
            "description": "Identifier of an application descriptor",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The application package has been accepted for uploading, but the processing has not been completed.",
            "headers": {},
            "content": {}
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/401"
            "$ref": "#/components/responses/403"
            "$ref": "#/components/responses/404"
            "$ref": "#/components/responses/406"
            "$ref": "#/components/responses/429"
          }
        },
        "deprecated": false
      },
    },
    "/user_defined_notification": {
      "post": {
        "tags": ["app-pkgm-notifications"],
        "summary": "Registers a notification endpoint to notify application package operations",
        "description": "Registers a notification endpoint to notify application package operations",
        "operationId": "app_pkg_notificationPOST",
        "requestBody": {
          "description": "Notification endpoint to be created",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppPkgNotification"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content",
            "headers": {},
            "content": {}
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "406": {
            "$ref": "#/components/responses/406"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        },
        "deprecated": false
      },
        "title": "AppD",
        "required": [
          "appDId",
          "appDVersion",
          "appDescription",
          "appName",
          "appProvider",
          "appSoftVersion",
          "mecVersion",
          "swImageDescriptor",
          "appExtCpd"
        ],
        "type": "object",
        "properties": {
          "appDId": {
            "type": "string",
            "description": "Identifier of this MEC application descriptor. This attribute shall be globally unique. See note 1."
          },
          "appDNSRule": {
            "type": "array",
            "items": {
              "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/DNSRuleDescriptor"
            },
            "description": "Describes DNS rules the MEC application requires."
          },
          "logicalNode": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicalNodeRequirements"
            },
            "description": "The logical node requirements. See note 6 and note 7."
          },
          "requestAdditionalCapabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestedAdditionalCapabilityData"
            },
            "description": "Specifies requirements for additional capabilities. These can be for a range of purposes. One example is acceleration related capabilities. See note 6 and note 7."
          },
          "mcioConstraintParams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/McioConstraintParams"
            },
            "description": "The parameter names for constraints expected to be assigned to MCIOs realizing this application. For the associated semantical context of the values, refer to the description under the table 7.1.6.2.2-1 of ETSI GS NFV IFA 011 [1]. See note 7."
          },
          "appDVersion": {
            "type": "string",
            "description": "Identifies the version of the application descriptor."
          },
          "appDescription": {
            "type": "string",
            "description": "Human readable description of the MEC application."
          },
          "appExtCpd": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppExternalCpd"
            },
            "description": "Describes external interface(s) exposed by this MEC application.  See note 4."
          },
          "appFeatureOptional": {
            "type": "array",
            "items": {
              "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/FeatureDependency"
            },
            "description": "Describes features a MEC application may use if available."
          },
          "appFeatureRequired": {
            "type": "array",
            "items": {
              "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/FeatureDependency"
            },
            "description": "Describes features a MEC application requires to run."
          },
          "appInfoName": {
            "type": "string",
            "description": "Human readable name for the MEC application."
          },
          "appLatency": {
            "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/LatencyDescriptor"
          },
          "appName": {
            "type": "string",
            "description": "Name to identify the MEC application."
          },
          "appProvider": {
            "type": "string",
            "description": "Provider of the application and of the AppD."
          },
          "appServiceOptional": {
            "type": "array",
            "items": {
              "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/ServiceDependency"
            },
            "description": "Describes services a MEC application may use if available."
          },
          "appServiceProduced": {
            "type": "array",
            "items": {
              "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/ServiceDescriptor"
            },
            "description": "Describes services a MEC application is able to produce to the platform or other MEC applications. Only relevant for service-producing apps."
          },
          "appServiceRequired": {
            "type": "array",
            "items": {
              "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/ServiceDependency"
            },
            "description": "Describes services a MEC application requires to run."
          },
          "appSoftVersion": {
            "type": "string",
            "description": "Identifies the version of software of the MEC application."
          },
          "mciopId": {
            "type": "string",
            "description": "Identifies the MCIOP in the application package, used in containerized workload management, when the application is realized by a set of OS containers. See note 7."
          },
          "mcioIdentificationData": {
            "type": "string",
            "description": "Name and type of the Managed Container Infrastructure Object (MCIO) that realizes this application. It allows the VNFM to identify the MCIO e.g. when querying the Container Infrastructure Service Management (CISM). See note 7.",
            "items": {
              "$ref": "#/components/schemas/McioIdentificationData"
            }
          },
          "appTrafficRule": {
            "type": "array",
            "items": {
              "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/TrafficRuleDescriptor"
            },
            "description": "Describes traffic rules the MEC application requires."
          },
          "changeAppInstanceStateOpConfig": {
            "type": "string",
            "description": "NFV"
          },
          "mecVersion": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Identifies version(s) of MEC system compatible with the MEC application described in this version of the AppD. The value shall be formatted as comma-separated list of strings. Each entry shall have the format <x>.<y>.<z> where <x>, <y> and <z> are decimal numbers representing the version of the present document. Whitespace between list entries shall be trimmed before validation."
          },
          "swImageDescriptor": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SwImageDescriptor"
            },
            "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"
          },
          "transportDependencies": {
            "type": "object",
            "items": {
              "$ref": "./definitions/MEC010p2_definitions.yaml#/definitions/TransportDependency"
            },
            "description": "Transports, if any, that this application requires to be provided by the platform. These transports will be used by the application to deliver services provided by this application. Only relevant for service-producing apps. See note 2."
          },
          "virtualComputeDescriptor": {
            "description": "Describes CPU and memory requirements, as well as optional additional requirements, such as disk and acceleration related capabilities, of the single VM used to realize this MEC application. See note 5.",
            "type": "object",
            "items": {
              "$ref": "#/components/schemas/VirtualComputeDescriptor"
            }
          },
          "osContainerDescriptor": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OsContainerDescriptor"
            },
            "description": "Describes CPU, memory requirements and limits, and software images of the OS Containers realizing this MEC application corresponding to OS Containers sharing the same host and same network namespace. See note 5 and note 7."
          }
        },
        "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"
      },
      "SwImageDescriptor": {
        "type": "object",
        "required": ["id", "name", "version", "containerFormat", "swImage"],
        "properties": {
          "id": {
            "type": "string",
            "description": "The identifier of this software image."
          },
          "name": {
            "type": "string",
            "description": "The name of this software image."
          },
          "version": {
            "type": "string",
            "items": {
              "$ref": "#/components/schemas/Version"
            },
            "description": "The version of this software image."
          },
          "checksum": {
            "$ref": "#/components/schemas/ChecksumData",
            "description": "The checksum of the software image file. See note 3."
          },
          "containerFormat": {
            "type": "string",
            "description": "The container format describes the container file format in which software image is provided."
          },
          "diskFormat": {
            "type": "string",
            "description": "The disk format of a software image is the format of the underlying disk image. See note 1."
          },
          "minDisk": {
            "type": "number",
            "description": "The minimal disk size requirement for this software image. See note 1."
          },
          "minRam": {
            "type": "number",
            "description": "The minimal RAM requirement for this software image. See note 2."
          },
          "size": {
            "type": "number",
            "description": "The size of this software image file. See note 3."
          },
          "swImage": {
            "type": "object",
            "items": {
              "$ref": "#/components/schemas/SwImageDesc"
            },
            "description": "A reference to the actual software image."
          },
          "operatingSystem": {
            "type": "string",
            "description": "Specifies the operating system used in the software image."
          },
          "supportedVirtualisationEnvironment": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Specifies the virtualisation environments (e.g. hypervisor) compatible with this software image."
          }
        },
        "description": "NOTE 1: The attribute shall be present for VM-based software images referenced from a Vdu or from a VirtualStorageDesc, and shall be absent otherwise. \nNOTE 2: The attribute may be present for VM-based software images referenced from a Vdu or from a VirtualStorageDesc, and shall be absent otherwise. \nNOTE 3: The attribute shall be present for VM-based software images referenced from a Vdu or from a VirtualStorageDesc, and may be present otherwise. \n"
      },
      "Version": {
        "type": "object",
        "required": ["srcVnfdId", "dstVnfdId", "srcFlavourId"],
        "properties": {
          "srcVnfdId": {
            "type": "string",
            "description": "Identifier of the source VNFD and the source VNF package. See note 1."
          },
          "dstVnfdId": {
            "type": "string",
            "description": "Identifier of the destination VNFD and the destination VNF package. See note 1."
          },
          "srcFlavourId": {
            "type": "string",
            "description": "Identifier of the deployment flavour in the source VNF package for which this modification applies. See note 2."
          }
        },
        "description": "NOTE 1: Either the srcVnfdId or the dstVnfdId shall be equal to the vnfdId of the VNFD containing this version selector. \nNOTE 2: It is up to protocol design stage to decide whether there is further optimization potential to apply one modification for multiple srcFlavourIds.\n"
      },
      "McioConstraintParams": {
        "title": "McioConstraintParams",
        "enum": [
          "localAffinityCisNode",
          "nodeAdditionalCapabilitySsd",
          "nodeAdditionalCapabilityDpdk",
          "nodeAdditionalCapabilitySriov",
          "nodeAdditionalCapabilityGpu",
          "nodeAdditionalCapabilityFpga",
          "nodeAdditionalCapabilityCpuPin",
          "nodeCapabilityLogicalNuma",
          "nodePool"
        "type": "string",
        "description": "The parameter names for constraints expected to be assigned to MCIOs realizing this application.The value specifies the standardized \nsemantical context of the MCIO constraints and the parameter names for the MCIO constraints in the MCIO declarative descriptor.The mcioConstraintParams\nattribute shall have one of the following values, expressing the associated semantical context.. For the associated semantical context of the values,\nrefer to the description under the table 7.1.6.2.2-1 of ETSI GS NFV IFA 011 [1].\n"
      },
      "McioIdentificationData": {
        "type": "object",
        "required": ["name", "type"],
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the mcio. See note 1."
          },
          "type": {
            "type": "string",
            "description": "The type of the mcio. See note 2."
          }
        },
        "description": "NOTE 1: When the container infrastructure service is a Kubernetes® instance it is the value of the 'metadata.name' \n        field in Kubernetes® manifest. \nNOTE 2: When the container infrastructure service is a Kubernetes® instance it is the value of the 'kind' field in \n        Kubernetes® manifest. \n"
      },
      "OsContainerDescriptor": {
        "title": "OsContainerDescriptor",
        "type": "object",
        "required": ["osContainerDescId", "name", "description", "swImageDesc"],
        "properties": {
          "osContainerDescId": {
            "type": "string",
            "description": "Unique identifier of this OsContainerDesc in the VNFD."
          },
          "name": {
            "type": "string",
            "description": "Human readable name of this OS container."
          },
          "description": {
            "type": "string",
            "description": "Human readable description of this OS container."
          },
          "requestedCpuResources": {
            "type": "integer",
            "description": "Number of CPU resources requested for the container (e.g. in milli-CPU-s)."
          },
          "requestedMemoryResources": {
            "type": "number",
            "description": "Amount of memory resources requested for the container (e.g. in MB)."
          },
          "requestedEphemeralStorageResources": {
            "type": "number",
            "description": "Size of ephemeral storage resources requested for the container (e.g. in GB)."
          },
          "extendedResourceRequests": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "An array of key-value pairs of extended resources required by the container see note."
            }
          },
          "additionalProperties": {
            "type": "string",
            "description": "See note."
          },
          "cpuResourceLimit": {
            "type": "integer",
            "description": "Number of CPU resources the container can maximally use (e.g. in milli-CPU)."
          },
          "memoryResourceLimit": {
            "type": "number",
            "description": "Amount of memory resources the container can maximally use (e.g. in MB)."
          },
          "ephemeralStorageResourceLimit": {
            "type": "number",
            "description": "Size of ephemeral storage resources the container can maximally use (e.g. in GB)."
          },
          "hugePageResources": {
            "type": "object",
            "description": "Specifies HugePages resources requested for the container, which the container can maximally use.",
            "additionalProperties": {
              "type": "string"
            }
          },
          "cpuPinningRequirements": {
            "$ref": "#/components/schemas/VirtualCpuPinningData",
            "description": "Requirements for CPU pinning configuration for this OS container."
          },
          "swImageDesc": {
            "$ref": "#/components/schemas/SwImageDesc",
            "description": "Describes the software image realizing this OS container."
          },
          "bootData": {
            "type": "string",
            "description": "Contains a string or a URL to a file contained in the VNF package used to customize a container resource at boot time. The bootData may contain variable parts that are replaced by deployment specific values before being sent."
          },
          "monitoringParameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MonitoringParameter"
            },
            "description": "Specifies the virtualized resource related performance metrics on the OsContainerDesc level to be tracked by the VNFM."
          }
        },
        "description": "NOTE: Extended resources are to describe any type of resource provided by the container infrastructure. One \n      example implementation of extended resources is \"Extended Resources\" in case the container infrastructure \n      service is a Kubernetes® instance. \n"
      },
      "MonitoringParameter": {
        "type": "object",
        "required": ["monitoringParameterId", "performanceMetric"],
        "properties": {
          "monitoringParameterId": {
            "type": "string",
            "description": "Unique identifier of the monitoring parameter."
          },
          "name": {
            "type": "string",
            "description": "Human readable name of the monitoring parameter."
          },
          "performanceMetric": {
            "type": "string",
            "description": "Specifies the virtualised resource performance metric."
          },
          "collectionPeriod": {
            "type": "string",
            "description": "An attribute that describes the periodicity at which to collect the performance information."
          }
        }
      },
      "VirtualComputeDescriptor": {
        "title": "VirtualComputeDescriptor",
        "type": "object",
        "required": ["virtualComputeDescId", "virtualMemory", "virtualCpu"],
        "properties": {
          "virtualComputeDescId": {
            "type": "string",
            "description": "Unique identifier of this VirtualComputeDesc in the VNFD."
          },
          "logicalNode": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicalNodeRequirements"
            }
          },
          "requestAdditionalCapabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestedAdditionalCapabilityData"
            }
          },
          "computeRequirements": {
            "description": "Not specified.",
            "type": "array",
            "items": {
              "type": "string",
              "format": "not-specified"
            }
          },
          "virtualMemory": {
            "$ref": "#/components/schemas/VirtualMemoryData"
          },
          "virtualCpu": {
            "$ref": "#/components/schemas/VirtualCpuData"
          },
          "virtualDisk": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BlockStorageData"
            }
          }
        }
      },
      "VirtualCpuData": {
        "type": "object",
        "required": ["numVirtualCpu"],
        "properties": {
          "cpuArchitecture": {
            "type": "string",
            "description": "CPU architecture type. Examples are x86, ARM."
          },
          "numVirtualCpu": {
            "type": "integer",
            "description": "Number of virtual CPUs."
          },
          "virtualCpuClock": {
            "type": "number",
            "description": "Minimum virtual CPU clock rate (e.g. in MHz)."
          },
          "virtualCpuOversubscriptionPolicy": {
            "type": "string",
            "description": "The CPU core oversubscription policy, e.g. the relation of virtual CPU cores to physical CPU cores/threads."
          },
          "vduCpuRequirements": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Array of key-value pair requirements on the Compute (CPU) for the VDU."
            }
          },
          "virtualCpuPinning": {
            "$ref": "#/components/schemas/VirtualCpuPinningData"
          }
        }
      },
      "BlockStorageData": {
        "type": "object",
        "required": ["sizeOfStorage"],
          "sizeOfStorage": {
            "type": "number",
            "description": "Size of virtualised storage resource in GB."
          "vduStorageRequirements": {
            "type": "array",
              "type": "object",
              "description": "An array of key-value pairs that articulate the storage deployment requirements."
            "description": "Array of key-value pair requirements on the storage for the VDU."
          "rdmaEnabled": {
            "type": "boolean",
            "description": "Indicate if the storage support RDMA."
          },
          "swImageDesc": {
            "$ref": "#/components/schemas/SwImageDesc",
            "description": "References the software image to be loaded on the VirtualStorage resource created based on this VirtualStorageDesc. Shall be absent when used for virtual disks. See note."
          }
        },
        "description": "NOTE: This attribute shall not be present in a VirtualStorageDesc used in a VDU realized by one or a set of OS containers\n"
      },
      "SwImageDesc": {
        "type": "object",
        "required": ["id", "name", "version", "containerFormat", "swImage"],
        "properties": {
          "id": {
            "description": "The identifier of this software image."
          "name": {
            "description": "The name of this software image."
          "version": {
            "type": "string",
            "description": "The version of this software image."
          "checksum": {
            "$ref": "#/components/schemas/ChecksumData",
            "description": "The checksum of the software image file. See note 3"
          "containerFormat": {
            "type": "string",
            "description": "The container format describes the container file format in which software image is provided."
          "diskFormat": {
            "description": "The disk format of a software image is the format of the underlying disk image. See note 1"
          "minDisk": {
            "type": "number",
            "description": "The minimal disk size requirement for this software image. The value of the \"size of storage\" attribute of the VirtualStorageDesc referencing this SwImageDesc shall not be smaller than the value of minDisk. See note 1"
          "minRam": {
            "type": "number",
            "description": "The minimal RAM requirement for this software image. The value of the \"size\" attribute of VirtualMemoryData of the Vdu referencing this SwImageDesc shall not be smaller than the value of minRam. See note 2"
          "size": {
            "type": "number",
            "description": "The size of this software image file. See note 3"
          },
          "swImage": {
            "$ref": "#/components/schemas/SwImageDesc",
            "description": "This is a reference to the actual software image. The reference can be relative to the root of the VNF Package or can be a URL."
          },
          "operatingSystem": {
            "description": "Specifies the operating system used in the software image. This attribute may also identify if a 32 bit or 64 bit software image is used."
          "supportedVirtualisationEnvironment": {
            "type": "array",
              "type": "string"
            "description": "Specifies the virtualisation environments (e.g. hypervisor) compatible with this software image."
          }
        },
        "description": "NOTE 1: The attribute shall be present for VM-based software images referenced from a Vdu or from a VirtualStorageDesc, and shall be absent otherwise. \nNOTE 2: The attribute may be present for VM-based software images referenced from a Vdu or from a VirtualStorageDesc, and shall be absent otherwise. \nNOTE 3: The attribute shall be present for VM-based software images referenced from a Vdu or from a VirtualStorageDesc, and may be present otherwise. \n"
      },
      "ChecksumData": {
        "type": "object",
        "required": ["algorithm", "hash"],
        "properties": {
          "algorithm": {
            "type": "string",
            "description": "Specifies the algorithm used to obtain the checksum value see note."
          "hash": {
            "type": "string",
            "description": "Contains the result of applying the algorithm indicated by the algorithm attribute to the data to which this ChecksumData refers."
          }
        },
        "description": "NOTE: The algorithm attribute value shall be one of the Hash Function Textual Names present in [2]. \n"
      },
      "VirtualCpuPinningData": {
        "type": "object",
        "properties": {
          "virtualCpuPinningPolicy": {
            "type": "string",
            "description": "Indicates the policy for CPU pinning.",
            "enum": ["STATIC", "DYNAMIC"]
          "virtualCpuPinningRule": {
            "type": "array",
              "type": "string"
            "description": "List of rules that should be considered during the allocation of the virtual CPUs to logical CPUs in case of \"STATIC\" virtualCpuPinningPolicy."
          }
        }
      },
      "VirtualMemoryData": {
        "type": "object",
        "required": ["virtualMemSize"],
        "properties": {
          "virtualMemSize": {
            "type": "number",
            "description": "Amount of virtual memory in MB."
          "virtualMemOversubscriptionPolicy": {
            "description": "The memory core oversubscription policy in terms of virtual memory to physical memory on the platform."
          "vduMemRequirements": {
            "type": "array",
              "$ref": "#/components/schemas/KeyValuePair"
            "description": "Array of key-value pair requirements on the memory for the VDU."
          "numaEnabled": {
            "type": "boolean",
            "description": "Specifies the memory allocation to be cognisant of the relevant process/core allocation."
          },
          "hugePagesRequirements": {
            "description": "Specifies requirements on the huge pages resources for the virtual memory."
          }
        }
      },
      "RequestedAdditionalCapabilityData": {
        "type": "object",
        "required": [
          "requestedAdditionalCapabilityName",
          "supportMandatory",
          "targetPerformanceParameters"
        ],
        "properties": {
          "requestedAdditionalCapabilityName": {
            "type": "string",
            "description": "Specifies a requested additional capability for the VDU"
          "supportMandatory": {
            "type": "boolean",
            "description": "Indicates whether the requested additional capability is mandatory for successful operation"
          "minRequestedAdditionalCapabilityVersion": {
            "type": "string",
            "description": "Specifies the minimum version of the requested additional capability"
          "preferredRequestedAdditionalCapabilityVersion": {
            "type": "string",
            "description": "Specifies the preferred version of the requested additional capability"
          "targetPerformanceParameters": {
            "type": "array",
              "$ref": "#/components/schemas/KeyValuePair"
            }
          }
        }
      },
      "KeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          "value": {
            "type": "string"
          }
        }
      },
      "LogicalNodeRequirements": {
        "type": "object",