{ "id": "f9258895-49e9-596f-d413-698cbcadfbde", "name": "Honeycomb NAT RESTCONF calls", "description": "Common management operations for Honeycomb + VPP + SNAT plugin", "order": [ "d2961af7-47f7-8960-1b00-f5dcd2beafb9", "c00f25d2-f194-2e90-30e5-ca31e8fbd630", "1ffc71e4-9d1e-0c99-7901-605ac8e364b6", "f3a7e1b5-c1d0-ab2f-3cef-3c902f8e72d5", "26f9e8f4-db90-f7f6-0c1b-d9d20790dbcd", "e149e9d6-3bee-1499-c03b-c1043c9a5b46" ], "folders": [ { "id": "ce93ade0-47c3-a82d-a768-058a2e18e2bb", "name": "1:1 static", "description": "", "order": [ "bca19675-d674-0cde-8639-df3d2ecbfd27", "153f5720-fafc-22e6-6282-cf9e18226dbc", "830c4ab3-2e48-5654-8aa5-2d2f9eed84b4", "2c53651a-e31c-24da-122e-c0ce65544c8e", "b54693d5-9226-1c27-77b2-8b1313da2e80" ], "owner": "45557", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde" }, { "id": "42903502-652c-8f7d-f18b-f333b45d30de", "name": "DYNAMIC", "description": "", "order": [ "8a37a16b-c400-6468-ca9c-d2a7657f9086", "20a8172a-7908-37cf-b63e-51fee1474d10", "70bc0207-e806-5722-fc71-7686d7076f9d", "87de21e5-53c7-72d5-ac92-325381246350" ], "owner": "45557", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde" }, { "id": "70e5612d-2e65-a822-975f-33134dcf16ff", "name": "sub-interfaces", "description": "", "order": [ "df514a31-847e-768d-a309-a47b7bb48c98", "6dbf92c2-398d-70f6-dd89-c5f130800d75", "f87359f5-e9a0-3b7f-8ad8-c92e2bf65f0d", "45a50c66-4afd-6a1f-27f3-b99c74056b36" ], "owner": "45557", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde" } ], "timestamp": 1475147449190, "owner": "45557", "public": false, "published": false, "requests": [ { "id": "153f5720-fafc-22e6-6282-cf9e18226dbc", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/operational/naming-context:contexts", "pathVariables": {}, "preRequestScript": "", "method": "GET", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "Get NAT context -context", "description": "Read nat context ", "descriptionFormat": "html", "time": 1475678940763, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb", "rawModeData": "{\r\n \r\n \"inbound\" : {}\r\n \r\n}" }, { "id": "1ffc71e4-9d1e-0c99-7901-605ac8e364b6", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1475154424741, "name": "Set NAT outbound for ifc - cfg", "description": "Setting intarface NAT outbound feature\n\nCLI: set interface snat in out [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "{\r\n \r\n \"outbound\" : {}\r\n \r\n}" }, { "id": "2c53651a-e31c-24da-122e-c0ce65544c8e", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1475678997603, "name": "Get NAT - config", "description": "Read nat-state", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "{\r\n \r\n \"inbound\" : {}\r\n \r\n}" }, { "id": "830c4ab3-2e48-5654-8aa5-2d2f9eed84b4", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/operational/ietf-nat:nat-state", "pathVariables": {}, "preRequestScript": "", "method": "GET", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "Get NAT -state", "description": "Read nat-state\n\nCLI: show snat [detail|verbose]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "descriptionFormat": "html", "time": 1475677867416, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb", "rawModeData": "{\r\n \r\n \"inbound\" : {}\r\n \r\n}" }, { "id": "b54693d5-9226-1c27-77b2-8b1313da2e80", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/mapping-table/mapping-entry/1/", "pathVariables": {}, "preRequestScript": "", "method": "DELETE", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "Delete SNAT 1:1 static entry IPv4 -cfg", "description": "", "descriptionFormat": "html", "time": 1475761660317, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb", "rawModeData": "{\r\n\t\"mapping-entry\" : {\r\n\t\t\"index\": 1,\r\n\t\t\"type\": \"static\",\r\n\t\t\"internal-src-address\": \"192.168.1.87\",\r\n\t\t\"external-src-address\": \"45.1.5.7\"\r\n\t}\r\n}" }, { "id": "bca19675-d674-0cde-8639-df3d2ecbfd27", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/mapping-table/mapping-entry/1/", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1475758450889, "name": "Add SNAT 1:1 static entry IPv4 -cfg", "description": "CLI: snat add static mapping local 10.0.0.3 external 4.4.4.4\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "{\r\n\t\"mapping-entry\" : {\r\n\t\t\"index\": 1,\r\n\t\t\"type\": \"static\",\r\n\t\t\"internal-src-address\": \"192.168.1.87\",\r\n\t\t\"external-src-address\": \"45.1.5.7\"\r\n\t}\r\n}" }, { "id": "c00f25d2-f194-2e90-30e5-ca31e8fbd630", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound", "pathVariables": {}, "preRequestScript": "", "method": "DELETE", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "Disable NAT inbound for ifc - cfg", "description": "Unsetting intarface NAT inbound feature\n\nCLI: set interface snat in out [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "descriptionFormat": "html", "time": 1475835912474, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "rawModeData": "{\r\n \r\n \"inbound\" : {}\r\n \r\n}" }, { "id": "d2961af7-47f7-8960-1b00-f5dcd2beafb9", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound", "pathVariables": {}, "preRequestScript": "", "method": "PUT", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "Set NAT inbound for ifc - cfg", "description": "Setting intarface NAT inbound feature\n\nCLI: set interface snat in out [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "descriptionFormat": "html", "time": 1475154374071, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "rawModeData": "{\r\n \r\n \"inbound\" : {}\r\n \r\n}" }, { "id": "f3a7e1b5-c1d0-ab2f-3cef-3c902f8e72d5", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound", "pathVariables": {}, "preRequestScript": "", "method": "DELETE", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "Disable NAT outbound for ifc - cfg", "description": "Unsetting intarface NAT outbound feature\n\nCLI: set interface snat in out [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "descriptionFormat": "html", "time": 1475835941689, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "rawModeData": "{\r\n \r\n \"outbound\" : {}\r\n \r\n}" }, { "id": "e149e9d6-3bee-1499-c03b-c1043c9a5b46", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/", "pathVariables": {}, "preRequestScript": "", "method": "GET", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "List ifcs - cfg", "description": "List ifcs - cfg", "descriptionFormat": "html", "time": 1487678576123, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "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}" }, { "id": "26f9e8f4-db90-f7f6-0c1b-d9d20790dbcd", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/", "pathVariables": {}, "preRequestScript": "", "method": "GET", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "List ifcs - oper", "description": "", "descriptionFormat": "html", "time": 1487678587771, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "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}" }, { "id": "70bc0207-e806-5722-fc71-7686d7076f9d", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/external-ip-address-pool/2/", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1487676902330, "name": "Add single address to pool", "description": "CLI: vppctl snat add address 172.16.2.123\n\nCan be verified with\nvat# snat_address_dump\n\nMore information:\nhttps://wiki.fd.io/view/VPP/SNAT\nhttps://docs.fd.io/vpp/17.07/clicmd_src_plugins_snat.html#clicmd_set_interface_snat", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "{\r\n\t\"external-ip-address-pool\" : {\r\n\t\t\"pool-id\": 2,\r\n\t\t\"external-ip-pool\": \"172.16.2.123/32\"\r\n\t}\r\n}" }, { "id": "87de21e5-53c7-72d5-ac92-325381246350", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/external-ip-address-pool/2/", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1487678215755, "name": "Delete single address", "description": "CLI: vppctl snat del address 172.16.2.123\n\nCan be verified with\nvat# snat_address_dump\n\nMore information:\nhttps://wiki.fd.io/view/VPP/SNAT\nhttps://docs.fd.io/vpp/17.07/clicmd_src_plugins_snat.html#clicmd_set_interface_snat", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "" }, { "id": "8a37a16b-c400-6468-ca9c-d2a7657f9086", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/external-ip-address-pool/1/", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1487676498064, "name": "Add SNAT address pool", "description": "CLI: vppctl snat add address 172.16.2.0 - 172.16.2.4\n\nCan be verified with\nvat# snat_address_dump\n\nMore information:\nhttps://wiki.fd.io/view/VPP/SNAT\nhttps://docs.fd.io/vpp/17.07/clicmd_src_plugins_snat.html#clicmd_set_interface_snat", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "{\r\n\t\"external-ip-address-pool\" : {\r\n\t\t\"pool-id\": 1,\r\n\t\t\"external-ip-pool\": \"172.16.2.0/30\"\r\n\t}\r\n}" }, { "id": "20a8172a-7908-37cf-b63e-51fee1474d10", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/external-ip-address-pool/1/", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1487678255065, "name": "Delete SNAT address pool", "description": "CLI: vppctl snat del address 172.16.2.0 - 172.16.2.4\n\nCan be verified with\nvat# snat_address_dump\n\nMore information:\nhttps://wiki.fd.io/view/VPP/SNAT\nhttps://docs.fd.io/vpp/17.07/clicmd_src_plugins_snat.html#clicmd_set_interface_snat", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "" }, { "id": "df514a31-847e-768d-a309-a47b7bb48c98", "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/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/subinterface-nat:nat/inbound", "queryParams": [], "pathVariables": {}, "pathVariableData": [], "preRequestScript": "", "method": "PUT", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "Set NAT inbound for subifc - cfg", "description": "Setting sub-intarface NAT inbound feature\n\nCLI: set interface snat in out [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "descriptionFormat": "html", "time": 1498726706031, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "isFromCollection": true, "collectionRequestId": "df514a31-847e-768d-a309-a47b7bb48c98", "folder": "70e5612d-2e65-a822-975f-33134dcf16ff", "rawModeData": "{\r\n \r\n \"inbound\" : {}\r\n \r\n}" }, { "id": "6dbf92c2-398d-70f6-dd89-c5f130800d75", "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/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/subinterface-nat:nat/inbound", "queryParams": [], "preRequestScript": "", "pathVariables": {}, "pathVariableData": [], "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1498726948962, "name": "Disable NAT inbound for subifc - cfg", "description": "Unsetting sub-intarface NAT inbound feature\n\nCLI: set interface snat in out [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "{\r\n \r\n \"inbound\" : {}\r\n \r\n}" }, { "id": "f87359f5-e9a0-3b7f-8ad8-c92e2bf65f0d", "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/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/subinterface-nat:nat/outbound", "queryParams": [], "preRequestScript": "", "pathVariables": {}, "pathVariableData": [], "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1498726954006, "name": "Set NAT outbound for subifc - cfg", "description": "Setting sub-intarface NAT outbound feature\n\nCLI: set interface snat in out [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "responses": [], "rawModeData": "{\r\n \r\n \"outbound\" : {}\r\n \r\n}" }, { "id": "45a50c66-4afd-6a1f-27f3-b99c74056b36", "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/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound", "queryParams": [], "pathVariables": {}, "pathVariableData": [], "preRequestScript": "", "method": "DELETE", "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde", "data": [], "dataMode": "raw", "name": "Disable NAT outbound for subifc - cfg", "description": "Unsetting sub-intarface NAT outbound feature\n\nCLI: set interface snat in out [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT", "descriptionFormat": "html", "time": 1498726898787, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "folder": "70e5612d-2e65-a822-975f-33134dcf16ff", "rawModeData": "{\r\n \r\n \"outbound\" : {}\r\n \r\n}" } ] }