From c2fa4de9535239bec172357dcc8c0ddc576212e6 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Wed, 9 Nov 2016 08:55:04 +0100 Subject: HONEYCOMB-254 - Adjacencies dump support Added mapping context between adjacency id(HC side) and combination of remote and local eids(vpp side) Change-Id: Icbba9130a82b7af51b23e6d6d68fcfbf49e66c99 Signed-off-by: Jan Srnicek --- lisp/lisp_postman_collection.json | 75 +++++++++++++++++++++++++++++++++++---- 1 file changed, 68 insertions(+), 7 deletions(-) (limited to 'lisp/lisp_postman_collection.json') diff --git a/lisp/lisp_postman_collection.json b/lisp/lisp_postman_collection.json index 0fc5769a2..98c8c6511 100644 --- a/lisp/lisp_postman_collection.json +++ b/lisp/lisp_postman_collection.json @@ -17,6 +17,7 @@ "70ab7906-c783-ae9f-487e-28505dace49c", "07e6f197-3b13-095e-9525-176167e3b5a4", "1d57c0aa-a7bd-cb15-27c3-2f56c608d0ca", + "a98dcdc1-a383-4355-6174-d2618a790ebd", "9efbb933-5389-bee4-8e2f-a82fcdc1151d", "41798cf0-8fa1-ab54-815c-4ae37024aaf0", "121017cd-63f8-231d-5676-f8e2d4f2961f", @@ -41,6 +42,8 @@ "bc81a430-c93c-d9ca-8427-1c4f4a73fcf9", "8dfbeb8c-f27c-48df-9022-cc34489eb0c3", "0f796bd9-87c8-0004-a3e7-25555d648b7e", + "7d27fd46-87c3-4012-61f2-8b48a6d424aa", + "383d2f9b-54f7-c924-dff9-b2bd96b08573", "ca05036e-787a-5e8b-bbfd-9b6fce61a893", "f0fc317e-801b-89bf-5821-317f5c835d97", "5e529c91-698a-9186-50e4-ee2b718825f8", @@ -52,7 +55,6 @@ "timestamp": 1475131541292, "owner": "658985", "public": false, - "published": false, "requests": [ { "id": "0025c271-1d7c-4fe7-6f98-803c6db92d19", @@ -104,7 +106,7 @@ "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1475223086280, + "time": 1478093498704, "name": "Add adjacency", "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api", "collectionId": "f81144ce-6874-1a85-4f77-dcead6a67cd3", @@ -282,6 +284,25 @@ "responses": [], "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply\":{\r\n \t\"map-reply-action\":\"no-action\"\r\n }\r\n }\r\n}" }, + { + "id": "383d2f9b-54f7-c924-dff9-b2bd96b08573", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1478093569104, + "name": "Get adjacency - Operational", + "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api", + "collectionId": "f81144ce-6874-1a85-4f77-dcead6a67cd3", + "responses": [], + "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}" + }, { "id": "39cdad3e-55e7-c091-835a-7b8956ad528b", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", @@ -313,7 +334,7 @@ "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1475134484420, + "time": 1475591910686, "name": "Get Bridge Domain Subtable 10 Config", "description": "", "collectionId": "f81144ce-6874-1a85-4f77-dcead6a67cd3", @@ -529,6 +550,25 @@ "responses": [], "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply-action\":\"no-action\"\r\n \r\n }\r\n}" }, + { + "id": "7d27fd46-87c3-4012-61f2-8b48a6d424aa", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1478093588436, + "name": "Get adjacency - Config", + "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api", + "collectionId": "f81144ce-6874-1a85-4f77-dcead6a67cd3", + "responses": [], + "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}" + }, { "id": "8dfbeb8c-f27c-48df-9022-cc34489eb0c3", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", @@ -598,12 +638,33 @@ "tests": null, "currentHelper": "normal", "helperAttributes": {}, - "time": 1475137154754, - "name": "Add Bridge Domain Subtable testBD", + "time": 1475591891745, + "name": "Add Bridge Domain Subtable 10", "description": "", "collectionId": "f81144ce-6874-1a85-4f77-dcead6a67cd3", "responses": [], - "rawModeData": "{\r\n\r\n \"bridge-domain-subtable\":{\r\n \t\"bridge-domain-ref\":testBD\r\n }\r\n}" + "rawModeData": "{\r\n\r\n \"bridge-domain-subtable\":{\r\n \t\"bridge-domain-ref\":\"testBD\"\r\n }\r\n}" + }, + { + "id": "a98dcdc1-a383-4355-6174-d2618a790ebd", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD", + "pathVariables": {}, + "preRequestScript": "", + "method": "PUT", + "collectionId": "f81144ce-6874-1a85-4f77-dcead6a67cd3", + "data": [], + "dataMode": "raw", + "name": "Create bridge testBD", + "description": "Creates bridgfe domain. Corresponds to invoking:\n\nvat# bridge_domain_add_del bd_id [bd_id] learn 0 forward 0 uu-flood 0 flood 1 arp-term 0\n\nTo verify run:\n\nvppctl show bridge-domain [bd_id] detail", + "descriptionFormat": "html", + "time": 1465805138795, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "rawModeData": "{\r\n \"bridge-domain\": [\r\n {\r\n \"name\": \"testBD\",\r\n \"flood\": \"true\",\r\n \"forward\": \"false\",\r\n \"learn\": \"false\",\r\n \"unknown-unicast-flood\": \"false\",\r\n \"arp-termination\": \"false\"\r\n }\r\n ]\r\n}" }, { "id": "b269cb03-c0fc-aa68-c730-b126274dde78", @@ -891,4 +952,4 @@ "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}" } ] -} +} \ No newline at end of file -- cgit 1.2.3-korg