From: Florin Coras Date: Wed, 14 Oct 2015 11:12:03 +0000 (+0200) Subject: Add sfclisp postman collection for testing X-Git-Tag: release/beryllium~85 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=b868f31e9f80313f23d6792131a550e2bf098296;p=sfc.git Add sfclisp postman collection for testing Change-Id: I838b7c6b3c2aec027dec4a70d8d94377703ad1af Signed-off-by: Florin Coras --- diff --git a/sfclisp/src/main/resources/sfc_lisp_test.json.postman_collection b/sfclisp/src/main/resources/sfc_lisp_test.json.postman_collection new file mode 100644 index 000000000..5f3d008b0 --- /dev/null +++ b/sfclisp/src/main/resources/sfc_lisp_test.json.postman_collection @@ -0,0 +1,489 @@ +{ + "id": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "name": "sfc lisp", + "description": "", + "order": [ + "4058d06e-b4f7-8579-a1c7-123add6e3e47", + "017355eb-2d60-d6e3-7405-73443f23d2c0", + "52349c94-d635-b3d9-d82c-1c62399583d5", + "8d2d3d25-8abd-5c08-e19b-6bebdf0bf66a", + "1b842c4d-1ea8-2860-a1af-5e4dbf91103f", + "a8863e8b-1017-4517-fe4f-f2f31c60b417", + "1e373121-2a7e-c3a8-0de0-6c14ec6968d9", + "283cbca0-d7d1-15b2-39dc-0a8092eb65dd", + "5cc331bd-26bb-d409-9c85-d97b3fe967f3", + "49a5d135-7708-8efe-05e3-c0e1684ccdb8", + "0568efa9-321a-e51b-e162-e323690b6337", + "650d2740-794d-37e2-f07b-063984a7ab78", + "d6d60e54-5b33-25db-3f31-9778f6f271a7", + "e3e8a2f4-fb8b-448e-8e38-7eec38889d5b", + "1d092fb3-78e7-2a61-dcf1-e136c5fc383d", + "18fa32ca-15ab-1f73-fb60-4be6c5fc0f29", + "564fe622-465a-15fc-6da3-b416839dad01", + "f23dc83f-87b6-4b4b-0190-20974b504557", + "efb71caa-0eff-3375-1e66-01fccaa53171", + "e4a575af-aa19-0d1e-05b0-953c89583cde", + "14a66c48-3c9e-5dae-e571-965388c9e5b9", + "58649304-5c09-2a50-27b2-c620ecaba9fb", + "f60ab444-50e8-6548-4b32-175972ee7cb0" + ], + "folders": [], + "timestamp": 1430939662139, + "owner": 0, + "remoteLink": "", + "public": false, + "requests": [ + { + "id": "017355eb-2d60-d6e3-7405-73443f23d2c0", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function:service-functions/", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821583380, + "name": "bootstrap sfs", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"service-functions\": {\n \"service-function\": [\n {\n \"rest-uri\": \"http://localhost:10002\",\n \"ip-mgmt-address\": \"10.3.1.103\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"preferred\",\n \"port\": 10002,\n \"ip\": \"10.3.1.103\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"napt44-103-2\",\n \"type\": \"service-function-type:napt44\",\n \"nsh-aware\": true\n },\n {\n \"rest-uri\": \"http://localhost:10001\",\n \"ip-mgmt-address\": \"10.3.1.103\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"master\",\n \"port\": 10001,\n \"ip\": \"10.3.1.103\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"napt44-103-1\",\n \"type\": \"service-function-type:napt44\",\n \"nsh-aware\": true\n },\n {\n \"rest-uri\": \"http://localhost:10002\",\n \"ip-mgmt-address\": \"10.3.1.102\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"1\",\n \"port\": 10002,\n \"ip\": \"10.3.1.102\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"dpi-102-2\",\n \"type\": \"service-function-type:dpi\",\n \"nsh-aware\": true\n },\n {\n \"rest-uri\": \"http://localhost:10002\",\n \"ip-mgmt-address\": \"10.3.1.101\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"2\",\n \"port\": 10002,\n \"ip\": \"10.3.1.101\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"firewall-101-2\",\n \"type\": \"service-function-type:firewall\",\n \"nsh-aware\": true\n },\n {\n \"rest-uri\": \"http://localhost:10002\",\n \"ip-mgmt-address\": \"10.3.1.104\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"3\",\n \"port\": 10020,\n \"ip\": \"10.3.1.104\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"napt44-104\",\n \"type\": \"service-function-type:napt44\",\n \"nsh-aware\": true\n },\n {\n \"rest-uri\": \"http://localhost:10001\",\n \"ip-mgmt-address\": \"10.3.1.102\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"4\",\n \"port\": 10001,\n \"ip\": \"10.3.1.102\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"dpi-102-1\",\n \"type\": \"service-function-type:dpi\",\n \"nsh-aware\": true\n },\n {\n \"rest-uri\": \"http://localhost:10001\",\n \"ip-mgmt-address\": \"10.3.1.104\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"my-locator\",\n \"port\": 10001,\n \"ip\": \"10.3.1.104\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"firewall-104\",\n \"type\": \"service-function-type:firewall\",\n \"nsh-aware\": true\n },\n {\n \"rest-uri\": \"http://localhost:10003\",\n \"ip-mgmt-address\": \"10.3.1.102\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"101\",\n \"port\": 10003,\n \"ip\": \"10.3.1.102\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"dpi-102-3\",\n \"type\": \"service-function-type:dpi\",\n \"nsh-aware\": true\n },\n {\n \"rest-uri\": \"http://localhost:10001\",\n \"ip-mgmt-address\": \"10.3.1.101\",\n \"sf-data-plane-locator\": [\n {\n \"name\": \"007\",\n \"port\": 10001,\n \"ip\": \"10.3.1.101\",\n \"service-function-forwarder\": \"SFF-bootstrap\"\n }\n ],\n \"name\": \"firewall-101-1\",\n \"type\": \"service-function-type:firewall\",\n \"nsh-aware\": true\n }\n ]\n }\n}" + }, + { + "id": "0568efa9-321a-e51b-e162-e323690b6337", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/rendered-service-path:delete-rendered-path", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1434577044311, + "name": "delete rsp", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"input\": {\n \"name\": \"SFC2-T-Path-1\"\n }\n}" + }, + { + "id": "14a66c48-3c9e-5dae-e571-965388c9e5b9", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/mappingservice:mapping-database/", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444635485872, + "name": "get all mappings", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [] + }, + { + "id": "18fa32ca-15ab-1f73-fb60-4be6c5fc0f29", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/ietf-access-control-list:access-lists", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821483628, + "name": "get acls", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [] + }, + { + "id": "1b842c4d-1ea8-2860-a1af-5e4dbf91103f", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/ietf-access-control-list:access-lists/", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821602083, + "name": "bootstrap acls", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"access-lists\": {\n \"acl\": [\n {\n \"acl-name\": \"ACL1\",\n \"access-list-entries\": {\n \"ace\" : [\n {\n \"rule-name\": \"ACE1\",\n \"matches\" : \n {\n \"source-port-range\" : {\n \"lower-port\" : 80,\n \"upper-port\" : 80\n },\n \"protocol\" : 7,\n \n \"source-ipv4-network\" : \"192.168.1.0/24\",\n \"destination-ipv4-network\" : \"192.168.2.0/24\"\n }\n }\n ]\n }\n }\n ]\n }\n}" + }, + { + "id": "1d092fb3-78e7-2a61-dcf1-e136c5fc383d", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function-chain:service-function-chains", + "pathVariables": {}, + "preRequestScript": "", + "method": "GET", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "data": [], + "dataMode": "params", + "name": "get sfcs", + "description": "", + "descriptionFormat": "html", + "time": 1434531347315, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {} + }, + { + "id": "1e373121-2a7e-c3a8-0de0-6c14ec6968d9", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function-path:service-function-paths/", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821617381, + "name": "bootstrap sf paths", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"service-function-paths\": {\n \"service-function-path\": [\n {\n \"name\": \"SFC2-T\",\n \"classifier\": \"Classifier1\",\n \"starting-index\": 255,\n \"service-chain-name\": \"SFC2\"\n }\n ]\n }\n}" + }, + { + "id": "283cbca0-d7d1-15b2-39dc-0a8092eb65dd", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:add-mapping", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444811840218, + "name": "add mapping", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"input\": {\n \"recordTtl\": 1440,\n \"maskLength\": 24,\n \"authoritative\": true,\n \"LispAddressContainer\": {\n \"Ipv4Address\": {\n \"afi\": 1,\n \"Ipv4Address\": \"192.168.2.0\"\n }\n },\n \"LocatorRecord\": [\n {\n \"name\": \"ISP1\",\n \"priority\": 1,\n \"weight\": 1,\n \"multicastPriority\": 255,\n \"multicastWeight\": 0,\n \"localLocator\": true,\n \"rlocProbed\": false,\n \"routed\": false,\n \"LispAddressContainer\": {\n \"Ipv4Address\": {\n \"afi\": 1,\n \"Ipv4Address\": \"10.10.10.10\"\n }\n }\n }\n ]\n }\n}" + }, + { + "id": "4058d06e-b4f7-8579-a1c7-123add6e3e47", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-node:service-nodes/", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821573257, + "name": "bootstrap sns", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"service-nodes\": {\n \"service-node\": [\n {\n \"name\": \"node-101\",\n \"service-function\": [\n \"firewall-101-2\",\n \"firewall-101-1\"\n ],\n \"ip-mgmt-address\": \"10.3.1.101\"\n },\n {\n \"name\": \"node-102\",\n \"service-function\": [\n \"dpi-102-1\",\n \"dpi-102-2\",\n \"dpi-102-3\"\n ],\n \"ip-mgmt-address\": \"10.3.1.102\"\n },\n {\n \"name\": \"node-103\",\n \"service-function\": [\n \"napt44-103-1\",\n \"napt44-103-2\"\n ],\n \"ip-mgmt-address\": \"10.3.1.103\"\n },\n {\n \"name\": \"node-104\",\n \"service-function\": [\n \"firewall-104\",\n \"napt44-104\"\n ],\n \"ip-mgmt-address\": \"10.3.1.104\"\n }\n ]\n }\n}" + }, + { + "id": "49a5d135-7708-8efe-05e3-c0e1684ccdb8", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/rendered-service-path:create-rendered-path", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1434576247459, + "name": "create rsp", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"input\": {\n \"name\": \"SFC2-T-Path-1\",\n \"parent-service-function-path\": \"SFC2-T\"\n }\n}" + }, + { + "id": "52349c94-d635-b3d9-d82c-1c62399583d5", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function-forwarder:service-function-forwarders/", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821589750, + "name": "bootstrap sffs", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"service-function-forwarders\": {\n \"service-function-forwarder\": [\n {\n \"name\": \"SFF-bootstrap\",\n \"service-node\": \"OVSDB1\",\n \"rest-uri\": \"http://localhost:5000\",\n \"sff-data-plane-locator\": [\n {\n \"name\": \"eth0\",\n \"service-function-forwarder-ovs:ovs-bridge\": {\n \"uuid\": \"4c3778e4-840d-47f4-b45e-0988e514d26c\",\n \"bridge-name\": \"br-tun\"\n },\n \"data-plane-locator\": {\n \"port\": 5000,\n \"ip\": \"192.168.1.1\",\n \"transport\": \"service-locator:vxlan-gpe\"\n }\n }\n ],\n \"service-function-dictionary\": [\n {\n \"sff-sf-data-plane-locator\": {\n \"port\": 5000,\n \"ip\": \"10.1.1.1\"\n },\n \"name\": \"SF1\",\n \"type\": \"service-function-type:dpi\"\n },\n {\n \"sff-sf-data-plane-locator\": {\n \"port\": 5000,\n \"ip\": \"10.1.1.2\"\n },\n \"name\": \"SF2\",\n \"type\": \"service-function-type:firewall\"\n }\n ]\n },\n {\n \"name\": \"br-int-ovs-2\",\n \"service-node\": \"OVSDB2\",\n \"rest-uri\": \"http://localhost:5000\",\n \"sff-data-plane-locator\": [\n {\n \"name\": \"eth0\",\n \"service-function-forwarder-ovs:ovs-bridge\": {\n \"uuid\": \"fd4d849f-5140-48cd-bc60-6ad1f5fc0a01\",\n \"bridge-name\": \"br-tun\"\n },\n \"data-plane-locator\": {\n \"port\": 5000,\n \"ip\": \"192.168.1.2\",\n \"transport\": \"service-locator:vxlan-gpe\"\n }\n }\n ],\n \"service-function-dictionary\": [\n {\n \"sff-sf-data-plane-locator\": {\n \"port\": 5000,\n \"ip\": \"10.1.1.5\"\n },\n \"name\": \"SF5\",\n \"type\": \"service-function-type:dpi\"\n },\n {\n \"sff-sf-data-plane-locator\": {\n \"port\": 5000,\n \"ip\": \"10.1.1.6\"\n },\n \"name\": \"SF6\",\n \"type\": \"service-function-type:napt44\"\n }\n ]\n }\n ]\n }\n}\n" + }, + { + "id": "564fe622-465a-15fc-6da3-b416839dad01", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function-classifier:service-function-classifiers", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821433969, + "name": "get classifiers", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [] + }, + { + "id": "58649304-5c09-2a50-27b2-c620ecaba9fb", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:get-mapping", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444635564772, + "name": "get SD mapping", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"input\": {\n \"LispAddressContainer\": {\n \"LcafSourceDestAddr\" : {\n \"lcafType\" : 12,\n \"afi\": 16387,\n \"srcAddress\" : {\n \"Ipv4Address\" : {\n \"Ipv4Address\" : \"192.168.1.1\",\n \"afi\" : 1\n }\n },\n \"dstAddress\" : {\n \"Ipv4Address\" : {\n \"Ipv4Address\" : \"192.168.2.1\",\n \"afi\" : 1\n }\n },\n \"srcMaskLength\" : 32,\n \"dstMaskLength\" : 32\n }\n },\n \"mask-length\": 32\n }\n}" + }, + { + "id": "5cc331bd-26bb-d409-9c85-d97b3fe967f3", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/mappingservice:mapping-database/instance-id/0/mapping/192.168.2.0/northbound/", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444636524560, + "name": "update mapping", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"input\": {\n \"recordTtl\": 1440,\n \"maskLength\": 24,\n \"authoritative\": true,\n \"LispAddressContainer\": {\n \"Ipv4Address\": {\n \"afi\": 1,\n \"Ipv4Address\": \"192.168.2.0\"\n }\n },\n \"LocatorRecord\": [\n {\n \"name\": \"ISP1\",\n \"priority\": 1,\n \"weight\": 1,\n \"multicastPriority\": 255,\n \"multicastWeight\": 0,\n \"localLocator\": true,\n \"rlocProbed\": false,\n \"routed\": false,\n \"LispAddressContainer\": {\n \"Ipv4Address\": {\n \"afi\": 1,\n \"Ipv4Address\": \"10.10.10.10\"\n }\n }\n }\n ]\n }\n}" + }, + { + "id": "650d2740-794d-37e2-f07b-063984a7ab78", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-node:service-nodes", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444814258437, + "name": "get sns", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [] + }, + { + "id": "8d2d3d25-8abd-5c08-e19b-6bebdf0bf66a", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function-chain:service-function-chains/", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821595818, + "name": "bootstrap sfcs", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"service-function-chains\": {\n \"service-function-chain\": [\n {\n \"name\": \"SFC1\",\n \"sfc-service-function\": [\n {\n \"name\": \"dpi-abstract1\",\n \"type\": \"service-function-type:dpi\",\n \"order\" : 0\n },\n {\n \"name\": \"napt44-abstract1\",\n \"type\": \"service-function-type:napt44\",\n \"order\" : 1\n },\n {\n \"name\": \"firewall-abstract1\",\n \"type\": \"service-function-type:firewall\",\n \"order\" : 2\n }\n ]\n },\n {\n \"name\": \"SFC2\",\n \"sfc-service-function\": [\n {\n \"name\": \"firewall-abstract2\",\n \"type\": \"service-function-type:firewall\",\n \"order\" : 0\n },\n {\n \"name\": \"napt44-abstract2\",\n \"type\": \"service-function-type:napt44\",\n \"order\" : 1\n }\n ]\n }\n ]\n }\n}" + }, + { + "id": "a8863e8b-1017-4517-fe4f-f2f31c60b417", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function-classifier:service-function-classifiers/", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821608452, + "name": "bootstrap classifier", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"service-function-classifiers\": {\n \"service-function-classifier\": [\n {\n \"name\": \"Classifier1\",\n \"access-list\": \"ACL1\", \n \"scl-service-function-forwarder\" : [\n {\n \"name\" : \"SFF-bootstrap\",\n \"interface\" : \"eth0\"\n }\n ]\n }\n ]\n }\n}" + }, + { + "id": "d6d60e54-5b33-25db-3f31-9778f6f271a7", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function:service-functions/", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444814314280, + "name": "get sfs", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [] + }, + { + "id": "e3e8a2f4-fb8b-448e-8e38-7eec38889d5b", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function-forwarder:service-function-forwarders", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444821361562, + "name": "get sffs", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [] + }, + { + "id": "e4a575af-aa19-0d1e-05b0-953c89583cde", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:get-mapping", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444637059905, + "name": "get mapping", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [], + "rawModeData": "{\n \"input\": {\n \"LispAddressContainer\": {\n \"Ipv4Address\": {\n \"afi\": 1,\n \"Ipv4Address\": \"192.168.2.0\"\n }\n },\n \"mask-length\": 24\n }\n}" + }, + { + "id": "efb71caa-0eff-3375-1e66-01fccaa53171", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operational/rendered-service-path:rendered-service-paths", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1434532110395, + "name": "get rsps", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [] + }, + { + "id": "f23dc83f-87b6-4b4b-0190-20974b504557", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/service-function-path:service-function-paths", + "pathVariables": {}, + "preRequestScript": "", + "method": "GET", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "data": [], + "dataMode": "params", + "name": "get sf paths", + "description": "", + "descriptionFormat": "html", + "time": 1434531398480, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {} + }, + { + "id": "f60ab444-50e8-6548-4b32-175972ee7cb0", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/mappingservice:mapping-database/", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1444635531133, + "name": "delete ALL database content", + "description": "", + "collectionId": "e9efeaf1-19e9-18c1-700f-474182c24ef6", + "responses": [] + } + ] +}