From 7ca39aa6d228dc552097857afc697ddf52bd3ad3 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Wed, 24 May 2017 08:45:19 +0200 Subject: HC2VPP-147 - Gpe entry implementation Change-Id: Ie7887c8e8f10678410ad677c425bfed1690bf440 Signed-off-by: Jan Srnicek --- lisp/gpe_postman_collection.json | 200 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 lisp/gpe_postman_collection.json (limited to 'lisp/gpe_postman_collection.json') diff --git a/lisp/gpe_postman_collection.json b/lisp/gpe_postman_collection.json new file mode 100644 index 000000000..126650d02 --- /dev/null +++ b/lisp/gpe_postman_collection.json @@ -0,0 +1,200 @@ +{ + "id": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0", + "name": "Lisp gpe RESTCONF collection", + "description": "", + "order": [ + "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": [], + "timestamp": 1495177828276, + "owner": "658985", + "public": false, + "requests": [ + { + "id": "12fac9c2-162d-7274-5f90-6e943f7a9433", + "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", + "preRequestScript": null, + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1495183032877, + "name": "Delete gpe entry- negative mapping", + "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}" + }, + { + "id": "1bbf9810-f369-a2a1-95cc-5f42529480fe", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "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": "", + "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}" + }, + { + "id": "2b9b1bec-1e40-b7c9-4756-c2eee3936d73", + "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", + "preRequestScript": null, + "pathVariables": {}, + "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", + "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}" + }, + { + "id": "3b529c6c-f4f0-7e69-c61f-4dc8f16d3c65", + "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-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": "", + "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}" + }, + { + "id": "478e1140-d6e6-56ab-e9b7-11628a06b8ee", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "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": "", + "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}" + }, + { + "id": "5682b704-dc88-8186-c0ed-f7bb952f8150", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "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": "", + "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}" + }, + { + "id": "6a934021-ad9b-d1ef-4059-8639caddc2bf", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "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", + "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}" + }, + { + "id": "7ff012c8-9065-008b-4552-cf0de8846426", + "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-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", + "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}" + }, + { + "id": "afd22ac4-448b-157a-de99-cdb353859546", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1495180295687, + "name": "Get gpe entry- positive mapping", + "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}" + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg