summaryrefslogtreecommitdiffstats
path: root/v3po/routing_postman_collection_v1.0.0.json
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-06-01 07:28:47 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-06-01 10:40:47 +0200
commitfe9af79a0cc1a980ac0dfb35a679f4e8565a5ef5 (patch)
tree7cca3da294de20ac91f8dac7359103d291a17e2c /v3po/routing_postman_collection_v1.0.0.json
parenta3e02660522fb0c97f77f1123cc4058d589a4095 (diff)
HC2VPP-339: convert postman collections to v2.1.0 format
Mantaining postman collections in v1 format is difficult due to UID strings. Postman collection v2 fixes the issue and many others, see http://blog.getpostman.com/2015/06/05/travelogue-of-postman-collection-format-v2/ Collections in v1 format, were converted using postman-collection-transformer. Output was transformed using JSON.stringify with space='\t', to be compliant with Postman application which does not support spaces for indentation. Coverted collections were tested using Postman v6.1.3. Previous version of postman collections were renamed to *_v1.0.0.json or *_v2.0.0.json. Removal is planned in 18.10 (HC2VPP-338). Change-Id: I6caf496293fccc1f9aadcdece668b5200fe07122 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/routing_postman_collection_v1.0.0.json')
-rw-r--r--v3po/routing_postman_collection_v1.0.0.json234
1 files changed, 234 insertions, 0 deletions
diff --git a/v3po/routing_postman_collection_v1.0.0.json b/v3po/routing_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..955b9098c
--- /dev/null
+++ b/v3po/routing_postman_collection_v1.0.0.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