Commit ccc90e54 authored by Mudassar Khan's avatar Mudassar Khan
Browse files

update schemas as per v5.1.1

parent 1c95f65a
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@
          "description": "Match particular VNF lifecycle operation types for the notification of type VnfLcmOperationOccurrenceNotification. May be present if the \"notificationTypes\" attribute contains the value \"VnfLcmOperationOccurrenceNotification\", and shall be absent otherwise.\n",
          "type": "array",
          "items": {
            "description": "The enumeration LcmOpType defines the permitted values to represent  VNF lifecycle operation types in VNF lifecycle management operation  occurrence resources and VNF lifecycle management operation occurrence  notifications.\nValue | Description ------|------------ INSTANTIATE | Represents the \"Instantiate VNF\" LCM operation.    SCALE | Represents the \"Scale VNF\" LCM operation. SCALE_TO_LEVEL | Represents the \"Scale VNF to Level\" LCM operation. CHANGE_FLAVOUR | Represents the \"Change VNF Flavour\" LCM operation. TERMINATE | Represents the \"Terminate VNF\" LCM operation. HEAL | Represents the \"Heal VNF\" LCM operation. OPERATE | Represents the \"Operate VNF\" LCM operation. CHANGE_EXT_CONN | Represents the \"Change external VNF connectivity\" LCM operation. MODIFY_INFO | Represents the \"Modify VNF Information\" LCM operation. CREATE_SNAPSHOT | Represents the \"Create VNF Snapshot\" LCM operation. REVERT_TO_SNAPSHOT | Represents the Revert-To VNF Snapshot\" LCM operation. CHANGE_VNFPKG | Represents the \"Change current VNF package\" LCM operation.\n",
            "description": "The enumeration LcmOpType defines the permitted values to represent  VNF lifecycle operation types in VNF lifecycle management operation  occurrence resources and VNF lifecycle management operation occurrence  notifications.\nValue | Description ------|------------ INSTANTIATE | Represents the \"Instantiate VNF\" LCM operation.    SCALE | Represents the \"Scale VNF\" LCM operation. SCALE_TO_LEVEL | Represents the \"Scale VNF to Level\" LCM operation. CHANGE_FLAVOUR | Represents the \"Change VNF Flavour\" LCM operation. TERMINATE | Represents the \"Terminate VNF\" LCM operation. HEAL | Represents the \"Heal VNF\" LCM operation. OPERATE | Represents the \"Operate VNF\" LCM operation. CHANGE_EXT_CONN | Represents the \"Change external VNF connectivity\" LCM operation. MODIFY_INFO | Represents the \"Modify VNF Information\" LCM operation. CREATE_SNAPSHOT | Represents the \"Create VNF Snapshot\" LCM operation. REVERT_TO_SNAPSHOT | Represents the ΓÇ£Revert-To VNF Snapshot\" LCM operation. CHANGE_VNFPKG | Represents the \"Change current VNF package\" LCM operation. SELECT_DEPL_MODS | Represents the ΓÇ£Select VNF deployable modulesΓÇ¥ LCM operation\n",
            "type": "string",
            "enum": [
              "INSTANTIATE",
@@ -142,7 +142,8 @@
              "MODIFY_INFO",
              "CREATE_SNAPSHOT",
              "REVERT_TO_SNAPSHOT",
              "CHANGE_VNFPKG"
              "CHANGE_VNFPKG",
              "SELECT_DEPL_MODS"
            ]
          }
        },
+1262 −1169

File changed.

Preview size limit exceeded, changes collapsed.

+2857 −802

File changed.

Preview size limit exceeded, changes collapsed.

+2206 −150

File changed.

Preview size limit exceeded, changes collapsed.

