ioam_postman_collection.json revision fe9af79a
1{
2	"info": {
3		"_postman_id": "0d7646b3-253c-4d5d-9e65-143c7463d111",
4		"name": "Honeycomb iOAM RESTCONF calls",
5		"description": "To manage iOAM features on VPP management nodes.",
6		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7	},
8	"item": [
9		{
10			"name": "iaom trace - config",
11			"request": {
12				"method": "PUT",
13				"header": [
14					{
15						"key": "Authorization",
16						"value": "Basic YWRtaW46YWRtaW4="
17					},
18					{
19						"key": "Content-Type",
20						"value": "application/json"
21					}
22				],
23				"body": {
24					"mode": "raw",
25					"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"
26				},
27				"url": {
28					"raw": "http://localhost:8183/restconf/config/ioam-sb-trace:ioam-trace-config/trace-config/trace",
29					"protocol": "http",
30					"host": [
31						"localhost"
32					],
33					"port": "8183",
34					"path": [
35						"restconf",
36						"config",
37						"ioam-sb-trace:ioam-trace-config",
38						"trace-config",
39						"trace"
40					]
41				},
42				"description": "Configure ioam trace config on VPP"
43			},
44			"response": []
45		},
46		{
47			"name": "iaom trace - oper",
48			"request": {
49				"method": "GET",
50				"header": [
51					{
52						"key": "Authorization",
53						"value": "Basic YWRtaW46YWRtaW4="
54					},
55					{
56						"key": "Content-Type",
57						"value": "application/json"
58					}
59				],
60				"body": {
61					"mode": "raw",
62					"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"
63				},
64				"url": {
65					"raw": "http://localhost:8183/restconf/operational/ioam-sb-trace:ioam-trace-config/trace-config/*",
66					"protocol": "http",
67					"host": [
68						"localhost"
69					],
70					"port": "8183",
71					"path": [
72						"restconf",
73						"operational",
74						"ioam-sb-trace:ioam-trace-config",
75						"trace-config",
76						"*"
77					]
78				},
79				"description": "Read ioam trace config from VPP"
80			},
81			"response": []
82		},
83		{
84			"name": "iaom pot - config",
85			"request": {
86				"method": "PUT",
87				"header": [
88					{
89						"key": "Authorization",
90						"value": "Basic YWRtaW46YWRtaW4="
91					},
92					{
93						"key": "Content-Type",
94						"value": "application/json"
95					}
96				],
97				"body": {
98					"mode": "raw",
99					"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"
100				},
101				"url": {
102					"raw": "http://localhost:8183/restconf/config/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile",
103					"protocol": "http",
104					"host": [
105						"localhost"
106					],
107					"port": "8183",
108					"path": [
109						"restconf",
110						"config",
111						"sfc-ioam-sb-pot:pot-profiles",
112						"pot-profile-set",
113						"potprofile"
114					]
115				},
116				"description": "Configure ioam pot config on VPP"
117			},
118			"response": []
119		},
120		{
121			"name": "iaom pot - oper",
122			"request": {
123				"method": "GET",
124				"header": [
125					{
126						"key": "Authorization",
127						"value": "Basic YWRtaW46YWRtaW4="
128					},
129					{
130						"key": "Content-Type",
131						"value": "application/json"
132					}
133				],
134				"body": {
135					"mode": "raw",
136					"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"
137				},
138				"url": {
139					"raw": "http://localhost:8183/restconf/operational/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile/pot-profile-list/0",
140					"protocol": "http",
141					"host": [
142						"localhost"
143					],
144					"port": "8183",
145					"path": [
146						"restconf",
147						"operational",
148						"sfc-ioam-sb-pot:pot-profiles",
149						"pot-profile-set",
150						"potprofile",
151						"pot-profile-list",
152						"0"
153					]
154				},
155				"description": "Read ioam pot config from VPP"
156			},
157			"response": []
158		},
159		{
160			"name": "iaom export - config",
161			"request": {
162				"method": "PUT",
163				"header": [
164					{
165						"key": "Authorization",
166						"value": "Basic YWRtaW46YWRtaW4="
167					},
168					{
169						"key": "Content-Type",
170						"value": "application/json"
171					}
172				],
173				"body": {
174					"mode": "raw",
175					"raw": "{   \n\t\"ioam-export\":{\n\t\t\"source-address\":\"127.0.0.1\",\n\t\t\"collector-address\":\"127.0.0.2\",\n\t\t\"disable\":false\n\t}\n}\n"
176				},
177				"url": {
178					"raw": "http://localhost:8183/restconf/config/ioam-sb-export:ioam-export",
179					"protocol": "http",
180					"host": [
181						"localhost"
182					],
183					"port": "8183",
184					"path": [
185						"restconf",
186						"config",
187						"ioam-sb-export:ioam-export"
188					]
189				},
190				"description": "Configure ioam export config on VPP"
191			},
192			"response": []
193		}
194	]
195}