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