SOL002 - VNF Configuration interface 2.4.1.postman_collection.json 3.84 KB
Newer Older
{
	"info": {
		"_postman_id": "2dae2407-916e-4057-84ea-d2e5e9fd4769",
		"name": "SOL002 - VNF Configuration interface 2.4.1",
		"description": "VNF Configuration interface of ETSI NFV SOL002\n\nIMPORTANT: Please note that this file might be not aligned to the current version of the ETSI Group Specification it refers to. In case of discrepancies the published ETSI Group Specification takes precedence.\n\nPlease report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis&list_id=61&product=NFV&resolution=---\n",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "configuration",
			"description": "Folder for configuration",
			"item": [
				{
					"name": "Read VNF/VNFC configuration from VNF.",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"value": "{{Authorization}}"
							}
						],
						"body": {},
						"url": {
							"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnfconfig/v1/configuration",
							"protocol": "{{scheme}}",
							"host": [
								"{{host}}{{port}}"
							],
							"path": [
								"{{uri_prefix}}vnfconfig",
								"v1",
								"configuration"
							]
						},
						"description": "The client can use this method to read configuration information about a VNF instance and/or its VNFC instances.\n"
					},
					"response": []
				},
				{
					"name": "Modify VNF/VNFC configuration.",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"value": "{{Authorization}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"vnfConfigurationData\": {\n        \"extCpConfig\": {\n            \"cpId\": \"123\",\n            \"cpdId\": \"456\",\n            \"addresses\": [\n                {\n                    \"address\": {\n                        \"macAddress\": \"fa:16:3e:be:53:c6\",\n                        \"ipAddress\": \"10.255.255.11\"\n                    },\n                    \"useDynamicAddress\": true,\n                    \"port\": 0\n                }\n            ]\n        },\n        \"dhcpServer\": \"patched configuration - third time\",\n        \"vnfSpecificData\": []\n    },\n    \"vnfcConfigurationData\": [\n        {\n            \"vnfcInstanceId\": \"string\",\n            \"extCpConfig\": {\n                \"cpId\": null,\n                \"cpdId\": null,\n                \"addresses\": [\n                    {\n                        \"address\": {\n                            \"macAddress\": \"fa:16:3e:be:53:c6\",\n                            \"ipAddress\": \"10.255.255.11\"\n                        },\n                        \"useDynamicAddress\": true,\n                        \"port\": 0\n                    }\n                ]\n            },\n            \"dhcpServer\": \"here as well\",\n            \"vnfcSpecificData\": {\n                \"vdu_name\": \"A-VDFU\"\n            }\n        }\n    ]\n}"
						},
						"url": {
							"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnfconfig/v1/configuration",
							"protocol": "{{scheme}}",
							"host": [
								"{{host}}{{port}}"
							],
							"port": "",
							"path": [
								"",
								"",
								"vnfconfig",
								"v1",
								"configuration"
							]
						},
						"description": "This method sets or modifies a configuration resource."
					},
					"response": []
				}
			]
		}
	]
}