From 1d0cb5b8702022a32c7ef38a68a813f0e8680471 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Tue, 20 Jun 2017 13:47:28 +0200 Subject: Update BGP postman collection with labeled-unicast examples Change-Id: Iebbd67bfbf79460b4964a24b4ef76d0e1bdabd47 Signed-off-by: Marek Gradzki --- infra/bgp-distribution/bgp_postman_collection.json | 207 ++++++++++++++++++--- 1 file changed, 177 insertions(+), 30 deletions(-) diff --git a/infra/bgp-distribution/bgp_postman_collection.json b/infra/bgp-distribution/bgp_postman_collection.json index 1e7602a2d..31297287d 100644 --- a/infra/bgp-distribution/bgp_postman_collection.json +++ b/infra/bgp-distribution/bgp_postman_collection.json @@ -1,14 +1,18 @@ { - "id": "866862e9-5b18-cf86-e8a3-c121422e38e6", + "id": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", "name": "Honeycomb BGP RESTCONF calls", "description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html", "order": [ - "aed706f7-b83c-93b2-552b-831c1576a0c6", - "830e5608-4b7e-fbcf-e1b6-057af48570a7", - "62045d77-ce19-7e74-468b-74843c20b5ce", - "2632240a-42ce-126e-11a5-b7f8e16a0a28", - "4f5f4d00-2bd6-6f23-5f19-d15130f7cdb8", - "3af97a8b-b9f3-7a20-6ce8-5d492954d3c2" + "de49ba67-7f69-a866-62e1-3102b610a85b", + "f3f23ede-fa81-fab9-9668-55aa746dec67", + "5b4964f0-183d-33fb-fe85-c9720101ebda", + "07529ecd-4c19-b46e-b033-d98d390fda4c", + "fb3c78a8-0d4e-2cb6-fddd-8f42e0336f53", + "708b7662-c912-724d-6267-91b4ee6a95a1", + "db1e7d40-8dc8-be65-9467-22a39cde24eb", + "7dcba5fa-d007-7aab-b0b5-8d855dc3c2b9", + "a45a76ba-0d23-57b4-eaf5-0b660a7852b3", + "2a3057b5-3961-45cf-a8bb-b58e056fe1a5" ], "folders": [], "timestamp": 1494477000331, @@ -16,7 +20,7 @@ "public": false, "requests": [ { - "id": "2632240a-42ce-126e-11a5-b7f8e16a0a28", + "id": "07529ecd-4c19-b46e-b033-d98d390fda4c", "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "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", "preRequestScript": null, @@ -30,14 +34,49 @@ "time": 1494502752142, "name": "add ipv4unicast route", "description": "", - "collectionId": "866862e9-5b18-cf86-e8a3-c121422e38e6", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", "responses": [], "rawModeData": "\n 0\n 10.0.0.11/32\n \n \n \n igp\n \n \n 100\n \n \n 10.11.1.1\n \n \n" }, { - "id": "3af97a8b-b9f3-7a20-6ce8-5d492954d3c2", + "id": "2a3057b5-3961-45cf-a8bb-b58e056fe1a5", "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "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", + "headerData": [ + { + "key": "Content-Type", + "value": "application/xml", + "description": "", + "enabled": true + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=", + "description": "", + "enabled": true + } + ], + "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", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "POST", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1497523964759, + "name": "add IPv4 labeled unicast route", + "description": "", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", + "responses": [], + "rawModeData": "\n label1\n 1.1.1.1/32\n 1\n \n 800322\n \n \n \n 199.20.160.41\n \n \n igp\n \n \n \n 100\n \n \n" + }, + { + "id": "5b4964f0-183d-33fb-fe85-c9720101ebda", + "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.25.1.9", "preRequestScript": null, "pathVariables": {}, "method": "GET", @@ -47,15 +86,51 @@ "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495009639185, - "name": "show 127.0.0.2 peer's adj-rib-out", + "time": 1495116619841, + "name": "show 127.0.0.3 app peer state", "description": "", - "collectionId": "866862e9-5b18-cf86-e8a3-c121422e38e6", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", "responses": [], "rawModeData": "\n 192.0.2.1\n \n \n 90\n 10\n \n \n \n \n 179\n false\n \n \n \n INTERNAL\n \n" }, { - "id": "4f5f4d00-2bd6-6f23-5f19-d15130f7cdb8", + "id": "708b7662-c912-724d-6267-91b4ee6a95a1", + "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "headerData": [ + { + "key": "Content-Type", + "value": "application/xml", + "description": "", + "enabled": true + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=", + "description": "", + "enabled": true + } + ], + "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", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1497597573297, + "name": "update second ipv4unicast route", + "description": "", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", + "responses": [], + "rawModeData": "\n 0\n 10.0.0.12/32\n \n \n \n igp\n \n \n 102\n \n \n 10.11.1.1\n \n \n" + }, + { + "id": "7dcba5fa-d007-7aab-b0b5-8d855dc3c2b9", "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib", "preRequestScript": null, @@ -69,14 +144,14 @@ "time": 1495009616064, "name": "show speeker's Loc-RIB", "description": "", - "collectionId": "866862e9-5b18-cf86-e8a3-c121422e38e6", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", "responses": [], "rawModeData": "\n 10.25.1.9\n \n application-peers\n \n" }, { - "id": "62045d77-ce19-7e74-468b-74843c20b5ce", + "id": "a45a76ba-0d23-57b4-eaf5-0b660a7852b3", "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.25.1.9", + "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", "preRequestScript": null, "pathVariables": {}, "method": "GET", @@ -86,35 +161,51 @@ "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495116619841, - "name": "show 127.0.0.3 app peer state", + "time": 1495009639185, + "name": "show 127.0.0.2 peer's adj-rib-out", "description": "", - "collectionId": "866862e9-5b18-cf86-e8a3-c121422e38e6", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", "responses": [], "rawModeData": "\n 192.0.2.1\n \n \n 90\n 10\n \n \n \n \n 179\n false\n \n \n \n INTERNAL\n \n" }, { - "id": "830e5608-4b7e-fbcf-e1b6-057af48570a7", + "id": "db1e7d40-8dc8-be65-9467-22a39cde24eb", "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2", + "headerData": [ + { + "key": "Content-Type", + "value": "application/xml", + "description": "", + "enabled": true + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=", + "description": "", + "enabled": true + } + ], + "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", + "queryParams": [], "preRequestScript": null, "pathVariables": {}, - "method": "GET", + "pathVariableData": [], + "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495009591745, - "name": "show 127.0.0.2 peer state", + "time": 1497597304771, + "name": "remove second ipv4unicast route", "description": "", - "collectionId": "866862e9-5b18-cf86-e8a3-c121422e38e6", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", "responses": [], - "rawModeData": "\n 192.0.2.1\n \n \n 90\n 10\n \n \n \n \n 179\n false\n \n \n \n INTERNAL\n \n" + "rawModeData": "" }, { - "id": "aed706f7-b83c-93b2-552b-831c1576a0c6", + "id": "de49ba67-7f69-a866-62e1-3102b610a85b", "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance", "preRequestScript": null, @@ -128,9 +219,65 @@ "time": 1495116911838, "name": "show hc-bgp-instance", "description": "", - "collectionId": "866862e9-5b18-cf86-e8a3-c121422e38e6", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", "responses": [], "rawModeData": "\n 192.0.2.1\n \n \n 90\n 10\n \n \n \n \n 179\n false\n \n \n \n INTERNAL\n \n" + }, + { + "id": "f3f23ede-fa81-fab9-9668-55aa746dec67", + "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1495009591745, + "name": "show 127.0.0.2 peer state", + "description": "", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", + "responses": [], + "rawModeData": "\n 192.0.2.1\n \n \n 90\n 10\n \n \n \n \n 179\n false\n \n \n \n INTERNAL\n \n" + }, + { + "id": "fb3c78a8-0d4e-2cb6-fddd-8f42e0336f53", + "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "headerData": [ + { + "key": "Content-Type", + "value": "application/xml", + "description": "", + "enabled": true + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=", + "description": "", + "enabled": true + } + ], + "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", + "queryParams": [], + "preRequestScript": null, + "pathVariables": {}, + "pathVariableData": [], + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1497597550097, + "name": "add another ipv4unicast route", + "description": "", + "collectionId": "cb7735ac-4fe2-2de0-0c3a-298bdf17314f", + "responses": [], + "rawModeData": "\n 0\n 10.0.0.12/32\n \n \n \n igp\n \n \n 100\n \n \n 10.11.1.1\n \n \n" } ] } \ No newline at end of file -- cgit 1.2.3-korg