From a3a5ab81462ccca8b873604d99d4afc8b4557be0 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Tue, 13 Dec 2016 08:45:33 +0100 Subject: HONEYCOMB-151: update postman collection with RPC examples Change-Id: Ieb804d73994daad9708be616507e174db343a230 Signed-off-by: Marek Gradzki --- v3po/postman_rest_collection.json | 73 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) (limited to 'v3po') diff --git a/v3po/postman_rest_collection.json b/v3po/postman_rest_collection.json index 6c137d41e..e6df2398e 100644 --- a/v3po/postman_rest_collection.json +++ b/v3po/postman_rest_collection.json @@ -160,6 +160,17 @@ ], "owner": "45557" }, + { + "id": "750a0c20-15f3-e3c0-6289-0b86b2b0eacb", + "name": "RPCs", + "description": "", + "order": [ + "8361186c-2a8d-dd4e-7738-c6f2c8c82cab", + "df9a46eb-f87e-4da6-05b1-ed6b478aba9d", + "341d60db-8e70-eec5-9dd5-5136d4a03317" + ], + "owner": "45557" + }, { "id": "df84e568-dac6-7014-f798-57dc87869aed", "name": "SPAN", @@ -486,6 +497,68 @@ "folder": "42603a84-8d76-77de-197f-19387eb13c97", "rawModeData": "" }, + { + "id": "8361186c-2a8d-dd4e-7738-c6f2c8c82cab", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operations/v3po:cli-inband", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1481614302662, + "name": "show version", + "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of show version.", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"show version\"\n }\n}" + }, + { + "id": "df9a46eb-f87e-4da6-05b1-ed6b478aba9d", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operations/v3po:cli-inband", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1481614804300, + "name": "show interfaces", + "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of show int.", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"show int\"\n }\n}" + }, + { + "id": "341d60db-8e70-eec5-9dd5-5136d4a03317", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operations/v3po:cli-inband", + "pathVariables": {}, + "preRequestScript": "", + "method": "POST", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "data": [], + "dataMode": "raw", + "name": "create loopback interface", + "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of create loopback interface", + "descriptionFormat": "html", + "time": 1481614794119, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "folder": "750a0c20-15f3-e3c0-6289-0b86b2b0eacb", + "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"create loopback interface\"\n }\n}" + }, { "id": "10ffdfa8-97bf-9d9f-e057-d18bd22291ea", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", -- cgit 1.2.3-korg