@@ -183,156 +183,111 @@ GET http://localhost:8181/restconf/operational/maple-tracetree-history:tracetree
183183{
184184 "history" : [
185185 {
186- "seq" : 15 ,
186+ "seq" : 23 ,
187187 "pkt" : {
188- "pkt-hex" : " 00:00:00:00:00:03:00:00:00:00:00:01:08:06:00:01:08:00:06:04:00:02:00:00:00:00:00:01:0a:00:00:01:00:00:00:00:00:03:0a:00:00:03" ,
189- "timestamp" : " 03-03-2017 21:28:27:560" ,
190- "pkt-str" : " MaplePacket [ingressPort=openflow:3:3, frame=\n arp\n dl_vlan: untagged\n dl_vlan_pcp: 0\n dl_src: 00:00:00:00:00:01\n dl_dst: 00:00:00:00:00:03\n nw_src: 10.0.0.1\n nw_dst: 10.0.0.3]"
188+ "pkt-str" : " MaplePacket [ingressPort=openflow:3:2, frame=\n arp\n dl_vlan: untagged\n dl_vlan_pcp: 0\n dl_src: 8a:95:62:10:ab:6d\n dl_dst: a6:73:53:ac:03:be\n nw_src: 10.0.0.2\n nw_dst: 10.0.0.1]" ,
189+ "pkt-hex" : " a6:73:53:ac:03:be:8a:95:62:10:ab:6d:08:06:00:01:08:00:06:04:00:02:8a:95:62:10:ab:6d:0a:00:00:02:a6:73:53:ac:03:be:0a:00:00:01" ,
190+ "timestamp" : " 05-04-2017 08:13:28:063" ,
191+ "pkt-json-str" : " {\" ingressPort\" :\" openflow:3:2\" ,\" frame\" :{\" eth_src\" :\" 8A:95:62:10:AB:6D\" ,\" eth_dst\" :\" A6:73:53:AC:03:BE\" ,\" eth_type\" :\" 0x0806\" ,\" payload\" :{\" protocolAddressLength\" :\" 0x04\" ,\" targetProtocolAddress\" :\" 0x0a000001\" ,\" hardwareType\" :\" 0x0001\" ,\" opCode\" :\" 0x0002\" ,\" protocolType\" :\" 0x0800\" ,\" targetHardwareAddress\" :\" 0xa67353ac03be\" ,\" senderHardwareAddress\" :\" 0x8a956210ab6d\" ,\" senderProtocolAddress\" :\" 0x0a000002\" ,\" hardwareAddressLength\" :\" 0x06\" }}}"
191192 },
192193 "tracetree-v2" : {
193194 "tt-link-v2" : [
194195 {
195196 "id" : " 8" ,
196- "predicate-id" : " 6" ,
197- "condition" : " 10.0.0.1" ,
198- "destination-id" : " 7"
199- },
200- {
201- "id" : " 9" ,
202- "predicate-id" : " 1" ,
203- "condition" : " 10.0.0.3" ,
204- "destination-id" : " 6"
197+ "predicate-id" : " 0" ,
198+ "condition" : " IPv4" ,
199+ "destination-id" : " 1"
205200 },
206201 {
207- "id" : " 12 " ,
208- "predicate-id" : " 0 " ,
209- "condition" : " ARP " ,
210- "destination-id" : " 11 "
202+ "id" : " 5 " ,
203+ "predicate-id" : " 3 " ,
204+ "condition" : " != 80 " ,
205+ "destination-id" : " 4 "
211206 },
212207 {
213- "id" : " 4 " ,
208+ "id" : " 6 " ,
214209 "predicate-id" : " 2" ,
215- "condition" : " 10.0.0.3 " ,
210+ "condition" : " == 10.0.0.2 " ,
216211 "destination-id" : " 3"
217212 },
218213 {
219- "id" : " 5 " ,
214+ "id" : " 7 " ,
220215 "predicate-id" : " 1" ,
221- "condition" : " 10.0.0.1" ,
216+ "condition" : " == 10.0.0.1" ,
222217 "destination-id" : " 2"
223218 },
224219 {
225220 "id" : " 10" ,
226221 "predicate-id" : " 0" ,
227- "condition" : " IPv4 " ,
228- "destination-id" : " 1 "
222+ "condition" : " ARP " ,
223+ "destination-id" : " 9 "
229224 }
230225 ],
231226 "tt-node-v2" : [
232227 {
233- "id" : " 7 " ,
228+ "id" : " 4 " ,
234229 "type" : " L" ,
235230 "action-type" : " Path" ,
236231 "link" : [
237232 {
238- "link-id" : " openflow:3:3 " ,
233+ "link-id" : " openflow:1:4 " ,
239234 "dst-node" : {
240235 "node-id" : " openflow:0" ,
241236 "port" : " openflow:0:0"
242237 },
243238 "src-node" : {
244- "node-id" : " openflow:3 " ,
245- "port" : " openflow:3:3 "
239+ "node-id" : " openflow:1 " ,
240+ "port" : " openflow:1:4 "
246241 }
247242 },
248243 {
249- "link-id" : " openflow:1:1 " ,
244+ "link-id" : " openflow:3:2 " ,
250245 "dst-node" : {
251246 "node-id" : " openflow:0" ,
252247 "port" : " openflow:0:0"
253248 },
254249 "src-node" : {
255- "node-id" : " openflow:1 " ,
256- "port" : " openflow:1:1 "
250+ "node-id" : " openflow:3 " ,
251+ "port" : " openflow:3:2 "
257252 }
258253 },
259254 {
260- "link-id" : " openflow:2 :1" ,
255+ "link-id" : " openflow:4 :1" ,
261256 "dst-node" : {
262257 "node-id" : " openflow:0" ,
263258 "port" : " openflow:0:0"
264259 },
265260 "src-node" : {
266- "node-id" : " openflow:2 " ,
267- "port" : " openflow:2 :1"
261+ "node-id" : " openflow:4 " ,
262+ "port" : " openflow:4 :1"
268263 }
269264 }
270265 ]
271266 },
272267 {
273- "id" : " 6 " ,
274- "type" : " V " ,
275- "matchfield " : " IPv4_DST "
268+ "id" : " 1 " ,
269+ "type" : " T " ,
270+ "testfield " : " IPv4_SRC "
276271 },
277272 {
278- "id" : " 1 " ,
279- "type" : " V " ,
280- "matchfield " : " IPv4_SRC "
273+ "id" : " 9 " ,
274+ "type" : " L " ,
275+ "action-type " : " Flood "
281276 },
282277 {
283278 "id" : " 0" ,
284279 "type" : " V" ,
285280 "matchfield" : " ETH_TYPE"
286281 },
287- {
288- "id" : " 11" ,
289- "type" : " L" ,
290- "action-type" : " Flood"
291- },
292282 {
293283 "id" : " 3" ,
294- "type" : " L" ,
295- "action-type" : " Path" ,
296- "link" : [
297- {
298- "link-id" : " openflow:2:3" ,
299- "dst-node" : {
300- "node-id" : " openflow:0" ,
301- "port" : " openflow:0:0"
302- },
303- "src-node" : {
304- "node-id" : " openflow:2" ,
305- "port" : " openflow:2:3"
306- }
307- },
308- {
309- "link-id" : " openflow:3:1" ,
310- "dst-node" : {
311- "node-id" : " openflow:0" ,
312- "port" : " openflow:0:0"
313- },
314- "src-node" : {
315- "node-id" : " openflow:3" ,
316- "port" : " openflow:3:1"
317- }
318- },
319- {
320- "link-id" : " openflow:1:2" ,
321- "dst-node" : {
322- "node-id" : " openflow:0" ,
323- "port" : " openflow:0:0"
324- },
325- "src-node" : {
326- "node-id" : " openflow:1" ,
327- "port" : " openflow:1:2"
328- }
329- }
330- ]
284+ "type" : " T" ,
285+ "testfield" : " TCP_DST_PORT"
331286 },
332287 {
333288 "id" : " 2" ,
334- "type" : " V " ,
335- "matchfield " : " IPv4_DST"
289+ "type" : " T " ,
290+ "testfield " : " IPv4_DST"
336291 }
337292 ]
338293 }
0 commit comments