summaryrefslogtreecommitdiffstats
path: root/dhcp/dhcp_postman_collection_v1.0.0.json
blob: d2afc8cd5c57221b8bb44de7179493966ed3fd24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
	"id": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
	"name": "DHCP",
	"description": "Provides DHCP configuration examples for hc2vpp.",
	"order": [
		"990feae9-d039-4f1e-6c2d-df1a16ee2ba5",
		"4cf4fe5e-158f-a36d-0cc4-412e99475870",
		"ca4b868e-dcab-b87e-f6d9-99ff297b9f38",
		"24669f87-8005-8c09-c516-d9fa3ba4b470",
		"c5791bcb-a98e-b6a9-e143-4f0af0453164",
		"d312ab52-434d-2838-aa94-cea8eb1d2d50",
		"45f81f14-e5d8-db5c-a8c3-12238b78c28d",
		"3d271bcc-ca7b-aa7f-3446-c8fc52a9f1e9"
	],
	"folders": [],
	"timestamp": 1487055938314,
	"owner": "567303",
	"public": false,
	"requests": [
		{
			"id": "24669f87-8005-8c09-c516-d9fa3ba4b470",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0/server/0/1.2.3.4",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1488460094116,
			"name": "Delete one of DHCP servers",
			"description": "Equivalent of\n\nvppctl set dhcp proxy del server 1.2.3.4\n\nvppctl show dhcp proxy",
			"collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
			"responses": [],
			"rawModeData": ""
		},
		{
			"id": "3d271bcc-ca7b-aa7f-3446-c8fc52a9f1e9",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/",
			"pathVariables": {},
			"preRequestScript": null,
			"method": "GET",
			"collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
			"data": [],
			"dataMode": "raw",
			"name": "Show DHCP Relay oper",
			"description": "",
			"descriptionFormat": "html",
			"time": 1488193893443,
			"version": 2,
			"responses": [],
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"server-address\": \"1.2.3.4\",\n\t\t\t\"gateway-address\": \"5.6.7.8\"}\n\t]\n}\n"
		},
		{
			"id": "45f81f14-e5d8-db5c-a8c3-12238b78c28d",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1487059202453,
			"name": "Show DHCP Relay cfg",
			"description": "",
			"collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
			"responses": [],
			"rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"server-address\": \"1.2.3.4\",\n\t\t\t\"gateway-address\": \"5.6.7.8\"}\n\t]\n}\n"
		},
		{
			"id": "4cf4fe5e-158f-a36d-0cc4-412e99475870",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/1",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1488458844687,
			"name": "Add IP4 DHCP Relay #2",
			"description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.6 src-address 5.6.7.9 rx-fib-id 1\n\ncan be verified with\n\nvppctl show dhcp proxy",
			"collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
			"responses": [],
			"rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 1,\n\t\t\t\"gateway-address\": \"5.6.7.9\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.6\"\n\t\t\t\t}\n        \t]\n\t\t}\n\t]\n}\n"
		},
		{
			"id": "990feae9-d039-4f1e-6c2d-df1a16ee2ba5",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1488459981869,
			"name": "Add IP4 DHCP Relay #1",
			"description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.3 src-address 5.6.7.8\nvppctl set dhcp proxy server 1.2.3.4 src-address 5.6.7.8\nvppctl set dhcp proxy server 1.2.3.5 src-address 5.6.7.8 rx-fib-id 1\n\n\ncan be verified with\n\nvppctl show dhcp proxy",
			"collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
			"responses": [],
			"rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"gateway-address\": \"5.6.7.8\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.3\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.4\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 1,\n\t\t\t\t\t\"address\": \"1.2.3.5\"\n\t\t\t\t}\n        \t]\n\t\t}\n\t]\n}\n"
		},
		{
			"id": "c5791bcb-a98e-b6a9-e143-4f0af0453164",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1487059058881,
			"name": "Delete IP4 DHCP Relay #1",
			"description": "Removes DHCP relay configuration for rx-fib-id=0\n\nCan be verified with:\n\nvppctl show dhcp proxy",
			"collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
			"responses": [],
			"rawModeData": ""
		},
		{
			"id": "ca4b868e-dcab-b87e-f6d9-99ff297b9f38",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv6/1",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1488458977472,
			"name": "Configure IP6 DHCP Relay",
			"description": "Configuration of IP6 DHCP proxy is not supported trough CLI",
			"collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
			"responses": [],
			"rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t        \"address-type\": \"ipv6\",\n\t        \"rx-vrf-id\": 1,\n\t        \"gateway-address\": \"2001::2\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 2,\n\t\t\t\t\t\"address\": \"2001::1\"\n\t\t\t\t}\n        \t]\n\t\t}\n\t]\n}\n"
		},
		{
			"id": "d312ab52-434d-2838-aa94-cea8eb1d2d50",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/1",
			"preRequestScript": null,
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": null,
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1487059316221,
			"name": "Delete IP4 DHCP Relay #2",
			"description": "Removes DHCP relay configuration for rx-fib-id=1\n\nCan be verified with:\n\nvppctl show dhcp proxy",
			"collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
			"responses": [],
			"rawModeData": ""
		}
	]
}