PackageChangeNotification.schema.json 3.26 KB
Newer Older
{
	"description": "This type represents a VNF package management notification, which informs the receiver of a change of the status in an on-boarded VNF package. Only changes in the \"operationalState\" attribute of an on-boarded VNF package and the deletion NF package will be reported. Changes in the \"usageState\" and \"onboardingState\" attributes are not reported. The notification shall be triggered by the NFVO when there is a change in the status of an onboarded VNF package, as follows: * The \"operationalState\" attribute of a VNF package has changed, and the\n  \"onboardingState\" attribute of the package has the value \"ONBOARDED\"\n  (i.e. the package has been onboarded previously).\n* The on-boarded VNF package has been deleted.\n",
	"type": "object",
	"required": [
		"id",
		"notificationType",
		"timeStamp",
		"vnfPkgId",
		"vnfdId",
		"changeType",
		"_links"
	],
	"properties": {
		"id": {
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
		},
		"notificationType": {
			"description": "Discriminator for the different notification types.  Shall be set to \"VnfPackageChangeNotification\" for this notification type.\n",
			"type": "string",
			"enum": [
				"VnfPackageChangeNotification"
			]
		},
		"subscriptionId": {
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
		},
		"timeStamp": {
			"description": "Date-time stamp.  Representation: String formatted according to IETF RFC 3339.\n",
			"type": "string",
			"format": "date-time"
		},
		"vnfPkgId": {
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
		},
		"vnfdId": {
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
		},
		"changeType": {
			"description": "- OP_STATE_CHANGE: The \"operationalState\" attribute has been changed. - PKG_DELETE: The VNF package has been deleted.\n",
			"type": "string",
			"enum": [
				"OP_STATE_CHANGE",
				"PKG_DELETE"
			]
		},
		"operationalState": {
			"description": "- ENABLED: The VNF package is enabled, i.e. it can be used for\n  instantiation of new VNF instances.\n- DISABLED: The VNF package is disabled, i.e. it cannot be used for\n  further VNF instantiation requests (unless and until the VNF package\n  is re-enabled).\n",
			"type": "string",
			"enum": [
				"ENABLED",
				"DISABLED"
			]
		},
		"_links": {
			"description": "This type represents the links to resources that a VNF package management notification can contain.\n",
			"type": "object",
			"required": [
				"vnfPackage",
				"subscription"
			],
			"properties": {
				"vnfPackage": {
					"description": "This type represents a link to a resource.\n",
					"type": "object",
					"required": [
						"href"
					],
					"properties": {
						"href": {
							"description": "URI of the referenced resource.\n",
							"type": "string",
							"format": "url"
						}
					}
				},
				"subscription": {
					"description": "This type represents a link to a resource.\n",
					"type": "object",
					"required": [
						"href"
					],
					"properties": {
						"href": {
							"description": "URI of the referenced resource.\n",
							"type": "string",
							"format": "url"
						}
					}
				}
			}
		}
	}
}