summaryrefslogtreecommitdiffstats
path: root/lisp/gpe_postman_collection_v1.0.0.json
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gpe_postman_collection_v1.0.0.json')
-rw-r--r--lisp/gpe_postman_collection_v1.0.0.json340
1 files changed, 340 insertions, 0 deletions
diff --git a/lisp/gpe_postman_collection_v1.0.0.json b/lisp/gpe_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..70ccebc9d
--- /dev/null
+++ b/lisp/gpe_postman_collection_v1.0.0.json
@@ -0,0 +1,340 @@
+{
+ "id": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "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",
+ "478e1140-d6e6-56ab-e9b7-11628a06b8ee",
+ "afd22ac4-448b-157a-de99-cdb353859546",
+ "1bbf9810-f369-a2a1-95cc-5f42529480fe",
+ "3b529c6c-f4f0-7e69-c61f-4dc8f16d3c65",
+ "12fac9c2-162d-7274-5f90-6e943f7a9433",
+ "5682b704-dc88-8186-c0ed-f7bb952f8150"
+ ],
+ "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": "108cdf05-a647-ee74-f59e-e224f5827073",
+ "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": 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",
+ "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,
+ "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}"
+ },
+ {
+ "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": 1497354971312,
+ "name": "Add table with entries",
+ "description": "",
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "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,
+ "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}"
+ },
+ {
+ "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,
+ "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}"
+ },
+ {
+ "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,
+ "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}"
+ },
+ {
+ "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,
+ "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}"
+ },
+ {
+ "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,
+ "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-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-pair\":[\n {\n \"local-locator\":\"192.168.7.7\",\n \"remote-locator\":\"192.168.7.8\",\n \"weight\":3\n },\n {\n \"local-locator\":\"192.168.9.7\",\n \"remote-locator\":\"192.168.9.8\",\n \"weight\":2\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",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1496403090883,
+ "name": "ctx",
+ "description": "",
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "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