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