summaryrefslogtreecommitdiffstats
path: root/v3po/span_postman_collection.json
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-05-12 13:15:50 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-05-15 05:24:48 +0000
commit9f3503ac117d485d75e604364647d7f59401f24a (patch)
treeab1d757f46b46180db19f1d012fef2e7a03729d7 /v3po/span_postman_collection.json
parent31bad643f16b6986434571b46158e6c662a240be (diff)
HC2VPP-144 - Sub-interface span
Provides option to define port mirroring from interface to subinterface Change-Id: I8c04e8eb6b980c830e77e1ef2b75ddff3d59364c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: jsrnicek <jsrnicek@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'v3po/span_postman_collection.json')
-rw-r--r--v3po/span_postman_collection.json160
1 files changed, 160 insertions, 0 deletions
diff --git a/v3po/span_postman_collection.json b/v3po/span_postman_collection.json
new file mode 100644
index 000000000..412b44940
--- /dev/null
+++ b/v3po/span_postman_collection.json
@@ -0,0 +1,160 @@
+{
+ "id": "b30b26ab-fd5f-368f-713a-4c72315cf663",
+ "name": "Span interface/subinterface collection",
+ "description": "Provides model request to define pot mirroring for interfaces and sub-interfaces",
+ "order": [],
+ "folders": [
+ {
+ "id": "cc874576-92fd-fa49-20fe-482333b895c0",
+ "name": "Interface <==> Interface",
+ "description": "",
+ "order": [
+ "b2342499-fbb3-02d1-bc7d-3c7d515b8cfa",
+ "67359961-1edf-d25f-63d2-ff84552da924",
+ "67a1966d-ec28-c131-7fdf-0d8e24ac2b42"
+ ],
+ "owner": 0
+ },
+ {
+ "id": "d26fa438-e4f6-ad96-b92a-ebb509d4ca66",
+ "name": "Interface <==> SubInterface",
+ "description": "",
+ "order": [
+ "ffd3adcd-345f-d8fb-0393-22ad78528083",
+ "03a5c3d7-e3c1-0862-4a4c-806ac7282cb5",
+ "59ae66fd-bd64-e0bd-924c-b9469db447af"
+ ],
+ "owner": 0
+ }
+ ],
+ "timestamp": 1494480653049,
+ "owner": 0,
+ "public": false,
+ "requests": [
+ {
+ "id": "03a5c3d7-e3c1-0862-4a4c-806ac7282cb5",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span-state",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494481976252,
+ "name": "Read port mirroring",
+ "description": "set span src local0 dst GigabiteEthernet0/8/0",
+ "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}"
+ },
+ {
+ "id": "59ae66fd-bd64-e0bd-924c-b9469db447af",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494481990266,
+ "name": "Delete port mirroring",
+ "description": "set span src local0 dst GigabiteEthernet0/8/0",
+ "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}"
+ },
+ {
+ "id": "67359961-1edf-d25f-63d2-ff84552da924",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/span",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1477908227905,
+ "name": "Read port mirroring",
+ "description": "show span",
+ "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663",
+ "responses": [],
+ "rawModeData": "",
+ "folder": "cc874576-92fd-fa49-20fe-482333b895c0",
+ "isFromCollection": true,
+ "collectionRequestId": "67359961-1edf-d25f-63d2-ff84552da924"
+ },
+ {
+ "id": "67a1966d-ec28-c131-7fdf-0d8e24ac2b42",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1477907954064,
+ "name": "Delete port mirroring local0 -> GigabiteEthernet0/8/0",
+ "description": "",
+ "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663",
+ "responses": [],
+ "rawModeData": "",
+ "folder": "cc874576-92fd-fa49-20fe-482333b895c0"
+ },
+ {
+ "id": "b2342499-fbb3-02d1-bc7d-3c7d515b8cfa",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1477905258870,
+ "name": "Set port mirroring local0 -> GigabiteEthernet0/8/0",
+ "description": "set span src local0 dst GigabiteEthernet0/8/0",
+ "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"local0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}",
+ "folder": "cc874576-92fd-fa49-20fe-482333b895c0"
+ },
+ {
+ "id": "ffd3adcd-345f-d8fb-0393-22ad78528083",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494481863201,
+ "name": "Set port mirroring GigabitEthernet0/8/0 to GigabitEthernet0/8/0.1",
+ "description": "set span src local0 dst GigabiteEthernet0/8/0",
+ "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}"
+ }
+ ]
+} \ No newline at end of file