summaryrefslogtreecommitdiffstats
path: root/dhcp/dhcp_postman_collection.json
blob: e7070ed36cf2d1fa5e041d71a83025ec01d169d5 (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
{
	"id": "a38b7e49-665c-4646-723d-d78bbf27080e",
	"name": "DHCP",
	"description": "Provides DHCP configuration examples for hc2vpp.",
	"order": [
		"e718ef1d-ec09-23a6-f644-7306545453bd",
		"80aae885-6a8b-09b2-f3cc-8c52fa4e081e",
		"8362683a-c911-27fa-c0bd-8a3515cc4bae",
		"a76f4dce-f094-ecff-d1c1-28217de33494",
		"c56f4661-f9ff-38ee-cf0b-0863e5809f4e",
		"43ee4aca-717c-bfdb-7152-520474e5eef6"
	],
	"folders": [],
	"timestamp": 1487055938314,
	"owner": "567303",
	"public": false,
	"requests": [
		{
			"id": "43ee4aca-717c-bfdb-7152-520474e5eef6",
			"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": "a38b7e49-665c-4646-723d-d78bbf27080e",
			"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": "80aae885-6a8b-09b2-f3cc-8c52fa4e081e",
			"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": 1487059355510,
			"name": "Add IP4 DHCP Relay #2",
			"description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.5 src-address 5.6.7.9 add-option-82\n\ncan be verified with\n\nvppctl show dhcp proxy",
			"collectionId": "a38b7e49-665c-4646-723d-d78bbf27080e",
			"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\"server-address\": \"1.2.3.5\",\n\t\t\t\"gateway-address\": \"5.6.7.9\"}\n\t]\n}\n"
		},
		{
			"id": "8362683a-c911-27fa-c0bd-8a3515cc4bae",
			"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": 1487056567412,
			"name": "Configure IP6 DHCP Relay",
			"description": "Configuration of IP6 DHCP proxy is not supported trough CLI",
			"collectionId": "a38b7e49-665c-4646-723d-d78bbf27080e",
			"responses": [],
			"rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t        \"address-type\": \"ipv6\",\n\t        \"rx-vrf-id\": 1,\n\t        \"server-address\": \"2001::1\",\n\t        \"server-vrf-id\": 2,\n\t        \"gateway-address\": \"2001::2\"}\n\t]\n}\n"
		},
		{
			"id": "a76f4dce-f094-ecff-d1c1-28217de33494",
			"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": "Equivalent of\n\nvppctl set dhcp proxy del server 1.2.3.4\n\nvppctl show dhcp proxy",
			"collectionId": "a38b7e49-665c-4646-723d-d78bbf27080e",
			"responses": [],
			"rawModeData": ""
		},
		{
			"id": "c56f4661-f9ff-38ee-cf0b-0863e5809f4e",
			"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": "Equivalent of\n\nvppctl set dhcp proxy del server 1.2.3.5\n\nvppctl show dhcp proxy",
			"collectionId": "a38b7e49-665c-4646-723d-d78bbf27080e",
			"responses": [],
			"rawModeData": ""
		},
		{
			"id": "e718ef1d-ec09-23a6-f644-7306545453bd",
			"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": 1487056454396,
			"name": "Add IP4 DHCP Relay #1",
			"description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.4 src-address 5.6.7.8 add-option-82\n\ncan be verified with\n\nvppctl show dhcp proxy",
			"collectionId": "a38b7e49-665c-4646-723d-d78bbf27080e",
			"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"
		}
	]
}