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