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