+20 −6
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@
      "description": "Information about VNF package artifacts that are software images. This attribute shall not be present before the VNF package content is on-boarded. Otherwise, this attribute shall be present unless it has been requested to be excluded per attribute selector.\n",
      "type": "array",
      "items": {
        "description": "This type represents an artifact contained in or external to a VNF package which represents a software image..\n* NOTE 1:\tThe list of permitted values was taken from \"Container formats\" in OpenStack® documentation: \"Disk and container formats for images\"\n          (Available at https://docs.openstack.org/glance/pike/user/formats.html).\n* NOTE 2:\tThe list of permitted values was adapted from \"Disk formats\" in OpenStack® documentation: \"Disk and container formats for images\"\n          (Available at https://docs.openstack.org/glance/pike/user/formats.html).\n* NOTE 3: The attribute shall be present for VM-based software images referenced from a Vdu, and shall be absent\n          otherwise.\n* NOTE 4: The attribute shall be present for software images referenced from a VirtualStorageDesc, and shall be absent\n          otherwise.\n",
        "description": "This type represents an artifact contained in or external to a VNF package which represents a software image..\n* NOTE 1:\tThe list of permitted values was taken from \"Container formats\" in OpenStack® documentation: \"Disk and container formats for images\"\n          (Available at https://docs.openstack.org/glance/pike/user/formats.html).\n* NOTE 2:\tThe list of permitted values was adapted from \"Disk formats\" in OpenStack® documentation: \"Disk and container formats for images\"\n          (Available at https://docs.openstack.org/glance/pike/user/formats.html).\n* NOTE 3: The attribute shall be present for VM-based software images referenced from a Vdu, and shall be absent\n          otherwise.\n* NOTE 4: The attribute shall be present for software images referenced from a VirtualStorageDesc, and shall be absent\n          otherwise.\n",
        "type": "object",
        "required": [
          "id",
@@ -104,7 +104,15 @@
          "containerFormat": {
            "description": "Container format indicates whether the software image is in a file format that also contains metadata about the actual software. Permitted values: - AKI: a kernel image format - AMI: a machine image format - ARI: a ramdisk image format - BARE: the image does not have a container or metadata envelope - DOCKER: docker container format - OVA: OVF package in a tarfile - OVF: OVF container format See note 1.\n",
            "type": "string",
            "enum": ["AKI", "AMI", "ARI", "BARE", "DOCKER", "OVA", "OVF"]
            "enum": [
              "AKI",
              "AMI",
              "ARI",
              "BARE",
              "DOCKER",
              "OVA",
              "OVF"
            ]
          },
          "diskFormat": {
            "description": "Disk format of a software image is the format of the underlying disk image. Permitted values:\n  - AKI: a kernel image format\n  - AMI: a machine image format\n  - ARI: a ramdisk image format\n  - ISO: an archive format for the data contents of an optical disc,\n    such as CD-ROM\n  - QCOW2: a common disk image format, which can expand dynamically\n    and supports copy on write\n  - RAW: an unstructured disk image format\n  - VDI: a common disk image format\n  - VHD: a common disk image format\n  - VHDX: enhanced version of VHD format\n  - VMDK: a common disk image format\nSee notes 2 and 3.\n",
@@ -157,7 +165,7 @@
      "description": "Information about VNF package artifacts contained in the VNF package that are not software images. Every local and external artifact declared in the manifest shall be included, except the software images and the files that make up the parts of the VNFD (see clause 10.4.4.3.2). Signature files and certificate files are not considered as artifacts, however, the content of the \"Licenses\" and \"Testing\" directories in the VNF package is. This attribute shall not be present before the VNF package content is on-boarded. Otherwise, this attribute shall be present if the VNF package contains additional artifacts.\n",
      "type": "array",
      "items": {
        "description": "This type represents an artifact other than a software image which is contained in or external to a VNF package.\n",
        "description": "This type represents an artifact other than a software image which is contained in or external to a VNF package.\n* NOTE: The attribute name \"artifactURI\" does not comply with the naming convention defined in clause 4.3 in ETSI GS NFV-SOL 015. This is to maintain the backward compatibility.\n",
        "type": "object",
        "required": ["artifactPath", "checksum", "isEncrypted"],
        "properties": {
@@ -166,7 +174,7 @@
            "type": "string"
          },
          "artifactURI": {
            "description": "URI of the artifact as defined in the VNF package manifest. Shall be present if the artifact is external to the package and shall be absent otherwise.\nEXAMPLE: https://example.com/m%40ster.sh\n",
            "description": "URI of the artifact as defined in the VNF package manifest. Shall be present if the artifact is external to the package and shall be absent otherwise. EXAMPLE:https://example.com/m%40ster.sh See note.\n",
            "type": "array",
            "items": {
              "description": "String formatted according to IETF RFC 3986.\n",
@@ -200,7 +208,13 @@
    "onboardingState": {
      "description": "CREATED: The \"Individual VNF package\" resource has been created. UPLOADING: The associated VNF package content is being uploaded. PROCESSING: The associated VNF package content is being processed, e.g.,\n            validation.\nONBOARDED: The associated VNF package content has been on-boarded successfully. ERROR: There was an error during upload of the VNF package content or external\n        artifacts, or during VNF package processing.\n",
      "type": "string",
      "enum": ["CREATED", "UPLOADING", "PROCESSING", "ONBOARDED", "ERROR"]
      "enum": [
        "CREATED",
        "UPLOADING",
        "PROCESSING",
        "ONBOARDED",
        "ERROR"
      ]
    },
    "operationalState": {
      "description": "- ENABLED: The VNF package is enabled, i.e. it can be used for\n  the creation of new \"Individual VNF instance\" resources.\n- DISABLED: The VNF package is disabled, i.e. it shall not be used for\n  the creation of further \"Individual VNF instance\" resources\n  (unless and until the VNF package is re-enabled).\n",