HONEYCOMB-377: remove enabled flag for bgp
[honeycomb.git] / infra / northbound / bgp / bgp_postman_collection.json
1 {
2         "id": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
3         "name": "Honeycomb BGP RESTCONF calls",
4         "description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html",
5         "order": [
6                 "de49ba67-7f69-a866-62e1-3102b610a85b",
7                 "f3f23ede-fa81-fab9-9668-55aa746dec67",
8                 "5b4964f0-183d-33fb-fe85-c9720101ebda",
9                 "07529ecd-4c19-b46e-b033-d98d390fda4c",
10                 "fb3c78a8-0d4e-2cb6-fddd-8f42e0336f53",
11                 "708b7662-c912-724d-6267-91b4ee6a95a1",
12                 "db1e7d40-8dc8-be65-9467-22a39cde24eb",
13                 "7dcba5fa-d007-7aab-b0b5-8d855dc3c2b9",
14                 "a45a76ba-0d23-57b4-eaf5-0b660a7852b3",
15                 "2a3057b5-3961-45cf-a8bb-b58e056fe1a5"
16         ],
17         "folders": [],
18         "timestamp": 1494477000331,
19         "owner": "567303",
20         "public": false,
21         "requests": [
22                 {
23                         "id": "07529ecd-4c19-b46e-b033-d98d390fda4c",
24                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
25                         "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes",
26                         "preRequestScript": null,
27                         "pathVariables": {},
28                         "method": "POST",
29                         "data": [],
30                         "dataMode": "raw",
31                         "tests": null,
32                         "currentHelper": "normal",
33                         "helperAttributes": {},
34                         "time": 1494502752142,
35                         "name": "add ipv4unicast route",
36                         "description": "",
37                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
38                         "responses": [],
39                         "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n    <path-id>0</path-id>\n    <prefix>10.0.0.11/32</prefix>\n    <attributes>\n        <as-path></as-path>\n        <origin>\n            <value>igp</value>\n        </origin>\n        <local-pref>\n            <pref>100</pref>\n        </local-pref>\n        <ipv4-next-hop>\n            <global>10.11.1.1</global>\n        </ipv4-next-hop>\n    </attributes>\n</ipv4-route>"
40                 },
41                 {
42                         "id": "2a3057b5-3961-45cf-a8bb-b58e056fe1a5",
43                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
44                         "headerData": [
45                                 {
46                                         "key": "Content-Type",
47                                         "value": "application/xml",
48                                         "description": "",
49                                         "enabled": true
50                                 },
51                                 {
52                                         "key": "Authorization",
53                                         "value": "Basic YWRtaW46YWRtaW4=",
54                                         "description": "",
55                                         "enabled": true
56                                 }
57                         ],
58                         "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes",
59                         "queryParams": [],
60                         "preRequestScript": null,
61                         "pathVariables": {},
62                         "pathVariableData": [],
63                         "method": "POST",
64                         "data": [],
65                         "dataMode": "raw",
66                         "tests": null,
67                         "currentHelper": "normal",
68                         "helperAttributes": {},
69                         "time": 1497523964759,
70                         "name": "add IPv4 labeled unicast route",
71                         "description": "",
72                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
73                         "responses": [],
74                         "rawModeData": "<labeled-unicast-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-labeled-unicast\">\n    <route-key>label1</route-key>\n    <prefix>1.1.1.1/32</prefix>\n    <path-id>1</path-id>\n    <label-stack>\n        <label-value>800322</label-value>\n    </label-stack>\n    <attributes>\n        <ipv4-next-hop>\n            <global>199.20.160.41</global>\n        </ipv4-next-hop>\n        <origin>\n            <value>igp</value>\n        </origin>\n        <as-path/>\n        <local-pref>\n            <pref>100</pref>\n        </local-pref>\n    </attributes>\n</labeled-unicast-route>"
75                 },
76                 {
77                         "id": "5b4964f0-183d-33fb-fe85-c9720101ebda",
78                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
79                         "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.25.1.9",
80                         "preRequestScript": null,
81                         "pathVariables": {},
82                         "method": "GET",
83                         "data": [],
84                         "dataMode": "raw",
85                         "version": 2,
86                         "tests": null,
87                         "currentHelper": "normal",
88                         "helperAttributes": {},
89                         "time": 1495116619841,
90                         "name": "show 127.0.0.3 app peer state",
91                         "description": "",
92                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
93                         "responses": [],
94                         "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n    <neighbor-address>192.0.2.1</neighbor-address>\n    <timers>\n        <config>\n            <hold-time>90</hold-time>\n            <connect-retry>10</connect-retry>\n        </config>\n    </timers>\n    <transport>\n        <config>\n            <remote-port>179</remote-port>\n            <passive-mode>false</passive-mode>\n        </config>\n    </transport>\n    <config>\n        <peer-type>INTERNAL</peer-type>\n    </config>\n</neighbor>"
95                 },
96                 {
97                         "id": "708b7662-c912-724d-6267-91b4ee6a95a1",
98                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
99                         "headerData": [
100                                 {
101                                         "key": "Content-Type",
102                                         "value": "application/xml",
103                                         "description": "",
104                                         "enabled": true
105                                 },
106                                 {
107                                         "key": "Authorization",
108                                         "value": "Basic YWRtaW46YWRtaW4=",
109                                         "description": "",
110                                         "enabled": true
111                                 }
112                         ],
113                         "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
114                         "queryParams": [],
115                         "preRequestScript": null,
116                         "pathVariables": {},
117                         "pathVariableData": [],
118                         "method": "PUT",
119                         "data": [],
120                         "dataMode": "raw",
121                         "version": 2,
122                         "tests": null,
123                         "currentHelper": "normal",
124                         "helperAttributes": {},
125                         "time": 1497597573297,
126                         "name": "update second ipv4unicast route",
127                         "description": "",
128                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
129                         "responses": [],
130                         "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n    <path-id>0</path-id>\n    <prefix>10.0.0.12/32</prefix>\n    <attributes>\n        <as-path></as-path>\n        <origin>\n            <value>igp</value>\n        </origin>\n        <local-pref>\n            <pref>102</pref>\n        </local-pref>\n        <ipv4-next-hop>\n            <global>10.11.1.1</global>\n        </ipv4-next-hop>\n    </attributes>\n</ipv4-route>"
131                 },
132                 {
133                         "id": "7dcba5fa-d007-7aab-b0b5-8d855dc3c2b9",
134                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
135                         "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
136                         "preRequestScript": null,
137                         "pathVariables": {},
138                         "method": "GET",
139                         "data": [],
140                         "dataMode": "raw",
141                         "tests": null,
142                         "currentHelper": "normal",
143                         "helperAttributes": {},
144                         "time": 1495009616064,
145                         "name": "show speeker's Loc-RIB",
146                         "description": "",
147                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
148                         "responses": [],
149                         "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n    <neighbor-address>10.25.1.9</neighbor-address>\n    <config>\n        <peer-group>application-peers</peer-group>\n    </config>\n</neighbor>"
150                 },
151                 {
152                         "id": "a45a76ba-0d23-57b4-eaf5-0b660a7852b3",
153                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
154                         "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2/adj-rib-out/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes",
155                         "preRequestScript": null,
156                         "pathVariables": {},
157                         "method": "GET",
158                         "data": [],
159                         "dataMode": "raw",
160                         "version": 2,
161                         "tests": null,
162                         "currentHelper": "normal",
163                         "helperAttributes": {},
164                         "time": 1495009639185,
165                         "name": "show 127.0.0.2 peer's adj-rib-out",
166                         "description": "",
167                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
168                         "responses": [],
169                         "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n    <neighbor-address>192.0.2.1</neighbor-address>\n    <timers>\n        <config>\n            <hold-time>90</hold-time>\n            <connect-retry>10</connect-retry>\n        </config>\n    </timers>\n    <transport>\n        <config>\n            <remote-port>179</remote-port>\n            <passive-mode>false</passive-mode>\n        </config>\n    </transport>\n    <config>\n        <peer-type>INTERNAL</peer-type>\n    </config>\n</neighbor>"
170                 },
171                 {
172                         "id": "db1e7d40-8dc8-be65-9467-22a39cde24eb",
173                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
174                         "headerData": [
175                                 {
176                                         "key": "Content-Type",
177                                         "value": "application/xml",
178                                         "description": "",
179                                         "enabled": true
180                                 },
181                                 {
182                                         "key": "Authorization",
183                                         "value": "Basic YWRtaW46YWRtaW4=",
184                                         "description": "",
185                                         "enabled": true
186                                 }
187                         ],
188                         "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
189                         "queryParams": [],
190                         "preRequestScript": null,
191                         "pathVariables": {},
192                         "pathVariableData": [],
193                         "method": "DELETE",
194                         "data": [],
195                         "dataMode": "raw",
196                         "version": 2,
197                         "tests": null,
198                         "currentHelper": "normal",
199                         "helperAttributes": {},
200                         "time": 1497597304771,
201                         "name": "remove second ipv4unicast route",
202                         "description": "",
203                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
204                         "responses": [],
205                         "rawModeData": ""
206                 },
207                 {
208                         "id": "de49ba67-7f69-a866-62e1-3102b610a85b",
209                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
210                         "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
211                         "preRequestScript": null,
212                         "pathVariables": {},
213                         "method": "GET",
214                         "data": [],
215                         "dataMode": "raw",
216                         "tests": null,
217                         "currentHelper": "normal",
218                         "helperAttributes": {},
219                         "time": 1495116911838,
220                         "name": "show hc-bgp-instance",
221                         "description": "",
222                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
223                         "responses": [],
224                         "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n    <neighbor-address>192.0.2.1</neighbor-address>\n    <timers>\n        <config>\n            <hold-time>90</hold-time>\n            <connect-retry>10</connect-retry>\n        </config>\n    </timers>\n    <transport>\n        <config>\n            <remote-port>179</remote-port>\n            <passive-mode>false</passive-mode>\n        </config>\n    </transport>\n    <config>\n        <peer-type>INTERNAL</peer-type>\n    </config>\n</neighbor>"
225                 },
226                 {
227                         "id": "f3f23ede-fa81-fab9-9668-55aa746dec67",
228                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
229                         "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2",
230                         "preRequestScript": null,
231                         "pathVariables": {},
232                         "method": "GET",
233                         "data": [],
234                         "dataMode": "raw",
235                         "version": 2,
236                         "tests": null,
237                         "currentHelper": "normal",
238                         "helperAttributes": {},
239                         "time": 1495009591745,
240                         "name": "show 127.0.0.2 peer state",
241                         "description": "",
242                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
243                         "responses": [],
244                         "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n    <neighbor-address>192.0.2.1</neighbor-address>\n    <timers>\n        <config>\n            <hold-time>90</hold-time>\n            <connect-retry>10</connect-retry>\n        </config>\n    </timers>\n    <transport>\n        <config>\n            <remote-port>179</remote-port>\n            <passive-mode>false</passive-mode>\n        </config>\n    </transport>\n    <config>\n        <peer-type>INTERNAL</peer-type>\n    </config>\n</neighbor>"
245                 },
246                 {
247                         "id": "fb3c78a8-0d4e-2cb6-fddd-8f42e0336f53",
248                         "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
249                         "headerData": [
250                                 {
251                                         "key": "Content-Type",
252                                         "value": "application/xml",
253                                         "description": "",
254                                         "enabled": true
255                                 },
256                                 {
257                                         "key": "Authorization",
258                                         "value": "Basic YWRtaW46YWRtaW4=",
259                                         "description": "",
260                                         "enabled": true
261                                 }
262                         ],
263                         "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
264                         "queryParams": [],
265                         "preRequestScript": null,
266                         "pathVariables": {},
267                         "pathVariableData": [],
268                         "method": "PUT",
269                         "data": [],
270                         "dataMode": "raw",
271                         "version": 2,
272                         "tests": null,
273                         "currentHelper": "normal",
274                         "helperAttributes": {},
275                         "time": 1497597550097,
276                         "name": "add another ipv4unicast route",
277                         "description": "",
278                         "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f",
279                         "responses": [],
280                         "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n    <path-id>0</path-id>\n    <prefix>10.0.0.12/32</prefix>\n    <attributes>\n        <as-path></as-path>\n        <origin>\n            <value>igp</value>\n        </origin>\n        <local-pref>\n            <pref>100</pref>\n        </local-pref>\n        <ipv4-next-hop>\n            <global>10.11.1.1</global>\n        </ipv4-next-hop>\n    </attributes>\n</ipv4-route>"
281                 }
282         ]
283 }