diff options
author | 2018-06-01 07:28:47 +0200 | |
---|---|---|
committer | 2018-06-01 10:40:47 +0200 | |
commit | fe9af79a0cc1a980ac0dfb35a679f4e8565a5ef5 (patch) | |
tree | 7cca3da294de20ac91f8dac7359103d291a17e2c /v3po/span_postman_collection_v1.0.0.json | |
parent | a3e02660522fb0c97f77f1123cc4058d589a4095 (diff) |
HC2VPP-339: convert postman collections to v2.1.0 format
Mantaining postman collections in v1 format is difficult
due to UID strings.
Postman collection v2 fixes the issue and many others, see
http://blog.getpostman.com/2015/06/05/travelogue-of-postman-collection-format-v2/
Collections in v1 format, were converted
using postman-collection-transformer.
Output was transformed using JSON.stringify with space='\t',
to be compliant with Postman application which does not support
spaces for indentation.
Coverted collections were tested using Postman v6.1.3.
Previous version of postman collections were renamed
to *_v1.0.0.json or *_v2.0.0.json.
Removal is planned in 18.10 (HC2VPP-338).
Change-Id: I6caf496293fccc1f9aadcdece668b5200fe07122
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/span_postman_collection_v1.0.0.json')
-rw-r--r-- | v3po/span_postman_collection_v1.0.0.json | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/v3po/span_postman_collection_v1.0.0.json b/v3po/span_postman_collection_v1.0.0.json new file mode 100644 index 000000000..412b44940 --- /dev/null +++ b/v3po/span_postman_collection_v1.0.0.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 |