SOL005 VNF Package Management - Implementation of deltas between v2.8.1 and v2.7.1

This merge request refers to the implementation of deltas between v2.8.1 and v2.7.1 of SOL005 VNF Package Management Interface.

@lynchpi @aelken @matsuurat @carignani @sayama @kraja @zulfiqar @zafar

Deadline for review: Thursday 27th March 2021 @6pm CEST

Review period elapsed: Approved !

Edited by Giacomo Bernini

Merge request reports

Loading
+1 −1
Changes for SOL005/VNFPackageManagement-API/descriptors/SOL001/VNFD/vnfd_SOL001.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ tosca_definitions_version: tosca_simple_yaml_1_2
description: "TST010 reference VNF-B"

imports:
  - https://forge.etsi.org/rep/nfv/SOL001/raw/v2.7.1/etsi_nfv_sol001_vnfd_types.yaml  
  - https://forge.etsi.org/rep/nfv/SOL001/raw/v2.8.1/etsi_nfv_sol001_vnfd_types.yaml  

metadata:
  descriptor_id: "VNF-B"
+105 −99
Changes for SOL005/VNFPackageManagement-API/schemas/vnfPkgInfo.schema.json: 105 added lines, 99 removed lines.
Original line number Diff line number Diff line
{
	"type": "object",
  "required": [
    "id",
    "onboardingState",
    "operationalState",
    "usageState"
  ],
	"required": ["id", "packageSecurityOption", "onboardingState", "operationalState", "usageState", "vnfmInfo", "_links"],
	"properties": {
		"id": {
			"description": "An identifier with the intention of being globally unique.\n",
@@ -24,19 +19,20 @@
			"type": "string"
		},
		"vnfSoftwareVersion": {
      "description": "Software version of the VNF. This is changed when there is any change to the software included in the VNF package. This information is copied from the VNFD. It shall be present after the VNF package content has been on-boarded and absent otherwise.\n",
			"description": "A Version. Representation: string of variable length.\n",
			"type": "string"
		},
		"vnfdVersion": {
      "description": "Software version of the VNF. This is changed when there is any change to the software included in the VNF package. This information is copied from the VNFD. It shall be present after the VNF package content has been on-boarded and absent otherwise.\n",
			"description": "A Version. Representation: string of variable length.\n",
			"type": "string"
		},
		"compatibleSpecificationVersions": {
			"description": "A Version. Representation: string of variable length.\n",
			"type": "string"
		},
		"checksum": {
			"description": "This type represents the checksum of a VNF package or an artifact file.\n",
      "required": [
        "algorithm",
        "hash"
      ],
			"required": ["algorithm", "hash"],
			"type": "object",
			"properties": {
				"algorithm": {
@@ -49,29 +45,25 @@
				}
			}
		},
		"packageSecurityOption": {
			"description": "Signals the security option used by the package as defined in clause 5.1 of ETSI GS NFV-SOL 004 [5]. Valid values: OPTION_1, OPTION_2\n",
			"type": "string",
			"enum": ["OPTION_1", "OPTION_2"]
		},
		"signingCertificate": {
			"description": "The singleton signing certificate if it is included as a file in the VNF package.\n",
			"type": "string"
		},
		"softwareImages": {
			"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 a VNF package which represents a software image.  \n",
        "required": [
          "id",
          "name",
          "provider",
          "version",
          "checksum",
          "containerFormat",
          "diskFormat",
          "createdAt",
          "minDisk",
          "minRam",
          "size",
          "imagePath"
        ],
				"description": "This type represents an artifact contained in or external to a VNF package which represents a software image.\n",
				"required": ["id", "name", "provider", "version", "checksum", "isEncrypted", "containerFormat", "diskFormat", "createdAt", "minDisk", "minRam", "size", "imagePath"],
				"type": "object",
				"properties": {
					"id": {
            "description": "Identifier of the software image.\n",
						"description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
						"type": "string"
					},
					"name": {
@@ -83,15 +75,12 @@
						"type": "string"
					},
					"version": {
            "description": "Software version of the VNF. This is changed when there is any change to the software included in the VNF package. This information is copied from the VNFD. It shall be present after the VNF package content has been on-boarded and absent otherwise.\n",
						"description": "A Version. Representation: string of variable length.\n",
						"type": "string"
					},
					"checksum": {
						"description": "This type represents the checksum of a VNF package or an artifact file.\n",
            "required": [
              "algorithm",
              "hash"
            ],
						"required": ["algorithm", "hash"],
						"type": "object",
						"properties": {
							"algorithm": {
@@ -104,38 +93,22 @@
							}
						}
					},
					"isEncrypted": {
						"description": "Reflects whether the image is encrypted (true) or not (false).\n",
						"type": "boolean"
					},
					"containerFormat": {
						"description": "Container format indicates whether the software image is in a file format that also contains meta-data about the actual software. Permitted values: - AKI: a kernel image format - AMI: a machine image format - ARI: a ram disk image format - BARE: the image does not have a container or meta-data envelope - DOCKER: docker container format - OVA: OVF package in a tar file - OVF: OVF container format\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: - AKI: a kernel image format - AMI: a machine image format - ARI: a ramdisk image format - ISO: an archive format for the data contents of an optical disc, such as CD-ROM - QCOW2: a common disk image format, which can expand dynamically and supports copy on write - RAW: an unstructured disk image format - VDI: a common disk image format - VHD: a common disk image format - VHDX: enhanced version of VHD format - VMDK: a common disk image format\n",
						"type": "string",
            "enum": [
              "AKI",
              "AMI",
              "ARI",
              "ISO",
              "QCOW2",
              "RAW",
              "VDI",
              "VHD",
              "VHDX",
              "VMDK"
            ]
						"enum": ["AKI", "AMI", "ARI", "ISO", "QCOW2", "RAW", "VDI", "VHD", "VHDX", "VMDK"]
					},
					"createdAt": {
            "description": "Date-time stamp.  Representation: String formatted according to IETF RFC 3339.\n",
            "type": "string",
						"description": "Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
						"format": "date-time"
					},
					"minDisk": {
@@ -158,8 +131,13 @@
						"type": "object"
					},
					"imagePath": {
            "description": "Path in the VNF package, which identifies the image artifact and also allows to access a copy of the image artifact.\n",
						"description": "Path, which identifies the image artifact and also allows to access a copy of the image artifact. For a software image contained as a file in the VNF package, this attribute shall be present, and the value of this attribute shall start with the name of the first segment in the path in the package, i.e., it shall not be prefixed by path separator characters such as \".\" and \"/\".\nEXAMPLE:\tfoo/bar/m%40ster.vhd\nFor an external software image represented as a URI in the VNF descriptor, this attribute shall be present if the image artifact has been downloaded by the NFVO and shall be absent otherwise. If present, it shall contain the artifactPath under which the image artifact can be obtained using the \"Individual artifact in a VNF package\" resource defined in clause 9.4.7. It is the responsibility of the NFVO to synthesize this path in a manner that avoids any collision of the synthesized artifact path with the paths and names of image artifacts included in the package.\n",
						"type": "string"
					},
					"imageUri": {
						"description": "String formatted according to IETF RFC 3986.\n",
						"type": "string",
						"format": "uri"
					}
				}
			}
@@ -168,23 +146,22 @@
			"description": "Information about VNF package artifacts contained in the VNF package that are not software images. 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 a VNF package.  It shall comply with provisions defined in Table 9.5.3.3-1.\n",
        "required": [
          "artifactPath",
          "checksum"
        ],
				"description": "This type represents an artifact other than a software image which is contained in or external to a VNF package. It shall comply with provisions defined in Table 9.5.3.3-1.\n",
				"required": ["isEncrypted", "checksum"],
				"type": "object",
				"properties": {
					"artifactPath": {
            "description": "This type represents stack of string values\n",
						"description": "A string as defined in IETF RFC 8259.\n",
						"type": "string"
					},
					"artifactURI": {
						"description": "String formatted according to IETF RFC 3986.\n",
						"type": "string",
						"format": "uri"
					},
					"checksum": {
						"description": "This type represents the checksum of a VNF package or an artifact file.\n",
            "required": [
              "algorithm",
              "hash"
            ],
						"required": ["algorithm", "hash"],
						"type": "object",
						"properties": {
							"algorithm": {
@@ -197,6 +174,19 @@
							}
						}
					},
					"artifactClassification": {
						"description": "Marks specific types of artifacts as defined in the VNF package. If none of the specific classes listed below applies, the attribute shall not be present. Valid values: - HISTORY: a history artifact as per clause 4.3.3 in ETSI GS NFV-SOL 004 [5] - TESTING: a testing artifact as per clause 4.3.4 in ETSI GS NFV-SOL 004 [5] - LICENSE: a license artifact as per clause 4.3.5 in ETSI GS NFV-SOL 004 [5]\n",
						"type": "string",
						"enum": ["HISTORY", "TESTING", "LICENSE"]
					},
					"isEncrypted": {
						"description": "Reflects whether the artifact is encrypted (true) or not (false).\n",
						"type": "boolean"
					},
					"nonManoArtifactSetId": {
						"description": "Non-MANO artifact set identifier of the non-MANO artifact set to which the artifact belongs, as defined in clause 4.3.7 of ETSI GS NFV-SOL 004 [5]. Shall be provided if the artifact is a non-MANO artifact, and shall be omitted otherwise.\n",
						"type": "string"
					},
					"metadata": {
						"description": "This 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 7159.\n",
						"type": "object"
@@ -205,52 +195,72 @@
			}
		},
		"onboardingState": {
      "description": "The enumeration PackageOnboardingStateType shall comply with the provisions defined in Table 9.5.4.3-1. Permitted values: - CREATED: The 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. validation. - ONBOARDED: The associated VNF package content is successfully on-boarded.\n",
			"description": "The enumeration PackageOnboardingStateType shall comply with the provisions defined in Table 9.5.4.3-1. Permitted values: - CREATED: The 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. validation. - ONBOARDED: The associated VNF package content is successfully on-boarded. - ERROR: There was an error during upload of the VNF package content or external artifacts, or during VNF package processing.\n",
			"type": "string",
      "enum": [
        "CREATED",
        "UPLOADING",
        "PROCESSING",
        "ONBOARDED"
      ]
			"enum": ["CREATED", "UPLOADING", "PROCESSING", "ONBOARDED", "ERROR"]
		},
		"operationalState": {
			"type": "string",
			"description": "\"The enumeration PackageOperationalStateType shall  comply with the provisions defined in Table 9.5.4.4-1.\" Acceptable values are: - ENABLED - The VNF package is enabled, i.e. it can be used for instantiation of new VNF instances. - DISABLED - The VNF package is disabled, i.e. it cannot be used for further VNF instantiation requests            (unless and until the VNF package is re-enabled).\n",
      "enum": [
        "ENABLED",
        "DISABLED"
      ]
			"enum": ["ENABLED", "DISABLED"]
		},
		"usageState": {
			"type": "string",
      "description": "\"The enumeration PackageUsageStateType shall comply with the provisions. Acceptable values are: -IN_USE - VNF instances instantiated from this VNF package exist. -NOT_IN_USE - No existing VNF instance is instantiated from this VNF package\"      \n",
      "enum": [
        "IN_USE",
        "NOT_IN_USE"
      ]
			"description": "\"The enumeration PackageUsageStateType shall comply with the provisions. Acceptable values are: - IN_USE: \"Individual VNF instance\" resources created from this VNF package exist. - NOT_IN_USE: No \"individual VNF instance\" resource created from this VNF package exists.\n",
			"enum": ["IN_USE", "NOT_IN_USE"]
		},
		"vnfmInfo": {
			"description": "Specifies VNFMs compatible with the VNF. This information is copied from the VNFD. See note 4.\n",
			"type": "array",
			"items": {
				"type": "string"
			}
		},
		"userDefinedData": {
			"description": "This 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 7159.\n",
			"type": "object"
		},
		"onboardingFailureDetails": {
			"description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced in this structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
			"type": "object",
			"required": ["status", "detail"],
			"properties": {
				"type": {
					"description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n",
					"type": "string",
					"format": "URI"
				},
				"title": {
					"description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type.  It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n",
					"type": "string"
				},
				"status": {
					"description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n",
					"type": "integer"
				},
				"detail": {
					"description": "A human-readable explanation specific to this occurrence of the problem.\n",
					"type": "string"
				},
				"instance": {
					"description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
					"type": "string",
					"format": "URI"
				}
			}
		},
		"_links": {
			"type": "object",
			"description": "Links to resources related to this resource.\n",
      "required": [
        "self",
        "packageContent"
      ],
			"required": ["self", "packageContent", "vnfd"],
			"properties": {
				"self": {
					"description": "This type represents a link to a resource.\n",
					"type": "object",
          "required": [
            "href"
          ],
					"required": ["href"],
					"properties": {
						"href": {
              "description": "URI of the referenced resource.\n",
							"description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
							"type": "string",
							"format": "url"
						}
@@ -259,12 +269,10 @@
				"vnfd": {
					"description": "This type represents a link to a resource.\n",
					"type": "object",
          "required": [
            "href"
          ],
					"required": ["href"],
					"properties": {
						"href": {
              "description": "URI of the referenced resource.\n",
							"description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
							"type": "string",
							"format": "url"
						}
@@ -273,12 +281,10 @@
				"packageContent": {
					"description": "This type represents a link to a resource.\n",
					"type": "object",
          "required": [
            "href"
          ],
					"required": ["href"],
					"properties": {
						"href": {
              "description": "URI of the referenced resource.\n",
							"description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
							"type": "string",
							"format": "url"
						}
+105 −99
Changes for SOL005/VNFPackageManagement-API/schemas/vnfPkgsInfo.schema.json: 105 added lines, 99 removed lines.
Original line number Diff line number Diff line
@@ -2,12 +2,7 @@
	"type": "array",
	"items": {
	"type": "object",
		"required": [
			"id",
			"onboardingState",
			"operationalState",
			"usageState"
		],
	"required": ["id", "packageSecurityOption", "onboardingState", "operationalState", "usageState", "vnfmInfo", "_links"],
	"properties": {
		"id": {
			"description": "An identifier with the intention of being globally unique.\n",
@@ -26,19 +21,20 @@
			"type": "string"
		},
		"vnfSoftwareVersion": {
				"description": "Software version of the VNF. This is changed when there is any change to the software included in the VNF package. This information is copied from the VNFD. It shall be present after the VNF package content has been on-boarded and absent otherwise.\n",
			"description": "A Version. Representation: string of variable length.\n",
			"type": "string"
		},
		"vnfdVersion": {
				"description": "Software version of the VNF. This is changed when there is any change to the software included in the VNF package. This information is copied from the VNFD. It shall be present after the VNF package content has been on-boarded and absent otherwise.\n",
			"description": "A Version. Representation: string of variable length.\n",
			"type": "string"
		},
		"compatibleSpecificationVersions": {
			"description": "A Version. Representation: string of variable length.\n",
			"type": "string"
		},
		"checksum": {
			"description": "This type represents the checksum of a VNF package or an artifact file.\n",
				"required": [
					"algorithm",
					"hash"
				],
			"required": ["algorithm", "hash"],
			"type": "object",
			"properties": {
				"algorithm": {
@@ -51,29 +47,25 @@
				}
			}
		},
		"packageSecurityOption": {
			"description": "Signals the security option used by the package as defined in clause 5.1 of ETSI GS NFV-SOL 004 [5]. Valid values: OPTION_1, OPTION_2\n",
			"type": "string",
			"enum": ["OPTION_1", "OPTION_2"]
		},
		"signingCertificate": {
			"description": "The singleton signing certificate if it is included as a file in the VNF package.\n",
			"type": "string"
		},
		"softwareImages": {
			"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 a VNF package which represents a software image.  \n",
					"required": [
						"id",
						"name",
						"provider",
						"version",
						"checksum",
						"containerFormat",
						"diskFormat",
						"createdAt",
						"minDisk",
						"minRam",
						"size",
						"imagePath"
					],
				"description": "This type represents an artifact contained in or external to a VNF package which represents a software image.\n",
				"required": ["id", "name", "provider", "version", "checksum", "isEncrypted", "containerFormat", "diskFormat", "createdAt", "minDisk", "minRam", "size", "imagePath"],
				"type": "object",
				"properties": {
					"id": {
							"description": "Identifier of the software image.\n",
						"description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
						"type": "string"
					},
					"name": {
@@ -85,15 +77,12 @@
						"type": "string"
					},
					"version": {
							"description": "Software version of the VNF. This is changed when there is any change to the software included in the VNF package. This information is copied from the VNFD. It shall be present after the VNF package content has been on-boarded and absent otherwise.\n",
						"description": "A Version. Representation: string of variable length.\n",
						"type": "string"
					},
					"checksum": {
						"description": "This type represents the checksum of a VNF package or an artifact file.\n",
							"required": [
								"algorithm",
								"hash"
							],
						"required": ["algorithm", "hash"],
						"type": "object",
						"properties": {
							"algorithm": {
@@ -106,38 +95,22 @@
							}
						}
					},
					"isEncrypted": {
						"description": "Reflects whether the image is encrypted (true) or not (false).\n",
						"type": "boolean"
					},
					"containerFormat": {
						"description": "Container format indicates whether the software image is in a file format that also contains meta-data about the actual software. Permitted values: - AKI: a kernel image format - AMI: a machine image format - ARI: a ram disk image format - BARE: the image does not have a container or meta-data envelope - DOCKER: docker container format - OVA: OVF package in a tar file - OVF: OVF container format\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: - AKI: a kernel image format - AMI: a machine image format - ARI: a ramdisk image format - ISO: an archive format for the data contents of an optical disc, such as CD-ROM - QCOW2: a common disk image format, which can expand dynamically and supports copy on write - RAW: an unstructured disk image format - VDI: a common disk image format - VHD: a common disk image format - VHDX: enhanced version of VHD format - VMDK: a common disk image format\n",
						"type": "string",
							"enum": [
								"AKI",
								"AMI",
								"ARI",
								"ISO",
								"QCOW2",
								"RAW",
								"VDI",
								"VHD",
								"VHDX",
								"VMDK"
							]
						"enum": ["AKI", "AMI", "ARI", "ISO", "QCOW2", "RAW", "VDI", "VHD", "VHDX", "VMDK"]
					},
					"createdAt": {
							"description": "Date-time stamp.  Representation: String formatted according to IETF RFC 3339.\n",
							"type": "string",
						"description": "Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
						"format": "date-time"
					},
					"minDisk": {
@@ -160,8 +133,13 @@
						"type": "object"
					},
					"imagePath": {
							"description": "Path in the VNF package, which identifies the image artifact and also allows to access a copy of the image artifact.\n",
						"description": "Path, which identifies the image artifact and also allows to access a copy of the image artifact. For a software image contained as a file in the VNF package, this attribute shall be present, and the value of this attribute shall start with the name of the first segment in the path in the package, i.e., it shall not be prefixed by path separator characters such as \".\" and \"/\".\nEXAMPLE:\tfoo/bar/m%40ster.vhd\nFor an external software image represented as a URI in the VNF descriptor, this attribute shall be present if the image artifact has been downloaded by the NFVO and shall be absent otherwise. If present, it shall contain the artifactPath under which the image artifact can be obtained using the \"Individual artifact in a VNF package\" resource defined in clause 9.4.7. It is the responsibility of the NFVO to synthesize this path in a manner that avoids any collision of the synthesized artifact path with the paths and names of image artifacts included in the package.\n",
						"type": "string"
					},
					"imageUri": {
						"description": "String formatted according to IETF RFC 3986.\n",
						"type": "string",
						"format": "uri"
					}
				}
			}
@@ -170,23 +148,22 @@
			"description": "Information about VNF package artifacts contained in the VNF package that are not software images. 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 a VNF package.  It shall comply with provisions defined in Table 9.5.3.3-1.\n",
					"required": [
						"artifactPath",
						"checksum"
					],
				"description": "This type represents an artifact other than a software image which is contained in or external to a VNF package. It shall comply with provisions defined in Table 9.5.3.3-1.\n",
				"required": ["isEncrypted", "checksum"],
				"type": "object",
				"properties": {
					"artifactPath": {
							"description": "This type represents stack of string values\n",
						"description": "A string as defined in IETF RFC 8259.\n",
						"type": "string"
					},
					"artifactURI": {
						"description": "String formatted according to IETF RFC 3986.\n",
						"type": "string",
						"format": "uri"
					},
					"checksum": {
						"description": "This type represents the checksum of a VNF package or an artifact file.\n",
							"required": [
								"algorithm",
								"hash"
							],
						"required": ["algorithm", "hash"],
						"type": "object",
						"properties": {
							"algorithm": {
@@ -199,6 +176,19 @@
							}
						}
					},
					"artifactClassification": {
						"description": "Marks specific types of artifacts as defined in the VNF package. If none of the specific classes listed below applies, the attribute shall not be present. Valid values: - HISTORY: a history artifact as per clause 4.3.3 in ETSI GS NFV-SOL 004 [5] - TESTING: a testing artifact as per clause 4.3.4 in ETSI GS NFV-SOL 004 [5] - LICENSE: a license artifact as per clause 4.3.5 in ETSI GS NFV-SOL 004 [5]\n",
						"type": "string",
						"enum": ["HISTORY", "TESTING", "LICENSE"]
					},
					"isEncrypted": {
						"description": "Reflects whether the artifact is encrypted (true) or not (false).\n",
						"type": "boolean"
					},
					"nonManoArtifactSetId": {
						"description": "Non-MANO artifact set identifier of the non-MANO artifact set to which the artifact belongs, as defined in clause 4.3.7 of ETSI GS NFV-SOL 004 [5]. Shall be provided if the artifact is a non-MANO artifact, and shall be omitted otherwise.\n",
						"type": "string"
					},
					"metadata": {
						"description": "This 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 7159.\n",
						"type": "object"
@@ -207,52 +197,72 @@
			}
		},
		"onboardingState": {
				"description": "The enumeration PackageOnboardingStateType shall comply with the provisions defined in Table 9.5.4.3-1. Permitted values: - CREATED: The 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. validation. - ONBOARDED: The associated VNF package content is successfully on-boarded.\n",
			"description": "The enumeration PackageOnboardingStateType shall comply with the provisions defined in Table 9.5.4.3-1. Permitted values: - CREATED: The 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. validation. - ONBOARDED: The associated VNF package content is successfully on-boarded. - ERROR: There was an error during upload of the VNF package content or external artifacts, or during VNF package processing.\n",
			"type": "string",
				"enum": [
					"CREATED",
					"UPLOADING",
					"PROCESSING",
					"ONBOARDED"
				]
			"enum": ["CREATED", "UPLOADING", "PROCESSING", "ONBOARDED", "ERROR"]
		},
		"operationalState": {
			"type": "string",
			"description": "\"The enumeration PackageOperationalStateType shall  comply with the provisions defined in Table 9.5.4.4-1.\" Acceptable values are: - ENABLED - The VNF package is enabled, i.e. it can be used for instantiation of new VNF instances. - DISABLED - The VNF package is disabled, i.e. it cannot be used for further VNF instantiation requests            (unless and until the VNF package is re-enabled).\n",
				"enum": [
					"ENABLED",
					"DISABLED"
				]
			"enum": ["ENABLED", "DISABLED"]
		},
		"usageState": {
			"type": "string",
				"description": "\"The enumeration PackageUsageStateType shall comply with the provisions. Acceptable values are: -IN_USE - VNF instances instantiated from this VNF package exist. -NOT_IN_USE - No existing VNF instance is instantiated from this VNF package\"      \n",
				"enum": [
					"IN_USE",
					"NOT_IN_USE"
				]
			"description": "\"The enumeration PackageUsageStateType shall comply with the provisions. Acceptable values are: - IN_USE: \"Individual VNF instance\" resources created from this VNF package exist. - NOT_IN_USE: No \"individual VNF instance\" resource created from this VNF package exists.\n",
			"enum": ["IN_USE", "NOT_IN_USE"]
		},
		"vnfmInfo": {
			"description": "Specifies VNFMs compatible with the VNF. This information is copied from the VNFD. See note 4.\n",
			"type": "array",
			"items": {
				"type": "string"
			}
		},
		"userDefinedData": {
			"description": "This 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 7159.\n",
			"type": "object"
		},
		"onboardingFailureDetails": {
			"description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced in this structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
			"type": "object",
			"required": ["status", "detail"],
			"properties": {
				"type": {
					"description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n",
					"type": "string",
					"format": "URI"
				},
				"title": {
					"description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type.  It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n",
					"type": "string"
				},
				"status": {
					"description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n",
					"type": "integer"
				},
				"detail": {
					"description": "A human-readable explanation specific to this occurrence of the problem.\n",
					"type": "string"
				},
				"instance": {
					"description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
					"type": "string",
					"format": "URI"
				}
			}
		},
		"_links": {
			"type": "object",
			"description": "Links to resources related to this resource.\n",
				"required": [
					"self",
					"packageContent"
				],
			"required": ["self", "packageContent", "vnfd"],
			"properties": {
				"self": {
					"description": "This type represents a link to a resource.\n",
					"type": "object",
						"required": [
							"href"
						],
					"required": ["href"],
					"properties": {
						"href": {
								"description": "URI of the referenced resource.\n",
							"description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
							"type": "string",
							"format": "url"
						}
@@ -261,12 +271,10 @@
				"vnfd": {
					"description": "This type represents a link to a resource.\n",
					"type": "object",
						"required": [
							"href"
						],
					"required": ["href"],
					"properties": {
						"href": {
								"description": "URI of the referenced resource.\n",
							"description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
							"type": "string",
							"format": "url"
						}
@@ -275,12 +283,10 @@
				"packageContent": {
					"description": "This type represents a link to a resource.\n",
					"type": "object",
						"required": [
							"href"
						],
					"required": ["href"],
					"properties": {
						"href": {
								"description": "URI of the referenced resource.\n",
							"description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
							"type": "string",
							"format": "url"
						}
+8 −8
Changes for SOL005/VNFPackageManagement-API/AccessConfigurationForExternalArtifacts.robot: 8 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Get Access configuration for external artifacts
    ...    Test title: Get Access configuration for external artifacts
    ...    Test objective: The objective is to test the GET method reads the access configuration information that is used by the NFVO to get the content of external VNF package artifacts and perform a JSON schema and content validation of the collected data structure
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
    ...    Reference: Clause 9.4.4a.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Reference: Clause 9.4.4a.3.2 - ETSI GS NFV-SOL 005 [3] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -24,7 +24,7 @@ Get Access configuration for external artifacts - Not Found
    ...    Test title: Get Access configuration for external artifacts - Not Found
    ...    Test objective: The objective is to test that the retrieval of access configuration information that is used by the NFVO to get the content of external VNF package artifacts fails because resource is not present.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.4.4a.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Reference: Clause 9.4.4a.3.2 - ETSI GS NFV-SOL 005 [3] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -37,7 +37,7 @@ PUT Access configuration for external artifacts
    ...    Test title: Access configuration for external artifacts
    ...    Test objective: The objective is to test that PUT method provides the access configuration information for the NFVO to download the content of external VNF package artifacts.
    ...    Pre-conditions:  the individual VNF package resource shall have been created, and the value of "onboardingState" attribute shall equal to "CREATED" or "ERROR"
    ...    Reference: Clause 9.4.4a.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Reference: Clause 9.4.4a.3.3 - ETSI GS NFV-SOL 005 [3] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -51,7 +51,7 @@ PUT Access configuration for external artifacts - Downloading
    ...    Test title: Access configuration for external artifacts - Downloading
    ...    Test objective: The objective is to test that VNF package has been uploaded successfully previously, to indicate that the access configuration information has been stored successfully by the NFVO and the NFVO now starts downloading external artifacts.
    ...    Pre-conditions:  the individual VNF package resource shall have been created, and the value of "onboardingState" attribute shall equal to "CREATED" or "ERROR"
    ...    Reference: Clause 9.4.4a.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Reference: Clause 9.4.4a.3.3 - ETSI GS NFV-SOL 005 [3] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -64,7 +64,7 @@ PUT Access configuration for external artifacts - Conflict
    ...    Test title: Access configuration for external artifacts
    ...    Test objective: The objective is to test that PUT method provides the access configuration information for the NFVO to download the content of external VNF package artifacts.
    ...    Pre-conditions:  the individual VNF package resource shall have been created, and the value of "onboardingState" attribute is neither "CREATED" nor "ERROR"
    ...    Reference: Clause 9.4.4a.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Reference: Clause 9.4.4a.3.3 - ETSI GS NFV-SOL 005 [3] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -77,7 +77,7 @@ POST Access configuration for external artifacts - Method not implemented
    ...    Test title: POST Access configuration for external artifacts - Method not implemented
    ...    Test objective: The objective is to test that POST method is not allowed to create access configuration for external artifacts
    ...    Pre-conditions: none
    ...    Reference: Clause 9.4.4a.3.1 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Reference: Clause 9.4.4a.3.1 - ETSI GS NFV-SOL 005 [3] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -89,7 +89,7 @@ PATCH Access configuration for external artifacts - Method not implemented
    ...    Test title: PATCH Access configuration for external artifacts - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not allowed to update access configuration for external artifacts
    ...    Pre-conditions: none
    ...    Reference: Clause 9.4.4a.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Reference: Clause 9.4.4a.3.4 - ETSI GS NFV-SOL 005 [3] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -101,7 +101,7 @@ DELETE Access configuration for external artifacts - Method not implemented
    ...    Test title: DELETE Access configuration for external artifacts - Method not implemented
    ...    Test objective: The objective is to test that DELETE  method is not allowed to delete access configuration for external artifacts
    ...    Pre-conditions: none
    ...    Reference: Clause 9.4.4a.3.5 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Reference: Clause 9.4.4a.3.5 - ETSI GS NFV-SOL 005 [3] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
+10 −10
Changes for SOL005/VNFPackageManagement-API/ApiVersion.robot: 10 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ POST API Version - Method not implemented
    ...    Test title: POST API version - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none    
@@ -24,7 +24,7 @@ GET API Version
    ...    Test title: GET API Version
    ...    Test objective: The objective is to test that GET method successfully return ApiVersionInformation
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -37,7 +37,7 @@ PUT API Version - Method not implemented
    ...    Test title: PUT API Version - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -49,7 +49,7 @@ PATCH API Version - Method not implemented
    ...    Test title: PATCH API Version - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -61,7 +61,7 @@ DELETE API Version - Method not implemented
    ...    Test title: DELETE API Version - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -73,7 +73,7 @@ POST API Version with apiMajorVerion - Method not implemented
    ...    Test title: POST API version with apiMajorVerion - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none    
@@ -85,7 +85,7 @@ GET API Version with apiMajorVerion
    ...    Test title: GET API Version with apiMajorVerion
    ...    Test objective: The objective is to test that GET method successfully return ApiVersionInformation
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -98,7 +98,7 @@ PUT API Version with apiMajorVerion - Method not implemented
    ...    Test title: PUT API Version with apiMajorVerion - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -110,7 +110,7 @@ PATCH API Version with apiMajorVerion - Method not implemented
    ...    Test title: PATCH API Version with apiMajorVerion - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -122,7 +122,7 @@ DELETE API Version with apiMajorVerion - Method not implemented
    ...    Test title: DELETE API Version with apiMajorVerion - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 v2.7.1
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 v2.8.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none 
Loading
Loading