diff options
Diffstat (limited to 'routing')
-rw-r--r--[-rwxr-xr-x] | routing/routing_postman_collection.json | 728 | ||||
-rwxr-xr-x | routing/routing_postman_collection_v2.0.0.json | 869 |
2 files changed, 1549 insertions, 48 deletions
diff --git a/routing/routing_postman_collection.json b/routing/routing_postman_collection.json index de9a02e2c..ee2da5d8c 100755..100644 --- a/routing/routing_postman_collection.json +++ b/routing/routing_postman_collection.json @@ -1,17 +1,17 @@ { "info": { - "_postman_id": "926b89ec-267c-68e1-a4ba-0373a956f692", + "_postman_id": "ad50e1ac-df20-4667-82cf-41321601c1f9", "name": "Routing", - "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "IPv4", - "description": "", + "description": null, "item": [ { "name": "SimpleNextHop", - "description": "", + "description": null, "item": [ { "name": "Add single hop ipv4", @@ -31,7 +31,20 @@ "mode": "raw", "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\":{\n\t \t\t\t\"ipv4\":{\n\t \t\t\t\t\"route\":[\n\t\t\t {\n\t\t\t \t\"description\":\"Test static route single hop ipv4\",\n\t\t\t \"destination-prefix\":\"192.168.2.3/32\",\n\t\t\t \"next-hop\": {\n\t\t\t \t\"next-hop-address\" : \"192.168.2.8\",\n \t\t\t\t\t\"outgoing-interface\": \"local0\"\n\t\t\t },\n\t\t\t \"vpp-ipv4-route\":{\n\t\t\t \t\"classify-table\":\"1\"\n\t\t\t \t}\n\t\t\t }\n\t\t\t ]\n\t\t\t }\n\t \t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "" + ] + } }, "response": [] }, @@ -53,7 +66,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.2.3%2F32" + ] + } }, "response": [] }, @@ -75,7 +108,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32" + "url": { + "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.2.3%2F32" + ] + } }, "response": [] }, @@ -97,7 +150,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.2.3%2F32" + ] + } }, "response": [] } @@ -106,7 +179,7 @@ }, { "name": "MultiNextHop", - "description": "", + "description": null, "item": [ { "name": "Add multi hop ipv4", @@ -126,7 +199,20 @@ "mode": "raw", "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t \"ipv4\": {\n\t\t\t\t \"route\": [\n\t\t\t\t {\n\t\t\t\t \"destination-prefix\": \"192.168.2.1/24\",\n\t\t\t\t \"vpp-v4ur:vpp-ipv4-route\": {\n\t\t\t\t \"classify-table\": \"1\"\n\t\t\t\t },\n\t\t\t\t \"next-hop\":{\n\t\t\t\t \t\"next-hop-list\": {\n\t\t\t\t \t\t\"next-hop\": [\n\t\t\t\t \t\t{\n\t\t\t\t \t\t\t\"index\": \"1\",\n\t\t\t\t \t\t\t\"next-hop-address\": \"192.168.2.1\",\n\t\t\t\t \t\t\t\"outgoing-interface\": \"local0\",\n\t\t\t\t \t\t\t\"weight\": \"2\"\n\t\t\t\t \t\t},\n\t\t\t\t \t\t{\n\t\t\t\t\t\t \"index\": \"2\",\n\t\t\t\t\t\t \"next-hop-address\": \"192.168.2.2\",\n\t\t\t\t\t\t \"outgoing-interface\": \"local0\",\n\t\t\t\t\t\t \t\"weight\": \"3\"\n\t\t\t\t \t\t}\n\t\t\t\t \t\t]\n\t\t\t\t \t\t}\n\t\t\t\t \t\t}\n\t\t\t\t \t}\n\t\t\t\t \t]\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "" + ] + } }, "response": [] }, @@ -148,7 +234,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.2.1%2F24" + ] + } }, "response": [] }, @@ -170,7 +276,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.2.1%2F24" + ] + } }, "response": [] }, @@ -192,7 +318,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.2.1%2F24" + ] + } }, "response": [] } @@ -201,7 +347,7 @@ }, { "name": "SpecialHop", - "description": "", + "description": null, "item": [ { "name": "Add special hop ipv4", @@ -221,7 +367,20 @@ "mode": "raw", "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv4\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"192.168.3.1/24\",\n\t\t\t\t\t\t\t\"next-hop\": {\n\t\t\t\t\t\t\t\t\"special-next-hop-enum\": \"blackhole\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "" + ] + } }, "response": [] }, @@ -243,7 +402,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.3.1%2F24" + ] + } }, "response": [] }, @@ -265,7 +444,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.3.1%2F24" + ] + } }, "response": [] }, @@ -287,7 +486,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.3.1%2F24" + ] + } }, "response": [] } @@ -296,7 +515,7 @@ }, { "name": "TableHop", - "description": "", + "description": null, "item": [ { "name": "Add tablehop ipv4", @@ -316,7 +535,20 @@ "mode": "raw", "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv4\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"192.168.4.1/24\",\n\t\t\t\t\t\t\t\"next-hop\": {\n \"secondary-vrf\": 0\n }\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "" + ] + } }, "response": [] }, @@ -338,7 +570,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.4.1%2F24" + ] + } }, "response": [] }, @@ -360,7 +612,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.4.1%2F24" + ] + } }, "response": [] }, @@ -382,7 +654,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv4", + "route", + "192.168.4.1%2F24" + ] + } }, "response": [] } @@ -393,11 +685,11 @@ }, { "name": "IPv6", - "description": "", + "description": null, "item": [ { "name": "SimpleNextHop", - "description": "", + "description": null, "item": [ { "name": "Add single hop ipv6", @@ -417,7 +709,20 @@ "mode": "raw", "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\":{\n\t \t\t\t\"ipv6\":{\n\t \t\t\t\t\"route\":[\n\t\t\t {\n\t\t\t \t\"description\":\"Test static route single hop ipv6\",\n\t\t\t \"destination-prefix\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t \"next-hop\": {\n\t\t\t \t\"next-hop-address\" : \"2001:0db8:0a0b:12f0:0000:0000:0000:0002\",\n \t\t\t\t\t\"outgoing-interface\": \"local0\"\n\t\t\t },\n\t\t\t \"vpp-ipv6-route\":{\n\t\t\t \t\"classify-table\":\"1\"\n\t\t\t \t}\n\t\t\t }\n\t\t\t ]\n\t\t\t }\n\t \t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "" + ] + } }, "response": [] }, @@ -439,7 +744,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] }, @@ -461,7 +786,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] }, @@ -483,7 +828,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] } @@ -492,7 +857,7 @@ }, { "name": "MultiNextHop", - "description": "", + "description": null, "item": [ { "name": "Add multi hop ipv6", @@ -512,7 +877,20 @@ "mode": "raw", "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t \"ipv6\": {\n\t\t\t\t \"route\": [\n\t\t\t\t {\n\t\t\t\t \"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t \"vpp-ipv6-unicast-routing:vpp-ipv6-route\": {\n\t\t\t\t \"classify-table\": \"classify-table-1\"\n\t\t\t\t },\n\t\t\t\t \"next-hop\":{\n\t\t\t\t \t\"next-hop-list\": {\n\t\t\t\t \t\t\"next-hop\": [\n\t\t\t\t \t\t{\n\t\t\t\t \t\t\t\"index\": \"1\",\n\t\t\t\t \t\t\t\"next-hop-address\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0002\",\n\t\t\t\t \t\t\t\"outgoing-interface\": \"local0\",\n\t\t\t\t \t\t\t\"weight\": \"2\"\n\t\t\t\t \t\t},\n\t\t\t\t \t\t{\n\t\t\t\t\t\t \"index\": \"2\",\n\t\t\t\t\t\t \"next-hop-address\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0003\",\n\t\t\t\t\t\t \"outgoing-interface\": \"local0\",\n\t\t\t\t\t\t \t\"weight\": \"3\"\n\t\t\t\t \t\t}\n\t\t\t\t \t\t]\n\t\t\t\t \t\t}\n\t\t\t\t \t\t}\n\t\t\t\t \t}\n\t\t\t\t \t]\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "" + ] + } }, "response": [] }, @@ -534,7 +912,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] }, @@ -556,7 +954,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] }, @@ -578,7 +996,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] } @@ -587,7 +1025,7 @@ }, { "name": "SpecialHop", - "description": "", + "description": null, "item": [ { "name": "Add special hop ipv6", @@ -607,7 +1045,20 @@ "mode": "raw", "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv6\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t\t\t\t\"next-hop\": {\n\t\t\t\t\t\t\t\t\"special-next-hop-enum\": \"receive\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "" + ] + } }, "response": [] }, @@ -629,7 +1080,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] }, @@ -651,7 +1122,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] }, @@ -673,7 +1164,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] } @@ -682,7 +1193,7 @@ }, { "name": "TableHop", - "description": "", + "description": null, "item": [ { "name": "Add tablehop ipv6", @@ -702,7 +1213,20 @@ "mode": "raw", "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv6\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t\t\t\t\"next-hop\": {\n \"secondary-vrf\": 0\n }\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "" + ] + } }, "response": [] }, @@ -724,7 +1248,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] }, @@ -746,7 +1290,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] }, @@ -768,7 +1332,27 @@ "mode": "raw", "raw": "" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing", + "hc2vpp-ietf-routing:control-plane-protocols", + "hc2vpp-ietf-routing:control-plane-protocol", + "hc2vpp-ietf-routing:static", + "test-routing-protocol-1", + "static-routes", + "ipv6", + "route", + "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + ] + } }, "response": [] } @@ -795,7 +1379,19 @@ "mode": "raw", "raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, - "url": "http://localhost:8183/restconf/operational/naming-context:contexts" + "url": { + "raw": "http://localhost:8183/restconf/operational/naming-context:contexts", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "naming-context:contexts" + ] + } }, "response": [] }, @@ -817,7 +1413,19 @@ "mode": "raw", "raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, - "url": "http://localhost:8183/restconf/operational/naming-context:contexts\\multi-naming-context:multi-naming-contexts" + "url": { + "raw": "http://localhost:8183/restconf/operational/naming-context:contexts\\multi-naming-context:multi-naming-contexts", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "naming-context:contexts\\multi-naming-context:multi-naming-contexts" + ] + } }, "response": [] }, @@ -839,7 +1447,19 @@ "mode": "raw", "raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}" }, - "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing" + "url": { + "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "hc2vpp-ietf-routing:routing" + ] + } }, "response": [] }, @@ -861,7 +1481,19 @@ "mode": "raw", "raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}" }, - "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing" + "url": { + "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "hc2vpp-ietf-routing:routing" + ] + } }, "response": [] } diff --git a/routing/routing_postman_collection_v2.0.0.json b/routing/routing_postman_collection_v2.0.0.json new file mode 100755 index 000000000..de9a02e2c --- /dev/null +++ b/routing/routing_postman_collection_v2.0.0.json @@ -0,0 +1,869 @@ +{ + "info": { + "_postman_id": "926b89ec-267c-68e1-a4ba-0373a956f692", + "name": "Routing", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "IPv4", + "description": "", + "item": [ + { + "name": "SimpleNextHop", + "description": "", + "item": [ + { + "name": "Add single hop ipv4", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\":{\n\t \t\t\t\"ipv4\":{\n\t \t\t\t\t\"route\":[\n\t\t\t {\n\t\t\t \t\"description\":\"Test static route single hop ipv4\",\n\t\t\t \"destination-prefix\":\"192.168.2.3/32\",\n\t\t\t \"next-hop\": {\n\t\t\t \t\"next-hop-address\" : \"192.168.2.8\",\n \t\t\t\t\t\"outgoing-interface\": \"local0\"\n\t\t\t },\n\t\t\t \"vpp-ipv4-route\":{\n\t\t\t \t\"classify-table\":\"1\"\n\t\t\t \t}\n\t\t\t }\n\t\t\t ]\n\t\t\t }\n\t \t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + }, + "response": [] + }, + { + "name": "get single hop ipv4", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32" + }, + "response": [] + }, + { + "name": "get single hop ipv4 Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32" + }, + "response": [] + }, + { + "name": "delete single hop ipv4", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32" + }, + "response": [] + } + ], + "_postman_isSubFolder": true + }, + { + "name": "MultiNextHop", + "description": "", + "item": [ + { + "name": "Add multi hop ipv4", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t \"ipv4\": {\n\t\t\t\t \"route\": [\n\t\t\t\t {\n\t\t\t\t \"destination-prefix\": \"192.168.2.1/24\",\n\t\t\t\t \"vpp-v4ur:vpp-ipv4-route\": {\n\t\t\t\t \"classify-table\": \"1\"\n\t\t\t\t },\n\t\t\t\t \"next-hop\":{\n\t\t\t\t \t\"next-hop-list\": {\n\t\t\t\t \t\t\"next-hop\": [\n\t\t\t\t \t\t{\n\t\t\t\t \t\t\t\"index\": \"1\",\n\t\t\t\t \t\t\t\"next-hop-address\": \"192.168.2.1\",\n\t\t\t\t \t\t\t\"outgoing-interface\": \"local0\",\n\t\t\t\t \t\t\t\"weight\": \"2\"\n\t\t\t\t \t\t},\n\t\t\t\t \t\t{\n\t\t\t\t\t\t \"index\": \"2\",\n\t\t\t\t\t\t \"next-hop-address\": \"192.168.2.2\",\n\t\t\t\t\t\t \"outgoing-interface\": \"local0\",\n\t\t\t\t\t\t \t\"weight\": \"3\"\n\t\t\t\t \t\t}\n\t\t\t\t \t\t]\n\t\t\t\t \t\t}\n\t\t\t\t \t\t}\n\t\t\t\t \t}\n\t\t\t\t \t]\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + }, + "response": [] + }, + { + "name": "get multi hop ipv4", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24" + }, + "response": [] + }, + { + "name": "get multi hop ipv4 Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24" + }, + "response": [] + }, + { + "name": "delete multi hop ipv4", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24" + }, + "response": [] + } + ], + "_postman_isSubFolder": true + }, + { + "name": "SpecialHop", + "description": "", + "item": [ + { + "name": "Add special hop ipv4", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv4\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"192.168.3.1/24\",\n\t\t\t\t\t\t\t\"next-hop\": {\n\t\t\t\t\t\t\t\t\"special-next-hop-enum\": \"blackhole\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + }, + "response": [] + }, + { + "name": "get special hop ipv4", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24" + }, + "response": [] + }, + { + "name": "get special hop ipv4 Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24" + }, + "response": [] + }, + { + "name": "delete special hop ipv4", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24" + }, + "response": [] + } + ], + "_postman_isSubFolder": true + }, + { + "name": "TableHop", + "description": "", + "item": [ + { + "name": "Add tablehop ipv4", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv4\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"192.168.4.1/24\",\n\t\t\t\t\t\t\t\"next-hop\": {\n \"secondary-vrf\": 0\n }\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + }, + "response": [] + }, + { + "name": "get tablehop ipv4", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24" + }, + "response": [] + }, + { + "name": "get tablehop ipv4 Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24" + }, + "response": [] + }, + { + "name": "delete tablehop ipv4", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24" + }, + "response": [] + } + ], + "_postman_isSubFolder": true + } + ] + }, + { + "name": "IPv6", + "description": "", + "item": [ + { + "name": "SimpleNextHop", + "description": "", + "item": [ + { + "name": "Add single hop ipv6", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\":{\n\t \t\t\t\"ipv6\":{\n\t \t\t\t\t\"route\":[\n\t\t\t {\n\t\t\t \t\"description\":\"Test static route single hop ipv6\",\n\t\t\t \"destination-prefix\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t \"next-hop\": {\n\t\t\t \t\"next-hop-address\" : \"2001:0db8:0a0b:12f0:0000:0000:0000:0002\",\n \t\t\t\t\t\"outgoing-interface\": \"local0\"\n\t\t\t },\n\t\t\t \"vpp-ipv6-route\":{\n\t\t\t \t\"classify-table\":\"1\"\n\t\t\t \t}\n\t\t\t }\n\t\t\t ]\n\t\t\t }\n\t \t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + }, + "response": [] + }, + { + "name": "get single hop ipv6", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + }, + { + "name": "get single hop ipv6 Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + }, + { + "name": "delete single hop ipv6", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + } + ], + "_postman_isSubFolder": true + }, + { + "name": "MultiNextHop", + "description": "", + "item": [ + { + "name": "Add multi hop ipv6", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t \"ipv6\": {\n\t\t\t\t \"route\": [\n\t\t\t\t {\n\t\t\t\t \"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t \"vpp-ipv6-unicast-routing:vpp-ipv6-route\": {\n\t\t\t\t \"classify-table\": \"classify-table-1\"\n\t\t\t\t },\n\t\t\t\t \"next-hop\":{\n\t\t\t\t \t\"next-hop-list\": {\n\t\t\t\t \t\t\"next-hop\": [\n\t\t\t\t \t\t{\n\t\t\t\t \t\t\t\"index\": \"1\",\n\t\t\t\t \t\t\t\"next-hop-address\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0002\",\n\t\t\t\t \t\t\t\"outgoing-interface\": \"local0\",\n\t\t\t\t \t\t\t\"weight\": \"2\"\n\t\t\t\t \t\t},\n\t\t\t\t \t\t{\n\t\t\t\t\t\t \"index\": \"2\",\n\t\t\t\t\t\t \"next-hop-address\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0003\",\n\t\t\t\t\t\t \"outgoing-interface\": \"local0\",\n\t\t\t\t\t\t \t\"weight\": \"3\"\n\t\t\t\t \t\t}\n\t\t\t\t \t\t]\n\t\t\t\t \t\t}\n\t\t\t\t \t\t}\n\t\t\t\t \t}\n\t\t\t\t \t]\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + }, + "response": [] + }, + { + "name": "get multi hop ipv6", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + }, + { + "name": "get multi hop ipv6 Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + }, + { + "name": "delete multi hop ipv6", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + } + ], + "_postman_isSubFolder": true + }, + { + "name": "SpecialHop", + "description": "", + "item": [ + { + "name": "Add special hop ipv6", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv6\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t\t\t\t\"next-hop\": {\n\t\t\t\t\t\t\t\t\"special-next-hop-enum\": \"receive\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + }, + "response": [] + }, + { + "name": "get special hop ipv6", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + }, + { + "name": "get special hop ipv6 Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + }, + { + "name": "delete special hop ipv6", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + } + ], + "_postman_isSubFolder": true + }, + { + "name": "TableHop", + "description": "", + "item": [ + { + "name": "Add tablehop ipv6", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv6\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t\t\t\t\"next-hop\": {\n \"secondary-vrf\": 0\n }\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/" + }, + "response": [] + }, + { + "name": "get tablehop ipv6", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + }, + { + "name": "get tablehop ipv6 Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + }, + { + "name": "delete tablehop ipv6", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64" + }, + "response": [] + } + ], + "_postman_isSubFolder": true + } + ] + }, + { + "name": "Naming Context Read ", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + "url": "http://localhost:8183/restconf/operational/naming-context:contexts" + }, + "response": [] + }, + { + "name": "Multi Naming Context Read", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + "url": "http://localhost:8183/restconf/operational/naming-context:contexts\\multi-naming-context:multi-naming-contexts" + }, + "response": [] + }, + { + "name": "Get Routes", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}" + }, + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing" + }, + "response": [] + }, + { + "name": "Get Routes Operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}" + }, + "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing" + }, + "response": [] + } + ] +}
\ No newline at end of file |