update NetvirtSfc postman collection
[netvirt.git] / resources / commons / NetvirtSfc.json.postman_collection
1 {
2     "id": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
3     "name": "NetvirtSfc",
4     "requests": [
5         {
6             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
7             "data": "{\n    \"access-lists\": {\n        \"access-list\": [\n            {\n                \"acl-name\": \"http-acl\",\n                \"access-list-entries\": {\n                    \"access-list-entry\": [\n                        {\n                            \"rule-name\": \"http-rule\",\n                            \"matches\": {\n                                \"destination-port-range\": {\n                                    \"lower-port\": \"80\",\n                                    \"upper-port\": \"80\"\n                                }\n                            },\n                            \"actions\": {\n                                \"permit\": {}\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}",
8             "dataMode": "raw",
9             "description": "",
10             "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
11             "id": "37a68007-fc51-b406-43fe-dcaba62e3879",
12             "method": "GET",
13             "name": "Acl",
14             "responses": [],
15             "timestamp": 0,
16             "url": "http://localhost:8181/restconf/config/ietf-acl:access-lists",
17             "version": 2
18         },
19         {
20             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
21             "data": "{\n    \"classifiers\": {\n        \"classifier\": [\n            {\n                \"name\": \"http-classifier\",\n                \"acl\": \"http-acl\",\n                \"sffs\": {\n                    \"sff\": [\n                        {\n                            \"name\": \"sff1\"\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}",
22             "dataMode": "raw",
23             "description": "",
24             "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
25             "id": "718ed9fd-f7f3-3862-4a53-b12d83c880ae",
26             "method": "PUT",
27             "name": "Classifier",
28             "time": 1444924721709,
29             "timestamp": 0,
30             "url": "http://localhost:8181/restconf/config/netvirt-sfc-classifier:classifiers",
31             "version": 2
32         },
33         {
34             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
35             "data": "{\n\t\"sfc\": {\n        \"name\": \"sfc1\"\n    }\n}",
36             "dataMode": "raw",
37             "description": "",
38             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
39             "id": "9d418a4b-197d-47c2-e85f-e68f6b5f5c40",
40             "method": "GET",
41             "name": "Sfc",
42             "responses": [],
43             "timestamp": 0,
44             "url": "http://localhost:8181/restconf/config/netvirt-sfc:sfc/",
45             "version": 2
46         },
47         {
48             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
49             "data": "{\n    \"access-lists\": {\n        \"access-list\": [\n            {\n                \"acl-name\": \"http-acl\",\n                \"access-list-entries\": {\n                    \"access-list-entry\": [\n                        {\n                            \"rule-name\": \"http-rule\",\n                            \"matches\": {\n                                \"destination-port-range\": {\n                                    \"lower-port\": \"80\",\n                                    \"upper-port\": \"80\"\n                                }\n                            },\n                            \"actions\": {\n                                \"permit\": {}\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}",
50             "dataMode": "raw",
51             "description": "",
52             "headers": "Content-Type: application/json\n",
53             "id": "9e688730-6234-8f89-3de2-8a9974c4ea59",
54             "method": "PUT",
55             "name": "Acl",
56             "time": 1444923678505,
57             "timestamp": 0,
58             "url": "http://localhost:8181/restconf/config/ietf-acl:access-lists",
59             "version": 2
60         },
61         {
62             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
63             "data": "{\n    \"classifiers\": {\n        \"classifier\": [\n            {\n                \"name\": \"http-classifier\",\n                \"acl\": \"http-acl\",\n                \"sffs\": {\n                    \"sff\": [\n                        {\n                            \"name\": \"sff1\"\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}",
64             "dataMode": "raw",
65             "description": "",
66             "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
67             "id": "b2d13061-80e0-ad8f-d0e6-d6939ea2b0a4",
68             "method": "GET",
69             "name": "Classifier",
70             "responses": [],
71             "timestamp": 0,
72             "url": "http://localhost:8181/restconf/config/netvirt-sfc-classifier:classifiers",
73             "version": 2
74         },
75         {
76             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
77             "data": "{\n    \"service-functions\": {\n        \"service-function\": [\n            {\n                \"name\": \"firewall-72\",\n                \"ip-mgmt-address\": \"192.168.50.72\",\n                \"type\": \"service-function-type:firewall\",\n                \"nsh-aware\": \"true\",\n                \"sf-data-plane-locator\": [\n                    {\n                        \"name\": \"2\",\n                        \"port\": 6633,\n                        \"ip\": \"192.168.50.72\",\n                        \"transport\": \"service-locator:vxlan-gpe\",\n                        \"service-function-forwarder\": \"SFF1\"\n                    }\n                ]\n            },\n            {\n                \"name\": \"dpi-74\",\n                \"ip-mgmt-address\": \"192.168.50.74\",\n                \"type\": \"service-function-type:dpi\",\n                \"nsh-aware\": \"true\",\n                \"sf-data-plane-locator\": [\n                    {\n                        \"name\": \"3\",\n                        \"port\": 6633,\n                        \"ip\": \"192.168.50.74\",\n                        \"transport\": \"service-locator:vxlan-gpe\",\n                        \"service-function-forwarder\": \"SFF2\"\n                    }\n                ]\n            }\n        ]\n    }\n}",
78             "dataMode": "raw",
79             "description": "",
80             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
81             "id": "bf4f1148-5192-fd7d-3026-5a11668db75d",
82             "method": "PUT",
83             "name": "service-functions",
84             "time": 1445035552080,
85             "timestamp": 0,
86             "url": "http://localhost:8181//restconf/config/service-function:service-functions",
87             "version": 2
88         },
89         {
90             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
91             "data": "{\n    \"access-lists\": {\n        \"access-list\": [\n            {\n                \"acl-name\": \"http-acl\",\n                \"access-list-entries\": {\n                    \"access-list-entry\": [\n                        {\n                            \"rule-name\": \"http-rule\",\n                            \"matches\": {\n                                \"destination-port-range\": {\n                                    \"lower-port\": \"80\",\n                                    \"upper-port\": \"80\"\n                                }\n                            },\n                            \"actions\": {\n                                \"netvirt-sfc-acl:redirect-sfc\": \"acl\"\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}",
92             "dataMode": "raw",
93             "description": "",
94             "headers": "Content-Type: application/json\n",
95             "id": "c3d5a025-23c6-af23-dce1-9edca74cd65c",
96             "method": "PUT",
97             "name": "Acl - redirect-sfc",
98             "time": 1445027841460,
99             "timestamp": 0,
100             "url": "http://localhost:8181/restconf/config/ietf-acl:access-lists",
101             "version": 2
102         },
103         {
104             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
105             "data": "{\n\t\"sfc\": {\n        \"name\": \"sfc1\"\n    }\n}",
106             "dataMode": "raw",
107             "description": "",
108             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
109             "id": "ea1c70a0-6528-862c-cabc-a9b187d483c7",
110             "method": "PUT",
111             "name": "Sfc",
112             "responses": [],
113             "timestamp": 0,
114             "url": "http://localhost:8181/restconf/config/netvirt-sfc:sfc/",
115             "version": 2
116         },
117         {
118             "collectionId": "bc172f70-35df-2cdf-50a4-8ad09b8f17a2",
119             "data": "{\n    \"service-functions\": {\n        \"service-function\": [\n            {\n                \"name\": \"firewall-72\",\n                \"ip-mgmt-address\": \"192.168.50.72\",\n                \"type\": \"service-function-type:firewall\",\n                \"nsh-aware\": \"true\",\n                \"sf-data-plane-locator\": [\n                    {\n                        \"name\": \"2\",\n                        \"port\": 6633,\n                        \"ip\": \"192.168.50.72\",\n                        \"transport\": \"service-locator:vxlan-gpe\",\n                        \"service-function-forwarder\": \"SFF1\"\n                    }\n                ]\n            },\n            {\n                \"name\": \"dpi-74\",\n                \"ip-mgmt-address\": \"192.168.50.74\",\n                \"type\": \"service-function-type:dpi\",\n                \"nsh-aware\": \"true\",\n                \"sf-data-plane-locator\": [\n                    {\n                        \"name\": \"3\",\n                        \"port\": 6633,\n                        \"ip\": \"192.168.50.74\",\n                        \"transport\": \"service-locator:vxlan-gpe\",\n                        \"service-function-forwarder\": \"SFF2\"\n                    }\n                ]\n            }\n        ]\n    }\n}",
120             "dataMode": "raw",
121             "description": "",
122             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
123             "id": "fff50fa7-aa2d-71a4-db49-4ea10b82937e",
124             "method": "GET",
125             "name": "service-functions",
126             "responses": [],
127             "timestamp": 0,
128             "url": "http://localhost:8181/restconf/config/service-function:service-functions",
129             "version": 2
130         }
131     ],
132     "timestamp": 1444922427094
133 }