All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ght.lispflowmapping.mappingservice.neutron.1.11.0.source-code.neutron_RESTCONF_postman_collection.json Maven / Gradle / Ivy

There is a newer version: 1.13.5
Show newest version
{
	"variables": [],
	"info": {
		"name": "Neutron",
		"_postman_id": "72aedd41-4190-3ce4-0bc5-a150f0f6550f",
		"description": "",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "GET all",
			"request": {
				"url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/neutron:neutron/",
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4=",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/xml",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "\n    true\n    a87cc70a-3e15-4acf-8205-9b711a3531b7\n"
				},
				"description": ""
			},
			"response": []
		},
		{
			"name": "POST add-mapping disting",
			"request": {
				"url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/odl-mappingservice:add-mapping",
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4=",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"input\": {\n        \"mapping-record\": {\n            \"recordTtl\": 1440,\n            \"mapVersion\": 1,\n            \"action\": \"NoAction\",\n            \"authoritative\": true,\n            \"eid\": {\n                \"address-type\": \"ietf-lisp-address-types:distinguished-name-afi\",\n                \"distinguished-name\": \"host1\"\n            },\n            \"LocatorRecord\": {\n                \"locator-id\": \"locator-id\",\n                \"priority\": 1,\n                \"weight\": 1,\n                \"multicastPriority\": 1,\n                \"localLocator\": true,\n                \"rlocProbed\": true,\n                \"routed\": true,\n                \"multicastWeight\": 1,\n                \"rloc\": {\n                    \"ipv4-binary\": \"wKgAAg==\"\n                }\n            }\n        }\n    }\n}"
				},
				"description": ""
			},
			"response": []
		},
		{
			"name": "POST get-mapping disting",
			"request": {
				"url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/odl-mappingservice:get-mapping",
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4=",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"input\": {\n        \"eid\": {\n            \"address-type\": \"ietf-lisp-address-types:distinguished-name-afi\",\n            \"distinguished-name\": \"host1\"\n        }\n    }\n}"
				},
				"description": ""
			},
			"response": []
		},
		{
			"name": "POST new network",
			"request": {
				"url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/neutron:neutron/networks/",
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4=",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/xml",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "\n    11111111-1111-1111-1111-111111111111\n    true\n    Network 1\n    a1111111-1111-1111-1111-111111111111\n    true\n    Status\n\n"
				},
				"description": ""
			},
			"response": []
		},
		{
			"name": "POST new port",
			"request": {
				"url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/neutron:neutron/ports/",
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4=",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/xml",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "\n    a87cc70a-3e15-aaaa-1111-9b711a3531b8\n    Port 1\n    a1111111-1111-1111-1111-111111111111\n    true\n    port-status\n    \n        aa:bb:cc:dd:ee:ff\n        192.168.0.2\n    \n    11111111-1111-1111-1111-111111111111\n    Device owner\n    11:22:33:44:55:66\n    \n        b1111111-1111-1111-1111-111111111111\n        192.168.0.2\n    \n    b1111111-1111-1111-1111-aaaaaaaaaaaa\n    Device ID\n    host1\n"
				},
				"description": ""
			},
			"response": []
		},
		{
			"name": "POST new subnet",
			"request": {
				"url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/neutron:neutron/subnets",
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Basic YWRtaW46YWRtaW4=",
						"description": ""
					},
					{
						"key": "Content-Type",
						"value": "application/xml",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "\n    99999999-7777-9999-9999-999999999999\n    Network 1\n    c1111111-1111-1111-1111-111111111111\n    11111111-1111-1111-1111-111111111111\n    prefix:ip-version-v4\n    192.168.198.0/24\n    192.168.0.0\n    1.1.1.1\n    prefix:dhcpv6-off\n    prefix:dhcpv6-off\n    \n        192.168.0.1\n        192.168.0.2\n    \n    \n        141.59.64.7/24\n    \n\n"
				},
				"description": ""
			},
			"response": []
		}
	]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy