diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-02-08 17:51:32 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-02-13 10:36:34 +0000 |
commit | 43dfe4c3bdd859664c0d3eb6967c502f87713e31 (patch) | |
tree | bbe81671b9f2e0797591c2266de07eab6b241746 /routing | |
parent | a54c5d0db782ea2dd06cc1a60df46fdbc945d138 (diff) |
HC2VPP-67: postman collection with examples of RA configuration
Change-Id: I753605ec2b8e8548500761fd3a79079c7c6cc8e5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_adv_postman_collection.json | 201 |
1 files changed, 201 insertions, 0 deletions
diff --git a/routing/routing_adv_postman_collection.json b/routing/routing_adv_postman_collection.json new file mode 100644 index 000000000..acb2dc1c7 --- /dev/null +++ b/routing/routing_adv_postman_collection.json @@ -0,0 +1,201 @@ +{ + "id": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "name": "Routing Advertisments", + "description": "Example requests describing how to configure RA using Honeycomb", + "order": [ + "0b83d874-bd02-fe68-f4af-432ffb83f6c5", + "2bd7e446-4623-f3d7-a3ad-e56b0301cf8c", + "d04acc7c-fe95-5a47-7a8c-08fe72db3e93", + "34c30f01-c6f2-ac1c-d2c3-11232906494b", + "68ac1ddf-ec9e-e81b-5eb2-9c57116f02b5", + "76fbfaf3-6725-b4f0-7b80-42c73d7c65a7", + "ac92137a-e9e6-6a2f-ba8b-46f04e72f480", + "8493360f-78eb-45d9-7a82-431325de0bd8", + "96b3f794-030d-21b3-6dc1-f833b61be5e2" + ], + "folders": [], + "timestamp": 1486571916567, + "owner": "567303", + "public": false, + "requests": [ + { + "id": "0b83d874-bd02-fe68-f4af-432ffb83f6c5", + "name": "Enable GigabitEthernet0/8/0", + "dataMode": "raw", + "data": [], + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"GigabitEthernet0/8/0\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"v3po:ethernet\": {\r\n \"mtu\": 9216\r\n },\r\n \"enabled\": true\r\n \r\n }\r\n ]\r\n \r\n}", + "descriptionFormat": null, + "description": "Interface needs to be enabled before configuring RA.", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "method": "PUT", + "pathVariables": {}, + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0", + "preRequestScript": null, + "tests": null, + "currentHelper": "normal", + "helperAttributes": "{}", + "responses": [], + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919" + }, + { + "id": "2bd7e446-4623-f3d7-a3ad-e56b0301cf8c", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": "{}", + "time": 1483432018047, + "name": "Add ipv6", + "description": "IP6 needs to be enabled (e.g. by adding ip6 address) before configuring RA.", + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "responses": [], + "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"prefix-length\":64\r\n }\r\n \r\n }\r\n}" + }, + { + "id": "34c30f01-c6f2-ac1c-d2c3-11232906494b", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6-router-advertisements/prefix-list/prefix/2001:0db8:0a0b:12f0:0000:0000:0000:0002%2F64", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1486726576152, + "name": "Add prefix1", + "description": "Equivalent of\n\nvppctl ip6 nd GigabitEthernet0/8/0 prefix 2001:db8:a0b:12f0::2/64 infinite\n\ncan be verified with\n\nvppctl show ip6 interface GigabitEthernet0/8/0", + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "responses": [], + "rawModeData": "{\n\t\"prefix\": [\n\t\t{\n\t\t\t\"prefix-spec\" : \"2001:0db8:0a0b:12f0:0000:0000:0000:0002/64\",\n\t\t\t\"autonomous-flag\" : \"true\",\n\t\t\t \"vpp-routing-ra:advertise-router-address\" : \"true\"\n\t\t}\n\t]\n}" + }, + { + "id": "68ac1ddf-ec9e-e81b-5eb2-9c57116f02b5", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6-router-advertisements/prefix-list/prefix/2002:0db8:0a0b:12f0:0000:0000:0000:0002%2F64", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1486746563556, + "name": "Add prefix2", + "description": "Equivalent of\n\nvppctl ip6 nd GigabitEthernet0/8/0 prefix 2002:db8:a0b:12f0::2/64 infinite\n\ncan be verified with\n\nvppctl show ip6 interface GigabitEthernet0/8/0", + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "responses": [], + "rawModeData": "{\n\t\"prefix\": [\n\t\t{\n\t\t\t\"prefix-spec\" : \"2002:0db8:0a0b:12f0:0000:0000:0000:0002/64\",\n\t\t\t\"valid-lifetime\" : \"0xffffffff\"\n\t\t}\n\t]\n}" + }, + { + "id": "76fbfaf3-6725-b4f0-7b80-42c73d7c65a7", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6-router-advertisements/prefix-list/prefix/2001:0db8:0a0b:12f0:0000:0000:0000:0002%2F64", + "preRequestScript": null, + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": "{}", + "time": 1486571273944, + "name": "Delete prefix1", + "description": "Equivalent of\n\nvppctl ip6 nd GigabitEthernet0/8/0 no prefix 2001:db8:a0b:12f0::2/64\n\ncan be verified with\n\nvppctl show ip6 interface GigabitEthernet0/8/0", + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "responses": [], + "rawModeData": "" + }, + { + "id": "8493360f-78eb-45d9-7a82-431325de0bd8", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6-router-advertisements", + "preRequestScript": null, + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1486572797497, + "name": "Disable RA", + "description": "Suppresses sending RA messages for GigabitEthernet0/8/0\n\nEquivalent of\n\nvppctl ip6 nd GigabitEthernet0/8/0 ra-suppress", + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "responses": [], + "rawModeData": "" + }, + { + "id": "96b3f794-030d-21b3-6dc1-f833b61be5e2", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/interface/GigabitEthernet0%2F8%2F0", + "pathVariables": {}, + "preRequestScript": null, + "method": "GET", + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "data": [], + "dataMode": "raw", + "name": "Read RA config for GigabitEthernet0/8/0", + "description": "", + "descriptionFormat": "html", + "time": 1486746630156, + "version": 2, + "responses": [], + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "rawModeData": "{\n\t\"interface\": [\n\t\t{\n\t\t\t\"name\" : \"GigabitEthernet0/8/0\",\n\t\t\t\"ipv6-router-advertisements\" : {\n\t\t\t\t\"send-advertisements\" : \"true\",\n\t\t\t\t\"min-rtr-adv-interval\" : \"20\",\n\t\t\t\t\"max-rtr-adv-interval\" : \"100\",\n\t\t\t\t\"default-lifetime\" : \"601\",\n\t\t\t\t\"vpp-routing-ra:suppress-link-layer\" : \"false\",\n\t\t\t\t\"vpp-routing-ra:initial-count\" : \"2\",\n\t\t\t\t\"vpp-routing-ra:initial-interval\" : \"15\"\n\t\t\t}\n\t\t}\n\t]\n}" + }, + { + "id": "ac92137a-e9e6-6a2f-ba8b-46f04e72f480", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6-router-advertisements/prefix-list/prefix/2002:0db8:0a0b:12f0:0000:0000:0000:0002%2F64", + "preRequestScript": null, + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": "{}", + "time": 1486571321824, + "name": "Delete prefix2", + "description": "Equivalent of\n\nvppctl ip6 nd GigabitEthernet0/8/0 no prefix 2002:db8:a0b:12f0::2/64\n\ncan be verified with\n\nvppctl show ip6 interface GigabitEthernet0/8/0", + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "responses": [], + "rawModeData": "" + }, + { + "id": "d04acc7c-fe95-5a47-7a8c-08fe72db3e93", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/interface/GigabitEthernet0%2F8%2F0", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1486709825728, + "name": "Configure RA", + "description": "Equivalent of\n\nvppctl ip6 nd GigabitEthernet0/8/0 ra-interval 100 20 ra-lifetime 6001\n\ncan be verified with\n\nvppctl show ip6 interface GigabitEthernet0/8/0", + "collectionId": "a7d15cf2-4a27-a054-f07e-f63f4b3bb919", + "responses": [], + "rawModeData": "{\n\t\"interface\": [\n\t\t{\n\t\t\t\"name\" : \"GigabitEthernet0/8/0\",\n\t\t\t\"ipv6-router-advertisements\" : {\n\t\t\t\t\"send-advertisements\" : \"true\",\n\t\t\t\t\"min-rtr-adv-interval\" : \"20\",\n\t\t\t\t\"max-rtr-adv-interval\" : \"100\",\n\t\t\t\t\"default-lifetime\" : \"601\",\n\t\t\t\t\"vpp-routing-ra:suppress-link-layer\" : \"false\",\n\t\t\t\t\"vpp-routing-ra:initial-count\" : \"2\",\n\t\t\t\t\"vpp-routing-ra:initial-interval\" : \"15\"\n\t\t\t}\n\t\t}\n\t]\n}" + } + ] +}
\ No newline at end of file |