summaryrefslogtreecommitdiffstats
path: root/v3po/routing_postman_collection.json
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-05-10 09:55:07 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-05-10 09:55:07 +0200
commitb663b44d862d366c722466ecfb7db1231ff01ccd (patch)
tree9990f894056099df4f59099dbca7ebf7950961b4 /v3po/routing_postman_collection.json
parent9244433a6cb743c29001faee608f85666537610b (diff)
HC2VPP-114 - Ipv4/6 routing support for sub interfaces
Provides option to set ipv4/6 vrf id for sub interface same way as for interface Change-Id: I3e14620d61e364e6741a1f1642570dd9ee317255 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'v3po/routing_postman_collection.json')
-rw-r--r--v3po/routing_postman_collection.json234
1 files changed, 234 insertions, 0 deletions
diff --git a/v3po/routing_postman_collection.json b/v3po/routing_postman_collection.json
new file mode 100644
index 000000000..955b9098c
--- /dev/null
+++ b/v3po/routing_postman_collection.json
@@ -0,0 +1,234 @@
+{
+ "id": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "name": "Interface/SubInterface v4/v6 routing",
+ "description": "Provides example requests on how to configure v4/v6 vrf id for Interfaces/SubInterfaces",
+ "order": [],
+ "folders": [
+ {
+ "id": "3efd368a-fb93-a6dc-b3a9-bde67b497527",
+ "name": "Interface",
+ "description": "",
+ "order": [
+ "db3bbb6a-cd82-749f-3e79-4b2220badb65",
+ "a159201f-37f9-b44f-a65a-f7d9f5a8651e",
+ "9e3949bf-b0d4-b79d-645b-4f9d3288dc77",
+ "cf22b25c-82cf-d6bb-ae62-af122e3d6dea",
+ "9cbe3511-150b-f37a-4a84-7bb6a83f1930"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e",
+ "name": "SubInterface",
+ "description": "",
+ "order": [
+ "1a4b0595-f4b1-83ba-28ea-c0e077c09abb",
+ "b7d0d85e-12a9-b244-af10-4364d1dd6cac",
+ "2f085988-b580-de67-a523-e60f5d812154",
+ "f3228265-d4b6-bce7-3eba-26da0a5ed334",
+ "6034808b-de49-1a46-e138-e0a850949f73"
+ ],
+ "owner": "658985"
+ }
+ ],
+ "timestamp": 1494325250561,
+ "owner": "658985",
+ "public": false,
+ "requests": [
+ {
+ "id": "1a4b0595-f4b1-83ba-28ea-c0e077c09abb",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494324879172,
+ "name": "Add ipv4 routing for subinterface",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e",
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}"
+ },
+ {
+ "id": "2f085988-b580-de67-a523-e60f5d812154",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494324943267,
+ "name": "Add ipv6 routing for subinterface",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e",
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv6-vrf-id\":7\n\t}\n\t\n}"
+ },
+ {
+ "id": "6034808b-de49-1a46-e138-e0a850949f73",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494325005141,
+ "name": "Get subinterface routing state",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e",
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}"
+ },
+ {
+ "id": "9cbe3511-150b-f37a-4a84-7bb6a83f1930",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494398532104,
+ "name": "Get interface routing operational",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}"
+ },
+ {
+ "id": "9e3949bf-b0d4-b79d-645b-4f9d3288dc77",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494398578232,
+ "name": "Add ipv6 routing for interface",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv6-vrf-id\":12\n\t}\n\t\n}"
+ },
+ {
+ "id": "a159201f-37f9-b44f-a65a-f7d9f5a8651e",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494398570514,
+ "name": "Add both routings for interface",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":2,\n\t\t\"ipv6-vrf-id\":8\n\t}\n\t\n}"
+ },
+ {
+ "id": "b7d0d85e-12a9-b244-af10-4364d1dd6cac",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494324983984,
+ "name": "Add both routings for subinterface",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e",
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4,\n\t\t\"ipv6-vrf-id\":7\n\t}\n\t\n}"
+ },
+ {
+ "id": "cf22b25c-82cf-d6bb-ae62-af122e3d6dea",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494398536355,
+ "name": "Get interface routing config",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}"
+ },
+ {
+ "id": "db3bbb6a-cd82-749f-3e79-4b2220badb65",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494398551994,
+ "name": "Add ipv4 routing for interface",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}"
+ },
+ {
+ "id": "f3228265-d4b6-bce7-3eba-26da0a5ed334",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494324988961,
+ "name": "Get subinterface routing config",
+ "description": "",
+ "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f",
+ "responses": [],
+ "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e",
+ "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}"
+ }
+ ]
+} \ No newline at end of file