diff options
Diffstat (limited to 'lisp/gpe_postman_collection.json')
-rw-r--r-- | lisp/gpe_postman_collection.json | 298 |
1 files changed, 219 insertions, 79 deletions
diff --git a/lisp/gpe_postman_collection.json b/lisp/gpe_postman_collection.json index 126650d02..d2ef1d49d 100644 --- a/lisp/gpe_postman_collection.json +++ b/lisp/gpe_postman_collection.json @@ -3,6 +3,7 @@ "name": "Lisp gpe RESTCONF collection", "description": "", "order": [ + "f0ae8c21-de3e-2ec1-c816-4cc2e970a839", "6a934021-ad9b-d1ef-4059-8639caddc2bf", "7ff012c8-9065-008b-4552-cf0de8846426", "2b9b1bec-1e40-b7c9-4756-c2eee3936d73", @@ -13,188 +14,327 @@ "12fac9c2-162d-7274-5f90-6e943f7a9433", "5682b704-dc88-8186-c0ed-f7bb952f8150" ], - "folders": [], - "timestamp": 1495177828276, + "folders": [ + { + "id": "a2b53670-baa2-92ae-6309-08d23db0a70d", + "name": "Native entries", + "description": "", + "order": [ + "33fc474a-30f2-ec43-eb3d-7de056dbcda0", + "108cdf05-a647-ee74-f59e-e224f5827073" + ], + "owner": "658985" + } + ], + "timestamp": 0, "owner": "658985", "public": false, "requests": [ { - "id": "12fac9c2-162d-7274-5f90-6e943f7a9433", + "id": "108cdf05-a647-ee74-f59e-e224f5827073", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2", + "headerData": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=", + "description": "", + "enabled": true + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "enabled": true + } + ], + "url": "http://localhost:8183/restconf/config/gpe:native-forward-paths-tables/native-forward-paths-table/4", + "queryParams": [], "preRequestScript": null, "pathVariables": {}, - "method": "DELETE", + "pathVariableData": [], + "method": "PUT", "data": [], "dataMode": "raw", - "version": 2, "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495183032877, + "time": 1497354248641, + "name": "Get table 4", + "description": "", + "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", + "isFromCollection": true, + "collectionRequestId": "9e99cfa4-474d-1f4d-26b3-c6caa7460d4b", + "folder": "a2b53670-baa2-92ae-6309-08d23db0a70d", + "rawModeData": "{\n\t\"native-forward-paths-table\":{\n\t \"table-id\":\"4\",\n\t \"native-forward-path\":[\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.2.1\",\n\t \t\t\"next-hop-interface\":\"local0\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.3.1\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t \t}\n\t \t]\n\t}\n}" + }, + { + "folder": null, + "id": "12fac9c2-162d-7274-5f90-6e943f7a9433", "name": "Delete gpe entry- negative mapping", + "dataMode": "raw", + "data": [], + "descriptionFormat": null, "description": "", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "DELETE", + "pathVariables": {}, + "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2", + "preRequestScript": null, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "queryParams": null, + "headerData": null, + "pathVariableData": null, "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe\":{\n\t\t\"gpe-feature-data\":{\n\t\t\t\"enable\":true\n\t\t}\n\t}\n}" + "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}" }, { + "folder": null, "id": "1bbf9810-f369-a2a1-95cc-5f42529480fe", + "name": "Get gpe entry- negative mapping", + "dataMode": "raw", + "data": [], + "descriptionFormat": null, + "description": "", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "GET", + "pathVariables": {}, "url": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2", "preRequestScript": null, - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495182951887, - "name": "Get gpe entry- negative mapping", - "description": "", + "queryParams": null, + "headerData": null, + "pathVariableData": null, "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe\":{\n\t\t\"gpe-feature-data\":{\n\t\t\t\"enable\":true\n\t\t}\n\t}\n}" + "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}" }, { + "folder": null, "id": "2b9b1bec-1e40-b7c9-4756-c2eee3936d73", + "name": "Add gpe entry - negative mapping", + "dataMode": "raw", + "data": [], + "descriptionFormat": null, + "description": "gpe entry add vni 10 vrf 1 leid 192.100.2.1/24 reid 192.100.3.1/24 negative action 2\n\n to verify \n \nshow gpe entry", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "PUT", + "pathVariables": {}, "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2", "preRequestScript": null, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "queryParams": null, + "headerData": null, + "pathVariableData": null, + "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", + "rawModeData": "{\n \"gpe-entry\":\n {\n \"id\":\"gpe-entry-2\",\n \"dp-table\":\"2\",\n \"vni\":11,\n \"local-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"11\",\n \"ipv4-prefix\":\"192.100.2.1/24\"\n },\n \"remote-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"11\",\n \"ipv4-prefix\":\"192.100.3.1/24\"\n },\n \"action\":\"send-map-request\"\n } \n}" + }, + { + "id": "33fc474a-30f2-ec43-eb3d-7de056dbcda0", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "headerData": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=", + "description": "", + "enabled": true + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "enabled": true + } + ], + "url": "http://localhost:8183/restconf/config/gpe:native-forward-paths-tables/native-forward-paths-table/4", + "queryParams": [], + "preRequestScript": null, "pathVariables": {}, + "pathVariableData": [], "method": "PUT", "data": [], "dataMode": "raw", "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495182586472, - "name": "Add gpe entry - negative mapping", - "description": "gpe entry add vni 10 vrf 1 leid 192.100.2.1/24 reid 192.100.3.1/24 negative action 2\n\n to verify \n \nshow gpe entry", + "time": 1497354971312, + "name": "Add table with entries", + "description": "", "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe-entry\":\n\t{\n\t\t\"id\":\"gpe-entry-2\",\n\t\t\"dp-table\":\"2\",\n\t\t\"vni\":11,\n\t\t\"local-eid\":{\n\t\t\t\"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \t\t\"virtual-network-id\":\"11\",\n \t\t\"ipv4-prefix\":\"192.100.2.1/24\"\n\t\t},\n\t\t\"remote-eid\":{\n\t\t\t\"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \t\t\"virtual-network-id\":\"11\",\n \t\t\"ipv4-prefix\":\"192.100.3.1/24\"\n\t\t},\n\t\t\"action\":\"send-map-request\"\n\t}\t\n}" + "isFromCollection": true, + "collectionRequestId": "72c8c426-ac72-0c24-a4c1-9b5903f7fbd1", + "folder": "a2b53670-baa2-92ae-6309-08d23db0a70d", + "rawModeData": "{\n\t\"native-forward-paths-table\":{\n\t \"table-id\":\"4\",\n\t \"native-forward-path\":[\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.2.1\",\n\t \t\t\"next-hop-interface\":\"local0\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.3.1\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t \t}\n\t \t]\n\t}\n}" }, { + "folder": null, "id": "3b529c6c-f4f0-7e69-c61f-4dc8f16d3c65", + "name": "Delete gpe entry- positive mapping", + "dataMode": "raw", + "data": [], + "descriptionFormat": null, + "description": "", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "DELETE", + "pathVariables": {}, "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1", "preRequestScript": null, - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495183024381, - "name": "Delete gpe entry- positive mapping", - "description": "", + "queryParams": null, + "headerData": null, + "pathVariableData": null, "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe\":{\n\t\t\"gpe-feature-data\":{\n\t\t\t\"enable\":true\n\t\t}\n\t}\n}" + "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}" }, { + "folder": null, "id": "478e1140-d6e6-56ab-e9b7-11628a06b8ee", + "name": "Get gpe status", + "dataMode": "raw", + "data": [], + "descriptionFormat": null, + "description": "", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "GET", + "pathVariables": {}, "url": "http://localhost:8183/restconf/operational/gpe:gpe-state", "preRequestScript": null, - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495179312251, - "name": "Get gpe status", - "description": "", + "queryParams": null, + "headerData": null, + "pathVariableData": null, "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe\":{\n\t\t\"gpe-feature-data\":{\n\t\t\t\"enable\":true\n\t\t}\n\t}\n}" + "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}" }, { + "folder": null, "id": "5682b704-dc88-8186-c0ed-f7bb952f8150", + "name": "Disable gpe", + "dataMode": "raw", + "data": [], + "descriptionFormat": null, + "description": "", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "DELETE", + "pathVariables": {}, "url": "http://localhost:8183/restconf/config/gpe:gpe", "preRequestScript": null, - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495183089692, - "name": "Disable gpe", - "description": "", + "queryParams": null, + "headerData": null, + "pathVariableData": null, "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe\":{\n\t\t\"gpe-feature-data\":{\n\t\t\t\"enable\":true\n\t\t}\n\t}\n}" + "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}" }, { + "folder": null, "id": "6a934021-ad9b-d1ef-4059-8639caddc2bf", + "name": "Enable gpe", + "dataMode": "raw", + "data": [], + "descriptionFormat": "html", + "description": "vppstl gpe enable\n\n to verify\n\nvppctl show lisp status", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "PUT", + "pathVariables": {}, "url": "http://localhost:8183/restconf/config/gpe:gpe", "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495177918949, - "name": "Enable gpe", - "description": "vppstl gpe enable\n\n to verify\n\nvppctl show lisp status", + "queryParams": null, + "headerData": null, + "pathVariableData": null, "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe\":{\n\t\t\"gpe-feature-data\":{\n\t\t\t\"enable\":true\n\t\t}\n\t}\n}" + "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}" }, { + "folder": null, "id": "7ff012c8-9065-008b-4552-cf0de8846426", + "name": "Add gpe entry - positive mapping", + "dataMode": "raw", + "data": [], + "descriptionFormat": "html", + "description": "gpe entry add vni 10 vrf 1 leid 192.168.2.1/24 reid 192.168.3.1/24 loc-pair 192.168.7.7 192.168.7.8 w 3\n\n to verify\n \nshow gpe entry\n", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "PUT", + "pathVariables": {}, "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1", "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1495178391833, - "name": "Add gpe entry - positive mapping", - "description": "gpe entry add vni 10 vrf 1 leid 192.168.2.1/24 reid 192.168.3.1/24 loc-pair 192.168.7.7 192.168.7.8 w 3\n\n to verify\n \nshow gpe entry\n", + "queryParams": null, + "headerData": null, + "pathVariableData": null, "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe-entry\":\n\t{\n\t\t\"id\":\"gpe-entry-1\",\n\t\t\"dp-table\":\"1\",\n\t\t\"vni\":10,\n\t\t\"local-eid\":{\n\t\t\t\"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \t\t\"virtual-network-id\":\"10\",\n \t\t\"ipv4-prefix\":\"192.168.2.1/24\"\n\t\t},\n\t\t\"remote-eid\":{\n\t\t\t\"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \t\t\"virtual-network-id\":\"10\",\n \t\t\"ipv4-prefix\":\"192.168.3.1/24\"\n\t\t},\n\t\t\"locator-pairs\":[\n\t\t\t{\n\t\t\t\t\"id\":\"gpe-entry-locator-1\",\n\t\t\t\t\"locator-pair\":{\n\t\t\t\t\t\"local-locator\":\"192.168.7.7\",\n\t\t\t\t\t\"remote-locator\":\"192.168.7.8\",\n\t\t\t\t\t\"weight\":3\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\":\"gpe-entry-locator-2\",\n\t\t\t\t\"locator-pair\":{\n\t\t\t\t\t\"local-locator\":\"192.168.9.7\",\n\t\t\t\t\t\"remote-locator\":\"192.168.9.8\",\n\t\t\t\t\t\"weight\":2\n\t\t\t\t}\n\t\t\t}\t\n\t\t]\n\t}\t\n}" + "rawModeData": "{\n \"gpe-entry\":\n {\n \"id\":\"gpe-entry-1\",\n \"dp-table\":\"1\",\n \"vni\":10,\n \"local-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"10\",\n \"ipv4-prefix\":\"192.168.2.1/24\"\n },\n \"remote-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"10\",\n \"ipv4-prefix\":\"192.168.3.1/24\"\n },\n \"locator-pairs\":[\n {\n \"id\":\"gpe-entry-locator-1\",\n \"locator-pair\":{\n \"local-locator\":\"192.168.7.7\",\n \"remote-locator\":\"192.168.7.8\",\n \"weight\":3\n }\n },\n {\n \"id\":\"gpe-entry-locator-2\",\n \"locator-pair\":{\n \"local-locator\":\"192.168.9.7\",\n \"remote-locator\":\"192.168.9.8\",\n \"weight\":2\n }\n } \n ]\n } \n}" }, { + "folder": null, "id": "afd22ac4-448b-157a-de99-cdb353859546", + "name": "Get gpe entry- positive mapping", + "dataMode": "raw", + "data": [], + "descriptionFormat": null, + "description": "", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "GET", + "pathVariables": {}, "url": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1", "preRequestScript": null, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "queryParams": null, + "headerData": null, + "pathVariableData": null, + "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", + "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}" + }, + { + "id": "f0ae8c21-de3e-2ec1-c816-4cc2e970a839", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "headerData": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=", + "description": "", + "enabled": true + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "enabled": true + } + ], + "url": "http://localhost:8183/restconf/operational/naming-context:contexts", + "queryParams": [], + "preRequestScript": "", "pathVariables": {}, + "pathVariableData": [], "method": "GET", "data": [], "dataMode": "raw", - "version": 2, - "tests": null, + "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1495180295687, - "name": "Get gpe entry- positive mapping", + "time": 1496403090883, + "name": "ctx", "description": "", "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", - "responses": [], - "rawModeData": "{\n\t\"gpe\":{\n\t\t\"gpe-feature-data\":{\n\t\t\t\"enable\":true\n\t\t}\n\t}\n}" + "rawModeData": "{\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}" } ] }
\ No newline at end of file |