From 6b134b926aa30931dbf02ad6c596078a50666144 Mon Sep 17 00:00:00 2001 From: Sagar Srivastav Date: Wed, 14 Dec 2016 05:24:19 -0800 Subject: ioam: Reader/Initializer for POT plugin - reader/initializer for pot - pot read call in postman collection Change-Id: I1e8f80449897c1ee5289f39eb7d75acb351eb255 Signed-off-by: Sagar Srivastav --- ioam/ioam_postman_collection.json | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) (limited to 'ioam/ioam_postman_collection.json') diff --git a/ioam/ioam_postman_collection.json b/ioam/ioam_postman_collection.json index e79eab88b..abc0292f1 100644 --- a/ioam/ioam_postman_collection.json +++ b/ioam/ioam_postman_collection.json @@ -1,9 +1,9 @@ { "variables": [], "info": { - "name": "Honeycomb RESTCONF calls for iOAM Trace", + "name": "Honeycomb iOAM RESTCONF calls", "_postman_id": "014389fd-d55b-9b35-ad71-81eda31779bc", - "description": "To enable iOAM trace on VPP management nodes.", + "description": "To manage iOAM features on VPP management nodes.", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ @@ -76,11 +76,36 @@ ], "body": { "mode": "raw", - "raw": "{\n\"pot-profile-set\":[\n\t\t{\n\t \"name\":\"potprofile\",\n\t \"path-identifier\":\"ACL\",\n\t \"active-profile-index\":1,\n\t \"pot-profile-list\":[{\n\t \t\"index\":1,\n\t \t\"prime-number\":7,\n\t \t\"secret-share\":1234,\n\t \t\"public-polynomial\":1234,\n\t \t\"lpc\":1234,\n\t \t\"validator\":\"true\",\n\t \t\"validator-key\":1234,\n\t \t\"bitmask\":1111111111\n\t }]\n\t }\n ]\n}\n" + "raw": "{\n\"pot-profile-set\":[\n\t\t{\n\t \"name\":\"potprofile\",\n\t \"path-identifier\":\"ACL\",\n\t \"active-profile-index\":1,\n\t \"pot-profile-list\":[{\n\t \t\"index\":0,\n\t \t\"prime-number\":7,\n\t \t\"secret-share\":1234,\n\t \t\"public-polynomial\":1234,\n\t \t\"lpc\":1234,\n\t \t\"validator\":\"true\",\n\t \t\"validator-key\":1234,\n\t \t\"bitmask\":1111111111\n\t }]\n\t }\n ]\n}\n" }, "description": "Configure ioam pot config on VPP" }, "response": [] + }, + { + "name": "iaom pot - oper", + "request": { + "url": "http://localhost:8183/restconf/operational/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile/pot-profile-list/0", + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\"trace-config\":{\n \"trace-config-name\":\"trace\",\n \"acl-name\":\"testAcl\",\n \"trace-type\":31,\n \"trace-num-elt\":3,\n \"trace-tsp\":\"milliseconds\",\n \"trace-op\":\"add\",\n \"trace-app-data\":1234,\n \"data-export-profile-name\":\"dataProfileName\",\n \"transport-encap-profile-name\":\"transProfileName\",\n \"node-id\":1,\n \"node-interfaces\":[\n {\n \"index\":5,\n \"intf-name\":\"GigabitEthernetb/0/0\"\n }\n ]\n }\n}\n" + }, + "description": "Read ioam pot config from VPP" + }, + "response": [] } ] } \ No newline at end of file -- cgit 1.2.3-korg