From 25c01b5d31053e1a8520c54e24e94f0493619a8e Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Fri, 4 Jan 2019 08:59:46 +0100 Subject: Revert Statistics This reverts commit 91db56913c9b1fc9292637adf4d96a052a737f61. This reverts commit cdc4d09c152e985c93016ff61789bc699b97883d. Change-Id: I06cba1968f7379a7daa98b9e66375a5d4127b499 Signed-off-by: Michal Cmarada --- v3po/statistics_postman_collection.json | 265 -------------------------------- 1 file changed, 265 deletions(-) delete mode 100644 v3po/statistics_postman_collection.json (limited to 'v3po/statistics_postman_collection.json') diff --git a/v3po/statistics_postman_collection.json b/v3po/statistics_postman_collection.json deleted file mode 100644 index ffd1aecfa..000000000 --- a/v3po/statistics_postman_collection.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "info": { - "_postman_id": "b230fc82-fe6e-4f0a-80b2-7298f2cb6c3d", - "name": "Interface Statistics", - "description": "Provides examples for enabling and collection of interface statistics.", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" - }, - "item": [ - { - "name": "Add simple tap ifc -cfg", - "request": { - "method": "PUT", - "header": [ - { - "key": "Authorization", - "value": "Basic YWRtaW46YWRtaW4=" - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"tapp\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" :{\r\n \"tap-name\" : \"tapp\"\r\n }\r\n }\r\n ]\r\n \r\n}" - }, - "url": { - "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/tapp", - "protocol": "http", - "host": [ - "localhost" - ], - "port": "8183", - "path": [ - "restconf", - "config", - "ietf-interfaces:interfaces", - "interface", - "tapp" - ] - } - }, - "response": [] - }, - { - "name": "Enable statistics", - "request": { - "method": "PUT", - "header": [ - { - "key": "Authorization", - "value": "Basic YWRtaW46YWRtaW4=" - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"statistics-collection\": {\r\n \"statistics-enabled\": \"true\"\r\n }\r\n}" - }, - "url": { - "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/tapp/statistics-collection", - "protocol": "http", - "host": [ - "localhost" - ], - "port": "8183", - "path": [ - "restconf", - "config", - "ietf-interfaces:interfaces", - "interface", - "tapp", - "statistics-collection" - ] - } - }, - "response": [] - }, - { - "name": "Disable statistics", - "request": { - "method": "PUT", - "header": [ - { - "key": "Authorization", - "value": "Basic YWRtaW46YWRtaW4=" - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"statistics-collection\": {\r\n \"statistics-enabled\": \"false\"\r\n }\r\n}" - }, - "url": { - "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/tapp/statistics-collection", - "protocol": "http", - "host": [ - "localhost" - ], - "port": "8183", - "path": [ - "restconf", - "config", - "ietf-interfaces:interfaces", - "interface", - "tapp", - "statistics-collection" - ] - } - }, - "response": [] - }, - { - "name": "List ifcs - cfg", - "request": { - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Basic YWRtaW46YWRtaW4=" - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\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}" - }, - "url": { - "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/", - "protocol": "http", - "host": [ - "localhost" - ], - "port": "8183", - "path": [ - "restconf", - "config", - "ietf-interfaces:interfaces", - "" - ] - }, - "description": "List ifcs - cfg" - }, - "response": [] - }, - { - "name": "List ifcs - oper", - "request": { - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Basic YWRtaW46YWRtaW4=" - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\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}" - }, - "url": { - "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/", - "protocol": "http", - "host": [ - "localhost" - ], - "port": "8183", - "path": [ - "restconf", - "operational", - "ietf-interfaces:interfaces-state", - "" - ] - } - }, - "response": [] - }, - { - "name": "Is stat collection enabled", - "request": { - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Basic YWRtaW46YWRtaW4=" - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\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}" - }, - "url": { - "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/tapp/statistics-collection", - "protocol": "http", - "host": [ - "localhost" - ], - "port": "8183", - "path": [ - "restconf", - "operational", - "ietf-interfaces:interfaces-state", - "interface", - "tapp", - "statistics-collection" - ] - } - }, - "response": [] - }, - { - "name": "Get Interface Statistics", - "request": { - "method": "GET", - "header": [ - { - "key": "Authorization", - "value": "Basic YWRtaW46YWRtaW4=" - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\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}" - }, - "url": { - "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/tapp/statistics-collection", - "protocol": "http", - "host": [ - "localhost" - ], - "port": "8183", - "path": [ - "restconf", - "operational", - "ietf-interfaces:interfaces-state", - "interface", - "tapp", - "statistics-collection" - ] - } - }, - "response": [] - } - ] -} -- cgit 1.2.3-korg