backing up
[vsorcdistro/.git] / ryu / build / lib.linux-armv7l-2.7 / ryu / tests / switch / of14 / match / 33_IPV6_ND_TLL.json
1 [
2     "match: 33_IPV6_ND_TLL",
3     {
4         "description":"ethernet/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22')))-->'ipv6_nd_tll=22:22:22:22:22:22,actions=output:2'",
5         "prerequisite":[
6             {
7                 "OFPFlowMod":{
8                     "table_id":0,
9                     "match":{
10                         "OFPMatch":{
11                             "oxm_fields":[
12                                 {
13                                     "OXMTlv":{
14                                         "field":"eth_type",
15                                         "value":34525
16                                     }
17                                 },
18                                 {
19                                     "OXMTlv":{
20                                         "field":"ip_proto",
21                                         "value":58
22                                     }
23                                 },
24                                 {
25                                     "OXMTlv":{
26                                         "field":"icmpv6_type",
27                                         "value":136
28                                     }
29                                 },
30                                 {
31                                     "OXMTlv":{
32                                         "field":"ipv6_nd_tll",
33                                         "value":"22:22:22:22:22:22"
34                                     }
35                                 }
36                             ]
37                         }
38                     },
39                     "instructions":[
40                         {
41                             "OFPInstructionActions":{
42                                 "actions":[
43                                     {
44                                         "OFPActionOutput":{
45                                             "port":2
46                                         }
47                                     }
48                                 ],
49                                 "type":4
50                             }
51                         }
52                     ]
53                 }
54             }
55         ],
56         "tests":[
57             {
58                 "ingress":[
59                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
60                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
61                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
62                 ],
63                 "egress":[
64                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
65                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
66                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
67                 ]
68             }
69         ]
70     },
71     {
72         "description":"ethernet/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22')))-->'ipv6_nd_tll=22:22:22:22:22:22,actions=output:CONTROLLER'",
73         "prerequisite":[
74             {
75                 "OFPFlowMod":{
76                     "table_id":0,
77                     "match":{
78                         "OFPMatch":{
79                             "oxm_fields":[
80                                 {
81                                     "OXMTlv":{
82                                         "field":"eth_type",
83                                         "value":34525
84                                     }
85                                 },
86                                 {
87                                     "OXMTlv":{
88                                         "field":"ip_proto",
89                                         "value":58
90                                     }
91                                 },
92                                 {
93                                     "OXMTlv":{
94                                         "field":"icmpv6_type",
95                                         "value":136
96                                     }
97                                 },
98                                 {
99                                     "OXMTlv":{
100                                         "field":"ipv6_nd_tll",
101                                         "value":"22:22:22:22:22:22"
102                                     }
103                                 }
104                             ]
105                         }
106                     },
107                     "instructions":[
108                         {
109                             "OFPInstructionActions":{
110                                 "actions":[
111                                     {
112                                         "OFPActionOutput":{
113                                             "max_len":65535,
114                                             "port":4294967293
115                                         }
116                                     }
117                                 ],
118                                 "type":4
119                             }
120                         }
121                     ]
122                 }
123             }
124         ],
125         "tests":[
126             {
127                 "ingress":[
128                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
129                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
130                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
131                 ],
132                 "PACKET_IN":[
133                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
134                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
135                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
136                 ]
137             }
138         ]
139     },
140     {
141         "description":"ethernet/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='aa:aa:aa:aa:aa:aa')))-->'ipv6_nd_tll=22:22:22:22:22:22,actions=output:2'",
142         "prerequisite":[
143             {
144                 "OFPFlowMod":{
145                     "table_id":0,
146                     "match":{
147                         "OFPMatch":{
148                             "oxm_fields":[
149                                 {
150                                     "OXMTlv":{
151                                         "field":"eth_type",
152                                         "value":34525
153                                     }
154                                 },
155                                 {
156                                     "OXMTlv":{
157                                         "field":"ip_proto",
158                                         "value":58
159                                     }
160                                 },
161                                 {
162                                     "OXMTlv":{
163                                         "field":"icmpv6_type",
164                                         "value":136
165                                     }
166                                 },
167                                 {
168                                     "OXMTlv":{
169                                         "field":"ipv6_nd_tll",
170                                         "value":"22:22:22:22:22:22"
171                                     }
172                                 }
173                             ]
174                         }
175                     },
176                     "instructions":[
177                         {
178                             "OFPInstructionActions":{
179                                 "actions":[
180                                     {
181                                         "OFPActionOutput":{
182                                             "port":2
183                                         }
184                                     }
185                                 ],
186                                 "type":4
187                             }
188                         }
189                     ]
190                 }
191             }
192         ],
193         "tests":[
194             {
195                 "ingress":[
196                     "ethernet(dst='ba:bb:bb:bb:bb:bb', src='aa:aa:aa:aa:aa:aa', ethertype=34525)",
197                     "ipv6(dst='b0::b0', flow_label=203, src='a0::a0', nxt=58, hop_limit=127, traffic_class=65)",
198                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='aa:aa:aa:aa:aa:aa'),dst='b0::b0'),type_=136)"
199                 ],
200                 "table-miss":[
201                     0
202                 ]
203             }
204         ]
205     },
206     {
207         "description":"ethernet/vlan/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22')))-->'ipv6_nd_tll=22:22:22:22:22:22,actions=output:2'",
208         "prerequisite":[
209             {
210                 "OFPFlowMod":{
211                     "table_id":0,
212                     "match":{
213                         "OFPMatch":{
214                             "oxm_fields":[
215                                 {
216                                     "OXMTlv":{
217                                         "field":"eth_type",
218                                         "value":34525
219                                     }
220                                 },
221                                 {
222                                     "OXMTlv":{
223                                         "field":"ip_proto",
224                                         "value":58
225                                     }
226                                 },
227                                 {
228                                     "OXMTlv":{
229                                         "field":"icmpv6_type",
230                                         "value":136
231                                     }
232                                 },
233                                 {
234                                     "OXMTlv":{
235                                         "field":"ipv6_nd_tll",
236                                         "value":"22:22:22:22:22:22"
237                                     }
238                                 }
239                             ]
240                         }
241                     },
242                     "instructions":[
243                         {
244                             "OFPInstructionActions":{
245                                 "actions":[
246                                     {
247                                         "OFPActionOutput":{
248                                             "port":2
249                                         }
250                                     }
251                                 ],
252                                 "type":4
253                             }
254                         }
255                     ]
256                 }
257             }
258         ],
259         "tests":[
260             {
261                 "ingress":[
262                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=33024)",
263                     "vlan(pcp=3, cfi=0, vid=100, ethertype=34525)",
264                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
265                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
266                 ],
267                 "egress":[
268                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=33024)",
269                     "vlan(pcp=3, cfi=0, vid=100, ethertype=34525)",
270                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
271                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
272                 ]
273             }
274         ]
275     },
276     {
277         "description":"ethernet/vlan/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22')))-->'ipv6_nd_tll=22:22:22:22:22:22,actions=output:CONTROLLER'",
278         "prerequisite":[
279             {
280                 "OFPFlowMod":{
281                     "table_id":0,
282                     "match":{
283                         "OFPMatch":{
284                             "oxm_fields":[
285                                 {
286                                     "OXMTlv":{
287                                         "field":"eth_type",
288                                         "value":34525
289                                     }
290                                 },
291                                 {
292                                     "OXMTlv":{
293                                         "field":"ip_proto",
294                                         "value":58
295                                     }
296                                 },
297                                 {
298                                     "OXMTlv":{
299                                         "field":"icmpv6_type",
300                                         "value":136
301                                     }
302                                 },
303                                 {
304                                     "OXMTlv":{
305                                         "field":"ipv6_nd_tll",
306                                         "value":"22:22:22:22:22:22"
307                                     }
308                                 }
309                             ]
310                         }
311                     },
312                     "instructions":[
313                         {
314                             "OFPInstructionActions":{
315                                 "actions":[
316                                     {
317                                         "OFPActionOutput":{
318                                             "max_len":65535,
319                                             "port":4294967293
320                                         }
321                                     }
322                                 ],
323                                 "type":4
324                             }
325                         }
326                     ]
327                 }
328             }
329         ],
330         "tests":[
331             {
332                 "ingress":[
333                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=33024)",
334                     "vlan(pcp=3, cfi=0, vid=100, ethertype=34525)",
335                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
336                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
337                 ],
338                 "PACKET_IN":[
339                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=33024)",
340                     "vlan(pcp=3, cfi=0, vid=100, ethertype=34525)",
341                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
342                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
343                 ]
344             }
345         ]
346     },
347     {
348         "description":"ethernet/vlan/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='aa:aa:aa:aa:aa:aa')))-->'ipv6_nd_tll=22:22:22:22:22:22,actions=output:2'",
349         "prerequisite":[
350             {
351                 "OFPFlowMod":{
352                     "table_id":0,
353                     "match":{
354                         "OFPMatch":{
355                             "oxm_fields":[
356                                 {
357                                     "OXMTlv":{
358                                         "field":"eth_type",
359                                         "value":34525
360                                     }
361                                 },
362                                 {
363                                     "OXMTlv":{
364                                         "field":"ip_proto",
365                                         "value":58
366                                     }
367                                 },
368                                 {
369                                     "OXMTlv":{
370                                         "field":"icmpv6_type",
371                                         "value":136
372                                     }
373                                 },
374                                 {
375                                     "OXMTlv":{
376                                         "field":"ipv6_nd_tll",
377                                         "value":"22:22:22:22:22:22"
378                                     }
379                                 }
380                             ]
381                         }
382                     },
383                     "instructions":[
384                         {
385                             "OFPInstructionActions":{
386                                 "actions":[
387                                     {
388                                         "OFPActionOutput":{
389                                             "port":2
390                                         }
391                                     }
392                                 ],
393                                 "type":4
394                             }
395                         }
396                     ]
397                 }
398             }
399         ],
400         "tests":[
401             {
402                 "ingress":[
403                     "ethernet(dst='ba:bb:bb:bb:bb:bb', src='aa:aa:aa:aa:aa:aa', ethertype=33024)",
404                     "vlan(pcp=5, cfi=0, vid=203, ethertype=34525)",
405                     "ipv6(dst='b0::b0', flow_label=203, src='a0::a0', nxt=58, hop_limit=127, traffic_class=65)",
406                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='aa:aa:aa:aa:aa:aa'),dst='b0::b0'),type_=136)"
407                 ],
408                 "table-miss":[
409                     0
410                 ]
411             }
412         ]
413     },
414     {
415         "description":"ethernet/mpls/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22')))-->'actions=pop_mpls:0x86dd,goto_table:1','table_id:1,ipv6_nd_tll=22:22:22:22:22:22,actions=output:2'",
416         "prerequisite":[
417             {
418                 "OFPFlowMod":{
419                     "table_id":0,
420                     "match":{
421                         "OFPMatch":{
422                             "oxm_fields":[
423                                 {
424                                     "OXMTlv":{
425                                         "field":"eth_type",
426                                         "value":34887
427                                     }
428                                 }
429                             ]
430                         }
431                     },
432                     "instructions":[
433                         {
434                             "OFPInstructionActions":{
435                                 "actions":[
436                                     {
437                                         "OFPActionPopMpls":{
438                                             "ethertype":34525
439                                         }
440                                     }
441                                 ],
442                                 "type":4
443                             }
444                         },
445                         {
446                             "OFPInstructionGotoTable":{
447                                 "table_id":1
448                             }
449                         }
450                     ]
451                 }
452             },
453             {
454                 "OFPFlowMod":{
455                     "table_id":1,
456                     "match":{
457                         "OFPMatch":{
458                             "oxm_fields":[
459                                 {
460                                     "OXMTlv":{
461                                         "field":"eth_type",
462                                         "value":34525
463                                     }
464                                 },
465                                 {
466                                     "OXMTlv":{
467                                         "field":"ip_proto",
468                                         "value":58
469                                     }
470                                 },
471                                 {
472                                     "OXMTlv":{
473                                         "field":"icmpv6_type",
474                                         "value":136
475                                     }
476                                 },
477                                 {
478                                     "OXMTlv":{
479                                         "field":"ipv6_nd_tll",
480                                         "value":"22:22:22:22:22:22"
481                                     }
482                                 }
483                             ]
484                         }
485                     },
486                     "instructions":[
487                         {
488                             "OFPInstructionActions":{
489                                 "actions":[
490                                     {
491                                         "OFPActionOutput":{
492                                             "port":2
493                                         }
494                                     }
495                                 ],
496                                 "type":4
497                             }
498                         }
499                     ]
500                 }
501             }
502         ],
503         "tests":[
504             {
505                 "ingress":[
506                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34887)",
507                     "mpls(bsb=1, label=100, exp=3, ttl=64)",
508                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
509                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
510                 ],
511                 "egress":[
512                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
513                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
514                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
515                 ]
516             }
517         ]
518     },
519     {
520         "description":"ethernet/mpls/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22')))-->'actions=pop_mpls:0x86dd,goto_table:1','table_id:1,ipv6_nd_tll=22:22:22:22:22:22,actions=output:CONTROLLER'",
521         "prerequisite":[
522             {
523                 "OFPFlowMod":{
524                     "table_id":0,
525                     "match":{
526                         "OFPMatch":{
527                             "oxm_fields":[
528                                 {
529                                     "OXMTlv":{
530                                         "field":"eth_type",
531                                         "value":34887
532                                     }
533                                 }
534                             ]
535                         }
536                     },
537                     "instructions":[
538                         {
539                             "OFPInstructionActions":{
540                                 "actions":[
541                                     {
542                                         "OFPActionPopMpls":{
543                                             "ethertype":34525
544                                         }
545                                     }
546                                 ],
547                                 "type":4
548                             }
549                         },
550                         {
551                             "OFPInstructionGotoTable":{
552                                 "table_id":1
553                             }
554                         }
555                     ]
556                 }
557             },
558             {
559                 "OFPFlowMod":{
560                     "table_id":1,
561                     "match":{
562                         "OFPMatch":{
563                             "oxm_fields":[
564                                 {
565                                     "OXMTlv":{
566                                         "field":"eth_type",
567                                         "value":34525
568                                     }
569                                 },
570                                 {
571                                     "OXMTlv":{
572                                         "field":"ip_proto",
573                                         "value":58
574                                     }
575                                 },
576                                 {
577                                     "OXMTlv":{
578                                         "field":"icmpv6_type",
579                                         "value":136
580                                     }
581                                 },
582                                 {
583                                     "OXMTlv":{
584                                         "field":"ipv6_nd_tll",
585                                         "value":"22:22:22:22:22:22"
586                                     }
587                                 }
588                             ]
589                         }
590                     },
591                     "instructions":[
592                         {
593                             "OFPInstructionActions":{
594                                 "actions":[
595                                     {
596                                         "OFPActionOutput":{
597                                             "max_len":65535,
598                                             "port":4294967293
599                                         }
600                                     }
601                                 ],
602                                 "type":4
603                             }
604                         }
605                     ]
606                 }
607             }
608         ],
609         "tests":[
610             {
611                 "ingress":[
612                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34887)",
613                     "mpls(bsb=1, label=100, exp=3, ttl=64)",
614                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
615                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
616                 ],
617                 "PACKET_IN":[
618                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
619                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
620                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
621                 ]
622             }
623         ]
624     },
625     {
626         "description":"ethernet/mpls/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='aa:aa:aa:aa:aa:aa')))-->'actions=pop_mpls:0x86dd,goto_table:1','table_id:1,ipv6_nd_tll=22:22:22:22:22:22,actions=output:2'",
627         "prerequisite":[
628             {
629                 "OFPFlowMod":{
630                     "table_id":0,
631                     "match":{
632                         "OFPMatch":{
633                             "oxm_fields":[
634                                 {
635                                     "OXMTlv":{
636                                         "field":"eth_type",
637                                         "value":34887
638                                     }
639                                 }
640                             ]
641                         }
642                     },
643                     "instructions":[
644                         {
645                             "OFPInstructionActions":{
646                                 "actions":[
647                                     {
648                                         "OFPActionPopMpls":{
649                                             "ethertype":34525
650                                         }
651                                     }
652                                 ],
653                                 "type":4
654                             }
655                         },
656                         {
657                             "OFPInstructionGotoTable":{
658                                 "table_id":1
659                             }
660                         }
661                     ]
662                 }
663             },
664             {
665                 "OFPFlowMod":{
666                     "table_id":1,
667                     "match":{
668                         "OFPMatch":{
669                             "oxm_fields":[
670                                 {
671                                     "OXMTlv":{
672                                         "field":"eth_type",
673                                         "value":34525
674                                     }
675                                 },
676                                 {
677                                     "OXMTlv":{
678                                         "field":"ip_proto",
679                                         "value":58
680                                     }
681                                 },
682                                 {
683                                     "OXMTlv":{
684                                         "field":"icmpv6_type",
685                                         "value":136
686                                     }
687                                 },
688                                 {
689                                     "OXMTlv":{
690                                         "field":"ipv6_nd_tll",
691                                         "value":"22:22:22:22:22:22"
692                                     }
693                                 }
694                             ]
695                         }
696                     },
697                     "instructions":[
698                         {
699                             "OFPInstructionActions":{
700                                 "actions":[
701                                     {
702                                         "OFPActionOutput":{
703                                             "port":2
704                                         }
705                                     }
706                                 ],
707                                 "type":4
708                             }
709                         }
710                     ]
711                 }
712             }
713         ],
714         "tests":[
715             {
716                 "ingress":[
717                     "ethernet(dst='ba:bb:bb:bb:bb:bb', src='aa:aa:aa:aa:aa:aa', ethertype=34887)",
718                     "mpls(bsb=1, label=203, exp=5, ttl=127)",
719                     "ipv6(dst='b0::b0', flow_label=203, src='a0::a0', nxt=58, hop_limit=127, traffic_class=65)",
720                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='aa:aa:aa:aa:aa:aa'),dst='b0::b0'),type_=136)"
721                 ],
722                 "table-miss":[
723                     1
724                 ]
725             }
726         ]
727     },
728     {
729         "description":"ethernet/itag/ethernet/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22')))-->'actions=pop_pbb,goto_table:1','table_id:1,ipv6_nd_tll=22:22:22:22:22:22,actions=output:2'",
730         "prerequisite":[
731             {
732                 "OFPFlowMod":{
733                     "table_id":0,
734                     "match":{
735                         "OFPMatch":{
736                             "oxm_fields":[
737                                 {
738                                     "OXMTlv":{
739                                         "field":"eth_type",
740                                         "value":35047
741                                     }
742                                 }
743                             ]
744                         }
745                     },
746                     "instructions":[
747                         {
748                             "OFPInstructionActions":{
749                                 "actions":[
750                                     {
751                                         "OFPActionPopPbb":{}
752                                     }
753                                 ],
754                                 "type":4
755                             }
756                         },
757                         {
758                             "OFPInstructionGotoTable":{
759                                 "table_id":1
760                             }
761                         }
762                     ]
763                 }
764             },
765             {
766                 "OFPFlowMod":{
767                     "table_id":1,
768                     "match":{
769                         "OFPMatch":{
770                             "oxm_fields":[
771                                 {
772                                     "OXMTlv":{
773                                         "field":"eth_type",
774                                         "value":34525
775                                     }
776                                 },
777                                 {
778                                     "OXMTlv":{
779                                         "field":"ip_proto",
780                                         "value":58
781                                     }
782                                 },
783                                 {
784                                     "OXMTlv":{
785                                         "field":"icmpv6_type",
786                                         "value":136
787                                     }
788                                 },
789                                 {
790                                     "OXMTlv":{
791                                         "field":"ipv6_nd_tll",
792                                         "value":"22:22:22:22:22:22"
793                                     }
794                                 }
795                             ]
796                         }
797                     },
798                     "instructions":[
799                         {
800                             "OFPInstructionActions":{
801                                 "actions":[
802                                     {
803                                         "OFPActionOutput":{
804                                             "port":2
805                                         }
806                                     }
807                                 ],
808                                 "type":4
809                             }
810                         }
811                     ]
812                 }
813             }
814         ],
815         "tests":[
816             {
817                 "ingress":[
818                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=35047)",
819                     "itag(sid=100)",
820                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
821                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
822                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
823                 ],
824                 "egress":[
825                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
826                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
827                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
828                 ]
829             }
830         ]
831     },
832     {
833         "description":"ethernet/itag/ethernet/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22')))-->'actions=pop_pbb,goto_table:1','table_id:1,ipv6_nd_tll=22:22:22:22:22:22,actions=output:CONTROLLER'",
834         "prerequisite":[
835             {
836                 "OFPFlowMod":{
837                     "table_id":0,
838                     "match":{
839                         "OFPMatch":{
840                             "oxm_fields":[
841                                 {
842                                     "OXMTlv":{
843                                         "field":"eth_type",
844                                         "value":35047
845                                     }
846                                 }
847                             ]
848                         }
849                     },
850                     "instructions":[
851                         {
852                             "OFPInstructionActions":{
853                                 "actions":[
854                                     {
855                                         "OFPActionPopPbb":{}
856                                     }
857                                 ],
858                                 "type":4
859                             }
860                         },
861                         {
862                             "OFPInstructionGotoTable":{
863                                 "table_id":1
864                             }
865                         }
866                     ]
867                 }
868             },
869             {
870                 "OFPFlowMod":{
871                     "table_id":1,
872                     "match":{
873                         "OFPMatch":{
874                             "oxm_fields":[
875                                 {
876                                     "OXMTlv":{
877                                         "field":"eth_type",
878                                         "value":34525
879                                     }
880                                 },
881                                 {
882                                     "OXMTlv":{
883                                         "field":"ip_proto",
884                                         "value":58
885                                     }
886                                 },
887                                 {
888                                     "OXMTlv":{
889                                         "field":"icmpv6_type",
890                                         "value":136
891                                     }
892                                 },
893                                 {
894                                     "OXMTlv":{
895                                         "field":"ipv6_nd_tll",
896                                         "value":"22:22:22:22:22:22"
897                                     }
898                                 }
899                             ]
900                         }
901                     },
902                     "instructions":[
903                         {
904                             "OFPInstructionActions":{
905                                 "actions":[
906                                     {
907                                         "OFPActionOutput":{
908                                             "max_len":65535,
909                                             "port":4294967293
910                                         }
911                                     }
912                                 ],
913                                 "type":4
914                             }
915                         }
916                     ]
917                 }
918             }
919         ],
920         "tests":[
921             {
922                 "ingress":[
923                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=35047)",
924                     "itag(sid=100)",
925                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
926                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
927                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
928                 ],
929                 "PACKET_IN":[
930                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
931                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=58, hop_limit=64, traffic_class=32)",
932                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='22:22:22:22:22:22'),dst='20::20'),type_=136)"
933                 ]
934             }
935         ]
936     },
937     {
938         "description":"ethernet/itag/ethernet/ipv6/icmpv6(data=nd_neighbor(option=nd_option_tla(hw_src='aa:aa:aa:aa:aa:aa')))-->'actions=pop_pbb,goto_table:1','table_id:1,ipv6_nd_tll=22:22:22:22:22:22,actions=output:2'",
939         "prerequisite":[
940             {
941                 "OFPFlowMod":{
942                     "table_id":0,
943                     "match":{
944                         "OFPMatch":{
945                             "oxm_fields":[
946                                 {
947                                     "OXMTlv":{
948                                         "field":"eth_type",
949                                         "value":35047
950                                     }
951                                 }
952                             ]
953                         }
954                     },
955                     "instructions":[
956                         {
957                             "OFPInstructionActions":{
958                                 "actions":[
959                                     {
960                                         "OFPActionPopPbb":{}
961                                     }
962                                 ],
963                                 "type":4
964                             }
965                         },
966                         {
967                             "OFPInstructionGotoTable":{
968                                 "table_id":1
969                             }
970                         }
971                     ]
972                 }
973             },
974             {
975                 "OFPFlowMod":{
976                     "table_id":1,
977                     "match":{
978                         "OFPMatch":{
979                             "oxm_fields":[
980                                 {
981                                     "OXMTlv":{
982                                         "field":"eth_type",
983                                         "value":34525
984                                     }
985                                 },
986                                 {
987                                     "OXMTlv":{
988                                         "field":"ip_proto",
989                                         "value":58
990                                     }
991                                 },
992                                 {
993                                     "OXMTlv":{
994                                         "field":"icmpv6_type",
995                                         "value":136
996                                     }
997                                 },
998                                 {
999                                     "OXMTlv":{
1000                                         "field":"ipv6_nd_tll",
1001                                         "value":"22:22:22:22:22:22"
1002                                     }
1003                                 }
1004                             ]
1005                         }
1006                     },
1007                     "instructions":[
1008                         {
1009                             "OFPInstructionActions":{
1010                                 "actions":[
1011                                     {
1012                                         "OFPActionOutput":{
1013                                             "port":2
1014                                         }
1015                                     }
1016                                 ],
1017                                 "type":4
1018                             }
1019                         }
1020                     ]
1021                 }
1022             }
1023         ],
1024         "tests":[
1025             {
1026                 "ingress":[
1027                     "ethernet(dst='ba:bb:bb:bb:bb:bb', src='aa:aa:aa:aa:aa:aa', ethertype=35047)",
1028                     "itag(sid=203)",
1029                     "ethernet(dst='ba:bb:bb:bb:bb:bb', src='aa:aa:aa:aa:aa:aa', ethertype=34525)",
1030                     "ipv6(dst='b0::b0', flow_label=203, src='a0::a0', nxt=58, hop_limit=127, traffic_class=65)",
1031                     "icmpv6(code=0,data=nd_neighbor(option=nd_option_tla(hw_src='aa:aa:aa:aa:aa:aa'),dst='b0::b0'),type_=136)"
1032                 ],
1033                 "table-miss":[
1034                     1
1035                 ]
1036             }
1037         ]
1038     }
1039 ]