diff options
author | 2018-06-22 11:02:27 +0200 | |
---|---|---|
committer | 2018-06-22 10:53:36 +0000 | |
commit | 4e8127d8f74726b2ffdf8af89ae879cfa79466f6 (patch) | |
tree | 7e0b7932decf0c67781a4f556db6089cb0bec818 /routing/routing_postman_collection.json | |
parent | b9e58bf303a099805ecb24ca3a97027b3c34a211 (diff) |
HC2VPP-344: Add FIB table management for routing
- update models with FIB table management
- fixes implementation for FIB table management
Change-Id: I5cf397d6e827cb14df970e14ee268ef870931bd4
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
Diffstat (limited to 'routing/routing_postman_collection.json')
-rwxr-xr-x[-rw-r--r--] | routing/routing_postman_collection.json | 84 |
1 files changed, 81 insertions, 3 deletions
diff --git a/routing/routing_postman_collection.json b/routing/routing_postman_collection.json index ee2da5d8c..3132e5f1b 100644..100755 --- a/routing/routing_postman_collection.json +++ b/routing/routing_postman_collection.json @@ -1,12 +1,90 @@ { "info": { - "_postman_id": "ad50e1ac-df20-4667-82cf-41321601c1f9", + "_postman_id": "ea03e25f-2a73-4fc1-a806-31b6f862ecc5", "name": "Routing", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { - "name": "IPv4", + "name": "1. Add FIB tables", + "description": "", + "item": [ + { + "name": "write FIB tables", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"fib-tables\": {\n \"table\": [\n {\n \"table-id\": 0,\n \"address-family\": \"vpp-fib-table-management:ipv4\",\n \"name\": \"ipv4-VRF:0\"\n },\n {\n \"table-id\": 0,\n \"address-family\": \"vpp-fib-table-management:ipv6\",\n \"name\": \"ipv6-VRF:0\"\n },\n {\n \"table-id\": 1,\n \"address-family\": \"vpp-fib-table-management:ipv4\",\n \"name\": \"ipv4-VRF:1\"\n },\n {\n \"table-id\": 1,\n \"address-family\": \"vpp-fib-table-management:ipv6\",\n \"name\": \"ipv6-VRF:1\"\n }\n ]\n }\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/vpp-fib-table-management:fib-table-management/fib-tables/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "vpp-fib-table-management:fib-table-management", + "fib-tables", + "" + ] + } + }, + "response": [] + }, + { + "name": "read all FIB tables - operational", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/vpp-fib-table-management:fib-table-management/fib-tables/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "vpp-fib-table-management:fib-table-management", + "fib-tables", + "" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "2. IPv4", "description": null, "item": [ { @@ -684,7 +762,7 @@ ] }, { - "name": "IPv6", + "name": "3. IPv6", "description": null, "item": [ { |