/
Ovsdb-Southbound-Collection-for-Single-Node-Cluster.json.postman_collection
285 lines (285 loc) · 15 KB
/
Ovsdb-Southbound-Collection-for-Single-Node-Cluster.json.postman_collection
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
{
"id": "2de57d6a-ec2c-a568-c3a9-761f712622d3",
"name": "Ovsdb Southbound Collection for Single Node Cluster",
"description": "All the rest conf request present in this collection depends on the \"Single Node Cluster Setup Environment\" file.\nYou need to import this file, using the \"Manager Environment\" option present in the right top cornor of the postman window.",
"order": [
"dc447867-22db-fd3a-b482-6186bd3d190a",
"b09f9ed0-4df7-35d3-e81d-b9447313d722",
"8b2d3563-28d4-91c8-5f2b-ce959c348f2d",
"933a4c6d-cd57-1a68-012e-1d08a9c34bc6",
"31a9b08f-051b-c42d-9abd-612e8056c3b0",
"655ce1b6-dc16-d38c-6ab4-4b8b9515e1ce",
"2cc24c37-d5f2-2ef3-d946-8cfe44eabf56",
"22815a0a-75ca-f191-92b5-ca3b2fb67bd7",
"88edd164-76a3-c5a5-2b89-613ec89e82a4",
"58ee801a-3fa3-0d48-7672-14a390a0ea6d",
"b25cd26b-dd0b-369d-a246-ed1a29d0189b",
"8fb3e047-f00a-1dff-df9c-c548b2749c1e",
"001b745f-fad9-3f41-38f1-6ef5baf011a6",
"c7cb64ce-db7b-0c95-6268-bc265766a597"
],
"folders": [],
"timestamp": 0,
"owner": "128022",
"remoteLink": "",
"public": false,
"requests": [
{
"id": "001b745f-fad9-3f41-38f1-6ef5baf011a6",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\nAccept: application/json\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}%2Fbridge%2Fbrtest/termination-point/testport/",
"preRequestScript": "",
"pathVariables": {},
"method": "PUT",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443830363372,
"name": "Create Termination Point on Given Bridge",
"description": "This restconf request creates port/interface (`testport`) and attach it to give bridge (`HYPERVISOR-NODE-ID`). Using ovsdb:option, you can pass the optional input to port/interface create optional. E.g. remote_ip=xx.xx.xx.xx.\n\n Note: Please change the attributes of the interface if you don't want to create this default termination point.",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3",
"rawModeData": "{\n \"network-topology:termination-point\": [\n \t{\n \t\t\t\"ovsdb:options\": [\n \t\t\t{\n \"ovsdb:option\": \"remote_ip\",\n \"ovsdb:value\" : \"10.10.14.11\"\n\t\t \t}\n\t \t\t],\n\t \t\t\"ovsdb:name\": \"testport\",\n \t\"ovsdb:interface-type\": \"ovsdb:interface-type-vxlan\",\n \t\t\t\"tp-id\": \"testport\",\n \"vlan-tag\": \"1\",\n \"trunks\": [\n {\n \"trunk\": \"5\"\n }\n ],\n \"vlan-mode\":\"access\"\n\t\t}\n ]\n}"
},
{
"id": "22815a0a-75ca-f191-92b5-ca3b2fb67bd7",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/operational/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}%2Fbridge%2Fbrtest",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443831851013,
"name": "OVSDB Bridge Operational Data",
"description": "This restconf request fetch the data from `Operational` data store for specific bridge (`brtest`) present on given ovsdb server/hypervisor (`HYPERVISOR-NODE-ID`).",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"id": "2cc24c37-d5f2-2ef3-d946-8cfe44eabf56",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}%2Fbridge%2Fbrtest",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443828713776,
"name": "OVSDB Bridge Configuration Data",
"description": "This restconf request fetch the data from `Configuration` data store for specific bridge (`brtest`) present on the given ovsdb server/hypervisor(`HYPERVISOR-NODE-ID`).",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"id": "31a9b08f-051b-c42d-9abd-612e8056c3b0",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}",
"preRequestScript": "",
"pathVariables": {},
"method": "PUT",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443827769663,
"name": "Connect to the OVSDB Server",
"description": "This Restconf request will ask controller to initiate the connection to ovsdb server running on hypervisor. Controller assumes that ovsdb server is listening for tcp connection in passive mode. To configure the ovsdb server to listen in passive mode, please fire following command on hypervisor\n\n`ovs-vsctl set-manager ptcp:16640`\n\nwhatever port number you use here, you should use the same port number for HYPERVISOR-OVSDB-PORT key in \"Single Node Cluster Setup Environment\" Environmen file.\n\n Note: Please set the environment variable `HYPERVISOR-IP` to the hypervisor ip that is running OVSDB server and `HYPERVISOR-OVSDB-PORT` to the port number on which OVSDB server is listening. Both of these environment variables are present in the \"Single Node Cluster Setup Enviornment\" file. ",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3",
"rawModeData": "{\n \"network-topology:node\": [\n {\n \"node-id\": \"ovsdb://{{HYPERVISOR-NODE-ID}}\",\n \"connection-info\": {\n \"ovsdb:remote-port\": \"{{HYPERVISOR-OVSDB-PORT}}\",\n \"ovsdb:remote-ip\": \"{{HYPERVISOR-IP}}\"\n }\n }\n ]\n}"
},
{
"id": "58ee801a-3fa3-0d48-7672-14a390a0ea6d",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}%2Fbridge%2Fbrtest",
"preRequestScript": "",
"pathVariables": {},
"method": "DELETE",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443828628211,
"name": "Delete OVS Bridge on Hypervisor",
"description": "This restconf request deletes OVS bridge (`brtest`) on the hypervisor with the node-id provided through `HYPERVISOR-NODE-ID` environment variable set in the `Single Node Cluster Setup Environment` file.",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"id": "655ce1b6-dc16-d38c-6ab4-4b8b9515e1ce",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}",
"preRequestScript": "",
"pathVariables": {},
"method": "DELETE",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443830167496,
"name": "Disconnect from OVSDB Server",
"description": "This restconf request ask controller to disconnect from the OVSDB server/hypervisor (`HYPERVISOR-NODE-ID`).\n",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"id": "88edd164-76a3-c5a5-2b89-613ec89e82a4",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}%2Fbridge%2Fbrtest",
"preRequestScript": "",
"pathVariables": {},
"method": "PUT",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443827829511,
"name": "Create OVS Bridge on Hypervisor",
"description": "This restconf request creates bridge (`brtest`) on the specified hypervisor running ovsdb server. Restconf URI need the node-id of the OVSDB server (hypervisor) where you need to get the bridge. You can find out the node id by using the \"GET Operational Topology\" request.\n\n Note: these %2F ('/') in the url are not there by mistake, those are there intentionally because node-id can contain '/'.\n",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3",
"rawModeData": "{\n \"network-topology:node\": [\n {\n \"node-id\": \"ovsdb://{{HYPERVISOR-NODE-ID}}/bridge/brtest\",\n \"ovsdb:bridge-name\": \"brtest\",\n \"ovsdb:datapath-id\": \"00:00:b2:bf:48:25:f2:4b\",\n \"ovsdb:protocol-entry\": [\n {\n \"protocol\": \"ovsdb:ovsdb-bridge-protocol-openflow-13\"\n }\n ],\n \"ovsdb:controller-entry\": [\n {\n \"target\": \"tcp:11.11.11.11:6633\"\n }\n ],\n \"ovsdb:managed-by\": \"/network-topology:network-topology/network-topology:topology[network-topology:topology-id='ovsdb:1']/network-topology:node[network-topology:node-id='ovsdb://{{HYPERVISOR-NODE-ID}}']\"\n }\n ]\n}"
},
{
"id": "8b2d3563-28d4-91c8-5f2b-ce959c348f2d",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443829913657,
"name": "OVSDB Server Configuration Data",
"description": "This restconf request fetch the data from `Configuration` data store for given ovsdb server/hypervisor (`HYPERVISOR-NODE-ID`).",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"id": "8fb3e047-f00a-1dff-df9c-c548b2749c1e",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/operational/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}%2Fbridge%2Fbrtest/termination-point/testport/",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443831912311,
"name": "Termination Point Operational Data",
"description": "This restconf request fetch data from `Operational` data store for specific termination point (`testport`) present on the given bridge (`HYPERVISOR-NODE-ID`).",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"id": "933a4c6d-cd57-1a68-012e-1d08a9c34bc6",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/operational/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443831731294,
"name": "OVSDB Server Operational Data",
"description": "This restconf request fetch the data from `Operational` data store for given ovsdb server/hypervisor (`HYPERVISOR-NODE-ID`).",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"folder": null,
"id": "b09f9ed0-4df7-35d3-e81d-b9447313d722",
"name": "OVSDB Operational Topology",
"dataMode": "params",
"data": [],
"rawModeData": " {\n \"network-topology:node\": [\n {\n \"node-id\": \"ovsdb:node3\",\n \"connection-info\": {\n \"ovsdb:remote-port\": 16640,\n \"ovsdb:remote-ip\": \"192.168.201.129\"\n }\n }\n ]\n }",
"descriptionFormat": null,
"description": "This restconf request fetches the topology details from the `Operational` data store that contains details about all the connected hypervisor, bridges present on the hypervisor and termination point connected to each bridge.",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"method": "GET",
"pathVariables": {},
"url": "http://{{CONTROLLER-IP}}:8181/restconf/operational/network-topology:network-topology/topology/ovsdb:1/",
"preRequestScript": "",
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"id": "b25cd26b-dd0b-369d-a246-ed1a29d0189b",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}%2Fbridge%2Fbrtest/termination-point/testport/",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443831899373,
"name": "Termination Point Configuration Data",
"description": "This restconf request fetch data from `Configuration` data store for specific termination point (`testport`) present on the given bridge (`HYPERVISOR-NODE-ID`).",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"id": "c7cb64ce-db7b-0c95-6268-bc265766a597",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F{{HYPERVISOR-NODE-ID}}%2Fbridge%2Fbrtest/termination-point/testport/",
"preRequestScript": "",
"pathVariables": {},
"method": "DELETE",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1443831952250,
"name": "Delete Termination Point on Given Bridge",
"description": "Delete termination point (`testport`) present on the given bridge (`HYPERVISOR-NODE-ID`). ",
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
},
{
"folder": null,
"id": "dc447867-22db-fd3a-b482-6186bd3d190a",
"name": "OVSDB Configuration Topology",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "This restconf request fetch the topology details from `Configuration` data store that is pushed by user..",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\nAccept: application/json\n",
"method": "GET",
"pathVariables": {},
"url": "http://{{CONTROLLER-IP}}:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1",
"preRequestScript": "",
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"collectionId": "2de57d6a-ec2c-a568-c3a9-761f712622d3"
}
]
}