Action redesign: use the new ActionInfo Genius classes
[netvirt.git] / vpnservice / aclservice / impl / src / test / java / org / opendaylight / netvirt / aclservice / tests / FlowEntryObjectsBase.xtend
1 /*
2  * Copyright (c) 2016 Red Hat, Inc. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.netvirt.aclservice.tests
9
10 import org.opendaylight.genius.mdsalutil.actions.ActionNxResubmit
11 import org.opendaylight.genius.mdsalutil.FlowEntity
12 import org.opendaylight.genius.mdsalutil.InstructionInfo
13 import org.opendaylight.genius.mdsalutil.InstructionType
14 import org.opendaylight.genius.mdsalutil.MatchFieldType
15 import org.opendaylight.genius.mdsalutil.MatchInfoBuilder
16 import org.opendaylight.genius.mdsalutil.MetaDataUtil
17
18 import static extension org.opendaylight.mdsal.binding.testutils.XtendBuilderExtensions.operator_doubleGreaterThan
19
20 class FlowEntryObjectsBase {
21
22     static def fixedFlowsPort1() {
23         #[ fixedIngressFlowsPort1, fixedEgressFlowsPort1 ]
24     }
25
26     static def fixedIngressFlowsPort1() {
27         #[
28             new FlowEntity(123bi) => [
29                 cookie = 110100480bi
30                 flowId = "Ingress_DHCP_Server_v4123_987__Permit_"
31             flowName = "ACL"
32             instructionInfoList = #[
33                 new InstructionInfo(InstructionType.apply_actions, #[
34                     new ActionNxResubmit(220 as short)
35                     ])
36                 ]
37                 matchInfoList = #[
38                     new MatchInfoBuilder >> [
39                         matchField = MatchFieldType.eth_type
40                         matchValues = #[
41                             2048L
42                         ]
43                     ],
44                     new MatchInfoBuilder >> [
45                         matchField = MatchFieldType.ip_proto
46                         matchValues = #[
47                             17L
48                         ]
49                     ],
50                     new MatchInfoBuilder >> [
51                         matchField = MatchFieldType.udp_dst
52                         matchValues = #[
53                             68L
54                         ]
55                     ],
56                     new MatchInfoBuilder >> [
57                         matchField = MatchFieldType.udp_src
58                         matchValues = #[
59                             67L
60                         ]
61                     ],
62                     new MatchInfoBuilder >> [
63                         bigMatchValues = #[
64                             1085217976614912bi,
65                             MetaDataUtil.METADATA_MASK_LPORT_TAG
66                         ]
67                         matchField = MatchFieldType.metadata
68                     ]
69                 ]
70                 priority = 63010
71                 tableId = 251 as short
72             ],
73             new FlowEntity(123bi) => [
74                 cookie = 110100480bi
75                 flowId = "Ingress_DHCP_Server_v6_123_987___Permit_"
76             flowName = "ACL"
77             instructionInfoList = #[
78                 new InstructionInfo(InstructionType.apply_actions, #[
79                     new ActionNxResubmit(220 as short)
80                     ])
81                 ]
82                 matchInfoList = #[
83                     new MatchInfoBuilder >> [
84                         matchField = MatchFieldType.eth_type
85                         matchValues = #[
86                             34525L
87                         ]
88                     ],
89                     new MatchInfoBuilder >> [
90                         matchField = MatchFieldType.ip_proto
91                         matchValues = #[
92                             17L
93                         ]
94                     ],
95                     new MatchInfoBuilder >> [
96                         matchField = MatchFieldType.udp_dst
97                         matchValues = #[
98                             546L
99                         ]
100                     ],
101                     new MatchInfoBuilder >> [
102                         matchField = MatchFieldType.udp_src
103                         matchValues = #[
104                             547L
105                         ]
106                     ],
107                     new MatchInfoBuilder >> [
108                         bigMatchValues = #[
109                             1085217976614912bi,
110                             MetaDataUtil.METADATA_MASK_LPORT_TAG
111                         ]
112                         matchField = MatchFieldType.metadata
113                     ]
114                 ]
115                 priority = 63010
116                 tableId = 251 as short
117             ],
118             new FlowEntity(123bi) => [
119                 cookie = 110100480bi
120                 flowId = "Ingress_ICMPv6_123_987_130_Permit_"
121             flowName = "ACL"
122             instructionInfoList = #[
123                 new InstructionInfo(InstructionType.apply_actions, #[
124                     new ActionNxResubmit(220 as short)
125                     ])
126                 ]
127                 matchInfoList = #[
128                     new MatchInfoBuilder >> [
129                         matchField = MatchFieldType.eth_type
130                         matchValues = #[
131                             34525L
132                         ]
133                     ],
134                     new MatchInfoBuilder >> [
135                         matchField = MatchFieldType.ip_proto
136                         matchValues = #[
137                             58L
138                         ]
139                     ],
140                     new MatchInfoBuilder >> [
141                         matchField = MatchFieldType.icmp_v6
142                         matchValues = #[
143                             130L,
144                             0L
145                         ]
146                     ],
147                     new MatchInfoBuilder >> [
148                         bigMatchValues = #[
149                             1085217976614912bi,
150                             MetaDataUtil.METADATA_MASK_LPORT_TAG
151                         ]
152                         matchField = MatchFieldType.metadata
153                     ]
154                 ]
155                 priority = 63010
156                 tableId = 251 as short
157             ],
158             new FlowEntity(123bi) => [
159                 cookie = 110100480bi
160                 flowId = "Ingress_ICMPv6_123_987_135_Permit_"
161             flowName = "ACL"
162             instructionInfoList = #[
163                 new InstructionInfo(InstructionType.apply_actions, #[
164                     new ActionNxResubmit(220 as short)
165                     ])
166                 ]
167                 matchInfoList = #[
168                     new MatchInfoBuilder >> [
169                         matchField = MatchFieldType.eth_type
170                         matchValues = #[
171                             34525L
172                         ]
173                     ],
174                     new MatchInfoBuilder >> [
175                         matchField = MatchFieldType.ip_proto
176                         matchValues = #[
177                             58L
178                         ]
179                     ],
180                     new MatchInfoBuilder >> [
181                         matchField = MatchFieldType.icmp_v6
182                         matchValues = #[
183                             135L,
184                             0L
185                         ]
186                     ],
187                     new MatchInfoBuilder >> [
188                         bigMatchValues = #[
189                             1085217976614912bi,
190                             MetaDataUtil.METADATA_MASK_LPORT_TAG
191                         ]
192                         matchField = MatchFieldType.metadata
193                     ]
194                 ]
195                 priority = 63010
196                 tableId = 251 as short
197             ],
198             new FlowEntity(123bi) => [
199                 cookie = 110100480bi
200                 flowId = "Ingress_ICMPv6_123_987_136_Permit_"
201             flowName = "ACL"
202             instructionInfoList = #[
203                 new InstructionInfo(InstructionType.apply_actions, #[
204                     new ActionNxResubmit(220 as short)
205                     ])
206                 ]
207                 matchInfoList = #[
208                     new MatchInfoBuilder >> [
209                         matchField = MatchFieldType.eth_type
210                         matchValues = #[
211                             34525L
212                         ]
213                     ],
214                     new MatchInfoBuilder >> [
215                         matchField = MatchFieldType.ip_proto
216                         matchValues = #[
217                             58L
218                         ]
219                     ],
220                     new MatchInfoBuilder >> [
221                         matchField = MatchFieldType.icmp_v6
222                         matchValues = #[
223                             136L,
224                             0L
225                         ]
226                     ],
227                     new MatchInfoBuilder >> [
228                         bigMatchValues = #[
229                             1085217976614912bi,
230                             MetaDataUtil.METADATA_MASK_LPORT_TAG
231                         ]
232                         matchField = MatchFieldType.metadata
233                     ]
234                 ]
235                 priority = 63010
236                 tableId = 251 as short
237             ],
238             new FlowEntity(123bi) => [
239                 cookie = 110100480bi
240                 flowId = "Ingress_ARP_123_987"
241             flowName = "ACL"
242             instructionInfoList = #[
243                 new InstructionInfo(InstructionType.apply_actions, #[
244                     new ActionNxResubmit(220 as short)
245                     ])
246                 ]
247                 matchInfoList = #[
248                     new MatchInfoBuilder >> [
249                         matchField = MatchFieldType.eth_type
250                         matchValues = #[
251                             2054L
252                         ]
253                     ],
254                     new MatchInfoBuilder >> [
255                         bigMatchValues = #[
256                             1085217976614912bi,
257                             MetaDataUtil.METADATA_MASK_LPORT_TAG
258                         ]
259                         matchField = MatchFieldType.metadata
260                     ]
261                 ]
262                 priority = 63010
263                 tableId = 251 as short
264             ]
265
266             ]
267     }
268
269     static def fixedEgressFlowsPort1() {
270         #[
271
272             new FlowEntity(123bi) => [
273                 cookie = 110100480bi
274                 flowId = "Egress_DHCP_Client_v4123_987__Permit_"
275                 flowName = "ACL"
276                 instructionInfoList = #[
277                     new InstructionInfo(InstructionType.apply_actions, #[
278                         new ActionNxResubmit(17 as short)
279                     ])
280                 ]
281                 matchInfoList = #[
282                     new MatchInfoBuilder >> [
283                         matchField = MatchFieldType.eth_type
284                         matchValues = #[
285                             2048L
286                         ]
287                     ],
288                     new MatchInfoBuilder >> [
289                         matchField = MatchFieldType.ip_proto
290                         matchValues = #[
291                             17L
292                         ]
293                     ],
294                     new MatchInfoBuilder >> [
295                         matchField = MatchFieldType.udp_dst
296                         matchValues = #[
297                             67L
298                         ]
299                     ],
300                     new MatchInfoBuilder >> [
301                         matchField = MatchFieldType.udp_src
302                         matchValues = #[
303                             68L
304                         ]
305                     ],
306                     new MatchInfoBuilder >> [
307                         bigMatchValues = #[
308                             1085217976614912bi,
309                             MetaDataUtil.METADATA_MASK_LPORT_TAG
310                         ]
311                         matchField = MatchFieldType.metadata
312                     ]
313                 ]
314                 priority = 63010
315                 tableId = 40 as short
316             ],
317             new FlowEntity(123bi) => [
318                 cookie = 110100480bi
319                 flowId = "Egress_DHCP_Client_v6_123_987__Permit_"
320                 flowName = "ACL"
321                 instructionInfoList = #[
322                     new InstructionInfo(InstructionType.apply_actions, #[
323                         new ActionNxResubmit(17 as short)
324                     ])
325                 ]
326                 matchInfoList = #[
327                     new MatchInfoBuilder >> [
328                         matchField = MatchFieldType.eth_type
329                         matchValues = #[
330                             34525L
331                         ]
332                     ],
333                     new MatchInfoBuilder >> [
334                         matchField = MatchFieldType.ip_proto
335                         matchValues = #[
336                             17L
337                         ]
338                     ],
339                     new MatchInfoBuilder >> [
340                         matchField = MatchFieldType.udp_dst
341                         matchValues = #[
342                             547L
343                         ]
344                     ],
345                     new MatchInfoBuilder >> [
346                         matchField = MatchFieldType.udp_src
347                         matchValues = #[
348                             546L
349                         ]
350                     ],
351                     new MatchInfoBuilder >> [
352                         bigMatchValues = #[
353                             1085217976614912bi,
354                             MetaDataUtil.METADATA_MASK_LPORT_TAG
355                         ]
356                         matchField = MatchFieldType.metadata
357                     ]
358                 ]
359                 priority = 63010
360                 tableId = 40 as short
361             ],
362             new FlowEntity(123bi) => [
363                 cookie = 110100480bi
364                 flowId = "Egress_DHCP_Server_v4123_987__Drop_"
365                 flowName = "ACL"
366                 instructionInfoList = #[
367                 ]
368                 matchInfoList = #[
369                     new MatchInfoBuilder >> [
370                         matchField = MatchFieldType.eth_type
371                         matchValues = #[
372                             2048L
373                         ]
374                     ],
375                     new MatchInfoBuilder >> [
376                         matchField = MatchFieldType.ip_proto
377                         matchValues = #[
378                             17L
379                         ]
380                     ],
381                     new MatchInfoBuilder >> [
382                         matchField = MatchFieldType.udp_dst
383                         matchValues = #[
384                             68L
385                         ]
386                     ],
387                     new MatchInfoBuilder >> [
388                         matchField = MatchFieldType.udp_src
389                         matchValues = #[
390                             67L
391                         ]
392                     ],
393                     new MatchInfoBuilder >> [
394                         bigMatchValues = #[
395                             1085217976614912bi,
396                             MetaDataUtil.METADATA_MASK_LPORT_TAG
397                         ]
398                         matchField = MatchFieldType.metadata
399                     ]
400                 ]
401                 priority = 63010
402                 tableId = 40 as short
403             ],
404             new FlowEntity(123bi) => [
405                 cookie = 110100480bi
406                 flowId = "Egress_DHCP_Server_v6_123_987__Drop_"
407                 flowName = "ACL"
408                 instructionInfoList = #[
409                 ]
410                 matchInfoList = #[
411                     new MatchInfoBuilder >> [
412                         matchField = MatchFieldType.eth_type
413                         matchValues = #[
414                             34525L
415                         ]
416                     ],
417                     new MatchInfoBuilder >> [
418                         matchField = MatchFieldType.ip_proto
419                         matchValues = #[
420                             17L
421                         ]
422                     ],
423                     new MatchInfoBuilder >> [
424                         matchField = MatchFieldType.udp_dst
425                         matchValues = #[
426                             546L
427                         ]
428                     ],
429                     new MatchInfoBuilder >> [
430                         matchField = MatchFieldType.udp_src
431                         matchValues = #[
432                             547L
433                         ]
434                     ],
435                     new MatchInfoBuilder >> [
436                         bigMatchValues = #[
437                             1085217976614912bi,
438                             MetaDataUtil.METADATA_MASK_LPORT_TAG
439                         ]
440                         matchField = MatchFieldType.metadata
441                     ]
442                 ]
443                 priority = 63010
444                 tableId = 40 as short
445             ],
446             new FlowEntity(123bi) => [
447                 cookie = 110100480bi
448                 flowId = "Egress_ICMPv6_123_987_134_Drop_"
449                 flowName = "ACL"
450                 instructionInfoList = #[
451                 ]
452                 matchInfoList = #[
453                     new MatchInfoBuilder >> [
454                         matchField = MatchFieldType.eth_type
455                         matchValues = #[
456                             34525L
457                         ]
458                     ],
459                     new MatchInfoBuilder >> [
460                         matchField = MatchFieldType.ip_proto
461                         matchValues = #[
462                             58L
463                         ]
464                     ],
465                     new MatchInfoBuilder >> [
466                         matchField = MatchFieldType.icmp_v6
467                         matchValues = #[
468                             134L,
469                             0L
470                         ]
471                     ],
472                     new MatchInfoBuilder >> [
473                         bigMatchValues = #[
474                             1085217976614912bi,
475                             MetaDataUtil.METADATA_MASK_LPORT_TAG
476                         ]
477                         matchField = MatchFieldType.metadata
478                     ]
479                 ]
480                 priority = 63020
481                 tableId = 40 as short
482             ],
483             new FlowEntity(123bi) => [
484                 cookie = 110100480bi
485                 flowId = "Egress_ICMPv6_123_987_133_Permit_"
486                 flowName = "ACL"
487                 instructionInfoList = #[
488                     new InstructionInfo(InstructionType.apply_actions, #[
489                         new ActionNxResubmit(17 as short)
490                     ])
491                 ]
492                 matchInfoList = #[
493                     new MatchInfoBuilder >> [
494                         matchField = MatchFieldType.eth_type
495                         matchValues = #[
496                             34525L
497                         ]
498                     ],
499                     new MatchInfoBuilder >> [
500                         matchField = MatchFieldType.ip_proto
501                         matchValues = #[
502                             58L
503                         ]
504                     ],
505                     new MatchInfoBuilder >> [
506                         matchField = MatchFieldType.icmp_v6
507                         matchValues = #[
508                             133L,
509                             0L
510                         ]
511                     ],
512                     new MatchInfoBuilder >> [
513                         bigMatchValues = #[
514                             1085217976614912bi,
515                             MetaDataUtil.METADATA_MASK_LPORT_TAG
516                         ]
517                         matchField = MatchFieldType.metadata
518                     ]
519                 ]
520                 priority = 63010
521                 tableId = 40 as short
522             ],
523             new FlowEntity(123bi) => [
524                 cookie = 110100480bi
525                 flowId = "Egress_ICMPv6_123_987_135_Permit_"
526                 flowName = "ACL"
527                 instructionInfoList = #[
528                     new InstructionInfo(InstructionType.apply_actions, #[
529                         new ActionNxResubmit(17 as short)
530                     ])
531                 ]
532                 matchInfoList = #[
533                     new MatchInfoBuilder >> [
534                         matchField = MatchFieldType.eth_type
535                         matchValues = #[
536                             34525L
537                         ]
538                     ],
539                     new MatchInfoBuilder >> [
540                         matchField = MatchFieldType.ip_proto
541                         matchValues = #[
542                             58L
543                         ]
544                     ],
545                     new MatchInfoBuilder >> [
546                         matchField = MatchFieldType.icmp_v6
547                         matchValues = #[
548                             135L,
549                             0L
550                         ]
551                     ],
552                     new MatchInfoBuilder >> [
553                         bigMatchValues = #[
554                             1085217976614912bi,
555                             MetaDataUtil.METADATA_MASK_LPORT_TAG
556                         ]
557                         matchField = MatchFieldType.metadata
558                     ]
559                 ]
560                 priority = 63010
561                 tableId = 40 as short
562             ],
563             new FlowEntity(123bi) => [
564                 cookie = 110100480bi
565                 flowId = "Egress_ICMPv6_123_987_136_Permit_"
566                 flowName = "ACL"
567                 instructionInfoList = #[
568                     new InstructionInfo(InstructionType.apply_actions, #[
569                         new ActionNxResubmit(17 as short)
570                     ])
571                 ]
572                 matchInfoList = #[
573                     new MatchInfoBuilder >> [
574                         matchField = MatchFieldType.eth_type
575                         matchValues = #[
576                             34525L
577                         ]
578                     ],
579                     new MatchInfoBuilder >> [
580                         matchField = MatchFieldType.ip_proto
581                         matchValues = #[
582                             58L
583                         ]
584                     ],
585                     new MatchInfoBuilder >> [
586                         matchField = MatchFieldType.icmp_v6
587                         matchValues = #[
588                             136L,
589                             0L
590                         ]
591                     ],
592                     new MatchInfoBuilder >> [
593                         bigMatchValues = #[
594                             1085217976614912bi,
595                             MetaDataUtil.METADATA_MASK_LPORT_TAG
596                         ]
597                         matchField = MatchFieldType.metadata
598                     ]
599                 ]
600                 priority = 63010
601                 tableId = 40 as short
602             ],
603             new FlowEntity(123bi) => [
604                 cookie = 110100480bi
605                 flowId = "Egress_ARP_123_0D:AA:D8:42:30:F3"
606                 flowName = "ACL"
607                 instructionInfoList = #[
608                     new InstructionInfo(InstructionType.apply_actions, #[
609                         new ActionNxResubmit(17 as short)
610                     ])
611                 ]
612                 matchInfoList = #[
613                     new MatchInfoBuilder >> [
614                         matchField = MatchFieldType.eth_type
615                         matchValues = #[
616                             2054L
617                         ]
618                     ],
619                     new MatchInfoBuilder >> [
620                         matchField = MatchFieldType.arp_sha
621                         stringMatchValues = #[
622                             "0D:AA:D8:42:30:F3"
623                         ]
624                     ],
625                     new MatchInfoBuilder >> [
626                         bigMatchValues = #[
627                             1085217976614912bi,
628                             MetaDataUtil.METADATA_MASK_LPORT_TAG
629                         ]
630                         matchField = MatchFieldType.metadata
631                     ]
632                 ]
633                 priority = 63010
634                 tableId = 40 as short
635             ]
636         ]
637     }
638
639
640     static def fixedIngressFlowsPort2() {
641         #[
642             new FlowEntity(123bi) => [
643                 cookie = 110100480bi
644                 flowId = "Ingress_DHCP_Server_v4123_987__Permit_"
645                 flowName = "ACL"
646                 instructionInfoList = #[
647                     new InstructionInfo(InstructionType.apply_actions, #[
648                         new ActionNxResubmit(220 as short)
649                     ])
650                 ]
651                 matchInfoList = #[
652                     new MatchInfoBuilder >> [
653                         matchField = MatchFieldType.eth_type
654                         matchValues = #[
655                             2048L
656                         ]
657                     ],
658                     new MatchInfoBuilder >> [
659                         matchField = MatchFieldType.ip_proto
660                         matchValues = #[
661                             17L
662                         ]
663                     ],
664                     new MatchInfoBuilder >> [
665                         matchField = MatchFieldType.udp_dst
666                         matchValues = #[
667                             68L
668                         ]
669                     ],
670                     new MatchInfoBuilder >> [
671                         matchField = MatchFieldType.udp_src
672                         matchValues = #[
673                             67L
674                         ]
675                     ],
676                     new MatchInfoBuilder >> [
677                         bigMatchValues = #[
678                             1085217976614912bi,
679                             MetaDataUtil.METADATA_MASK_LPORT_TAG
680                         ]
681                         matchField = MatchFieldType.metadata
682                     ]
683                 ]
684                 priority = 63010
685                 tableId = 251 as short
686             ],
687             new FlowEntity(123bi) => [
688                 cookie = 110100480bi
689                 flowId = "Ingress_DHCP_Server_v6_123_987___Permit_"
690                 flowName = "ACL"
691                 instructionInfoList = #[
692                     new InstructionInfo(InstructionType.apply_actions, #[
693                         new ActionNxResubmit(220 as short)
694                     ])
695                 ]
696                 matchInfoList = #[
697                     new MatchInfoBuilder >> [
698                         matchField = MatchFieldType.eth_type
699                         matchValues = #[
700                             34525L
701                         ]
702                     ],
703                     new MatchInfoBuilder >> [
704                         matchField = MatchFieldType.ip_proto
705                         matchValues = #[
706                             17L
707                         ]
708                     ],
709                     new MatchInfoBuilder >> [
710                         matchField = MatchFieldType.udp_dst
711                         matchValues = #[
712                             546L
713                         ]
714                     ],
715                     new MatchInfoBuilder >> [
716                         matchField = MatchFieldType.udp_src
717                         matchValues = #[
718                             547L
719                         ]
720                     ],
721                     new MatchInfoBuilder >> [
722                         bigMatchValues = #[
723                             1085217976614912bi,
724                             MetaDataUtil.METADATA_MASK_LPORT_TAG
725                         ]
726                         matchField = MatchFieldType.metadata
727                     ]
728                 ]
729                 priority = 63010
730                 tableId = 251 as short
731             ],
732             new FlowEntity(123bi) => [
733                 cookie = 110100480bi
734                 flowId = "Ingress_ICMPv6_123_987_130_Permit_"
735                 flowName = "ACL"
736                 instructionInfoList = #[
737                     new InstructionInfo(InstructionType.apply_actions, #[
738                         new ActionNxResubmit(220 as short)
739                     ])
740                 ]
741                 matchInfoList = #[
742                     new MatchInfoBuilder >> [
743                         matchField = MatchFieldType.eth_type
744                         matchValues = #[
745                             34525L
746                         ]
747                     ],
748                     new MatchInfoBuilder >> [
749                         matchField = MatchFieldType.ip_proto
750                         matchValues = #[
751                             58L
752                         ]
753                     ],
754                     new MatchInfoBuilder >> [
755                         matchField = MatchFieldType.icmp_v6
756                         matchValues = #[
757                             130L,
758                             0L
759                         ]
760                     ],
761                     new MatchInfoBuilder >> [
762                         bigMatchValues = #[
763                             1085217976614912bi,
764                             MetaDataUtil.METADATA_MASK_LPORT_TAG
765                         ]
766                         matchField = MatchFieldType.metadata
767                     ]
768                 ]
769                 priority = 63010
770                 tableId = 251 as short
771             ],
772             new FlowEntity(123bi) => [
773                 cookie = 110100480bi
774                 flowId = "Ingress_ICMPv6_123_987_135_Permit_"
775                 flowName = "ACL"
776                 instructionInfoList = #[
777                     new InstructionInfo(InstructionType.apply_actions, #[
778                         new ActionNxResubmit(220 as short)
779                     ])
780                 ]
781                 matchInfoList = #[
782                     new MatchInfoBuilder >> [
783                         matchField = MatchFieldType.eth_type
784                         matchValues = #[
785                             34525L
786                         ]
787                     ],
788                     new MatchInfoBuilder >> [
789                         matchField = MatchFieldType.ip_proto
790                         matchValues = #[
791                             58L
792                         ]
793                     ],
794                     new MatchInfoBuilder >> [
795                         matchField = MatchFieldType.icmp_v6
796                         matchValues = #[
797                             135L,
798                             0L
799                         ]
800                     ],
801                     new MatchInfoBuilder >> [
802                         bigMatchValues = #[
803                             1085217976614912bi,
804                             MetaDataUtil.METADATA_MASK_LPORT_TAG
805                         ]
806                         matchField = MatchFieldType.metadata
807                     ]
808                 ]
809                 priority = 63010
810                 tableId = 251 as short
811             ],
812             new FlowEntity(123bi) => [
813                 cookie = 110100480bi
814                 flowId = "Ingress_ICMPv6_123_987_136_Permit_"
815                 flowName = "ACL"
816                 instructionInfoList = #[
817                     new InstructionInfo(InstructionType.apply_actions, #[
818                         new ActionNxResubmit(220 as short)
819                     ])
820                 ]
821                 matchInfoList = #[
822                     new MatchInfoBuilder >> [
823                         matchField = MatchFieldType.eth_type
824                         matchValues = #[
825                             34525L
826                         ]
827                     ],
828                     new MatchInfoBuilder >> [
829                         matchField = MatchFieldType.ip_proto
830                         matchValues = #[
831                             58L
832                         ]
833                     ],
834                     new MatchInfoBuilder >> [
835                         matchField = MatchFieldType.icmp_v6
836                         matchValues = #[
837                             136L,
838                             0L
839                         ]
840                     ],
841                     new MatchInfoBuilder >> [
842                         bigMatchValues = #[
843                             1085217976614912bi,
844                             MetaDataUtil.METADATA_MASK_LPORT_TAG
845                         ]
846                         matchField = MatchFieldType.metadata
847                     ]
848                 ]
849                 priority = 63010
850                 tableId = 251 as short
851             ],
852             new FlowEntity(123bi) => [
853                 cookie = 110100480bi
854                 flowId = "Ingress_ARP_123_987"
855                 flowName = "ACL"
856                 instructionInfoList = #[
857                     new InstructionInfo(InstructionType.apply_actions, #[
858                         new ActionNxResubmit(220 as short)
859                     ])
860                 ]
861                 matchInfoList = #[
862                     new MatchInfoBuilder >> [
863                         matchField = MatchFieldType.eth_type
864                         matchValues = #[
865                             2054L
866                         ]
867                     ],
868                     new MatchInfoBuilder >> [
869                         bigMatchValues = #[
870                             1085217976614912bi,
871                             MetaDataUtil.METADATA_MASK_LPORT_TAG
872                         ]
873                         matchField = MatchFieldType.metadata
874                     ]
875                 ]
876                 priority = 63010
877                 tableId = 251 as short
878             ]
879         ]
880     }
881
882     static def fixedEgrssFlowsPort2 () {
883         #[
884             new FlowEntity(123bi) => [
885                 cookie = 110100480bi
886                 flowId = "Egress_DHCP_Client_v4123_987__Permit_"
887                 flowName = "ACL"
888                 instructionInfoList = #[
889                     new InstructionInfo(InstructionType.apply_actions, #[
890                         new ActionNxResubmit(17 as short)
891                     ])
892                 ]
893                 matchInfoList = #[
894                     new MatchInfoBuilder >> [
895                         matchField = MatchFieldType.eth_type
896                         matchValues = #[
897                             2048L
898                         ]
899                     ],
900                     new MatchInfoBuilder >> [
901                         matchField = MatchFieldType.ip_proto
902                         matchValues = #[
903                             17L
904                         ]
905                     ],
906                     new MatchInfoBuilder >> [
907                         matchField = MatchFieldType.udp_dst
908                         matchValues = #[
909                             67L
910                         ]
911                     ],
912                     new MatchInfoBuilder >> [
913                         matchField = MatchFieldType.udp_src
914                         matchValues = #[
915                             68L
916                         ]
917                     ],
918                     new MatchInfoBuilder >> [
919                         bigMatchValues = #[
920                             1085217976614912bi,
921                             MetaDataUtil.METADATA_MASK_LPORT_TAG
922                         ]
923                         matchField = MatchFieldType.metadata
924                     ]
925                 ]
926                 priority = 63010
927                 tableId = 40 as short
928             ],
929             new FlowEntity(123bi) => [
930                 cookie = 110100480bi
931                 flowId = "Egress_DHCP_Client_v6_123_987__Permit_"
932                 flowName = "ACL"
933                 instructionInfoList = #[
934                     new InstructionInfo(InstructionType.apply_actions, #[
935                         new ActionNxResubmit(17 as short)
936                     ])
937                 ]
938                 matchInfoList = #[
939                     new MatchInfoBuilder >> [
940                         matchField = MatchFieldType.eth_type
941                         matchValues = #[
942                             34525L
943                         ]
944                     ],
945                     new MatchInfoBuilder >> [
946                         matchField = MatchFieldType.ip_proto
947                         matchValues = #[
948                             17L
949                         ]
950                     ],
951                     new MatchInfoBuilder >> [
952                         matchField = MatchFieldType.udp_dst
953                         matchValues = #[
954                             547L
955                         ]
956                     ],
957                     new MatchInfoBuilder >> [
958                         matchField = MatchFieldType.udp_src
959                         matchValues = #[
960                             546L
961                         ]
962                     ],
963                     new MatchInfoBuilder >> [
964                         bigMatchValues = #[
965                             1085217976614912bi,
966                             MetaDataUtil.METADATA_MASK_LPORT_TAG
967                         ]
968                         matchField = MatchFieldType.metadata
969                     ]
970                 ]
971                 priority = 63010
972                 tableId = 40 as short
973             ],
974             new FlowEntity(123bi) => [
975                 cookie = 110100480bi
976                 flowId = "Egress_DHCP_Server_v4123_987__Drop_"
977                 flowName = "ACL"
978                 instructionInfoList = #[
979                 ]
980                 matchInfoList = #[
981                     new MatchInfoBuilder >> [
982                         matchField = MatchFieldType.eth_type
983                         matchValues = #[
984                             2048L
985                         ]
986                     ],
987                     new MatchInfoBuilder >> [
988                         matchField = MatchFieldType.ip_proto
989                         matchValues = #[
990                             17L
991                         ]
992                     ],
993                     new MatchInfoBuilder >> [
994                         matchField = MatchFieldType.udp_dst
995                         matchValues = #[
996                             68L
997                         ]
998                     ],
999                     new MatchInfoBuilder >> [
1000                         matchField = MatchFieldType.udp_src
1001                         matchValues = #[
1002                             67L
1003                         ]
1004                     ],
1005                     new MatchInfoBuilder >> [
1006                         bigMatchValues = #[
1007                             1085217976614912bi,
1008                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1009                         ]
1010                         matchField = MatchFieldType.metadata
1011                     ]
1012                 ]
1013                 priority = 63010
1014                 tableId = 40 as short
1015             ],
1016             new FlowEntity(123bi) => [
1017                 cookie = 110100480bi
1018                 flowId = "Egress_DHCP_Server_v6_123_987__Drop_"
1019                 flowName = "ACL"
1020                 instructionInfoList = #[
1021                 ]
1022                 matchInfoList = #[
1023                     new MatchInfoBuilder >> [
1024                         matchField = MatchFieldType.eth_type
1025                         matchValues = #[
1026                             34525L
1027                         ]
1028                     ],
1029                     new MatchInfoBuilder >> [
1030                         matchField = MatchFieldType.ip_proto
1031                         matchValues = #[
1032                             17L
1033                         ]
1034                     ],
1035                     new MatchInfoBuilder >> [
1036                         matchField = MatchFieldType.udp_dst
1037                         matchValues = #[
1038                             546L
1039                         ]
1040                     ],
1041                     new MatchInfoBuilder >> [
1042                         matchField = MatchFieldType.udp_src
1043                         matchValues = #[
1044                             547L
1045                         ]
1046                     ],
1047                     new MatchInfoBuilder >> [
1048                         bigMatchValues = #[
1049                             1085217976614912bi,
1050                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1051                         ]
1052                         matchField = MatchFieldType.metadata
1053                     ]
1054                 ]
1055                 priority = 63010
1056                 tableId = 40 as short
1057             ],
1058             new FlowEntity(123bi) => [
1059                 cookie = 110100480bi
1060                 flowId = "Egress_ICMPv6_123_987_134_Drop_"
1061                 flowName = "ACL"
1062                 instructionInfoList = #[
1063                 ]
1064                 matchInfoList = #[
1065                     new MatchInfoBuilder >> [
1066                         matchField = MatchFieldType.eth_type
1067                         matchValues = #[
1068                             34525L
1069                         ]
1070                     ],
1071                     new MatchInfoBuilder >> [
1072                         matchField = MatchFieldType.ip_proto
1073                         matchValues = #[
1074                             58L
1075                         ]
1076                     ],
1077                     new MatchInfoBuilder >> [
1078                         matchField = MatchFieldType.icmp_v6
1079                         matchValues = #[
1080                             134L,
1081                             0L
1082                         ]
1083                     ],
1084                     new MatchInfoBuilder >> [
1085                         bigMatchValues = #[
1086                             1085217976614912bi,
1087                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1088                         ]
1089                         matchField = MatchFieldType.metadata
1090                     ]
1091                 ]
1092                 priority = 63020
1093                 tableId = 40 as short
1094             ],
1095             new FlowEntity(123bi) => [
1096                 cookie = 110100480bi
1097                 flowId = "Egress_ICMPv6_123_987_133_Permit_"
1098                 flowName = "ACL"
1099                 instructionInfoList = #[
1100                     new InstructionInfo(InstructionType.apply_actions, #[
1101                         new ActionNxResubmit(17 as short)
1102                     ])
1103                 ]
1104                 matchInfoList = #[
1105                     new MatchInfoBuilder >> [
1106                         matchField = MatchFieldType.eth_type
1107                         matchValues = #[
1108                             34525L
1109                         ]
1110                     ],
1111                     new MatchInfoBuilder >> [
1112                         matchField = MatchFieldType.ip_proto
1113                         matchValues = #[
1114                             58L
1115                         ]
1116                     ],
1117                     new MatchInfoBuilder >> [
1118                         matchField = MatchFieldType.icmp_v6
1119                         matchValues = #[
1120                             133L,
1121                             0L
1122                         ]
1123                     ],
1124                     new MatchInfoBuilder >> [
1125                         bigMatchValues = #[
1126                             1085217976614912bi,
1127                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1128                         ]
1129                         matchField = MatchFieldType.metadata
1130                     ]
1131                 ]
1132                 priority = 63010
1133                 tableId = 40 as short
1134             ],
1135             new FlowEntity(123bi) => [
1136                 cookie = 110100480bi
1137                 flowId = "Egress_ICMPv6_123_987_135_Permit_"
1138                 flowName = "ACL"
1139                 instructionInfoList = #[
1140                     new InstructionInfo(InstructionType.apply_actions, #[
1141                         new ActionNxResubmit(17 as short)
1142                     ])
1143                 ]
1144                 matchInfoList = #[
1145                     new MatchInfoBuilder >> [
1146                         matchField = MatchFieldType.eth_type
1147                         matchValues = #[
1148                             34525L
1149                         ]
1150                     ],
1151                     new MatchInfoBuilder >> [
1152                         matchField = MatchFieldType.ip_proto
1153                         matchValues = #[
1154                             58L
1155                         ]
1156                     ],
1157                     new MatchInfoBuilder >> [
1158                         matchField = MatchFieldType.icmp_v6
1159                         matchValues = #[
1160                             135L,
1161                             0L
1162                         ]
1163                     ],
1164                     new MatchInfoBuilder >> [
1165                         bigMatchValues = #[
1166                             1085217976614912bi,
1167                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1168                         ]
1169                         matchField = MatchFieldType.metadata
1170                     ]
1171                 ]
1172                 priority = 63010
1173                 tableId = 40 as short
1174             ],
1175             new FlowEntity(123bi) => [
1176                 cookie = 110100480bi
1177                 flowId = "Egress_ICMPv6_123_987_136_Permit_"
1178                 flowName = "ACL"
1179                 instructionInfoList = #[
1180                     new InstructionInfo(InstructionType.apply_actions, #[
1181                         new ActionNxResubmit(17 as short)
1182                     ])
1183                 ]
1184                 matchInfoList = #[
1185                     new MatchInfoBuilder >> [
1186                         matchField = MatchFieldType.eth_type
1187                         matchValues = #[
1188                             34525L
1189                         ]
1190                     ],
1191                     new MatchInfoBuilder >> [
1192                         matchField = MatchFieldType.ip_proto
1193                         matchValues = #[
1194                             58L
1195                         ]
1196                     ],
1197                     new MatchInfoBuilder >> [
1198                         matchField = MatchFieldType.icmp_v6
1199                         matchValues = #[
1200                             136L,
1201                             0L
1202                         ]
1203                     ],
1204                     new MatchInfoBuilder >> [
1205                         bigMatchValues = #[
1206                             1085217976614912bi,
1207                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1208                         ]
1209                         matchField = MatchFieldType.metadata
1210                     ]
1211                 ]
1212                 priority = 63010
1213                 tableId = 40 as short
1214             ],
1215             new FlowEntity(123bi) => [
1216                 cookie = 110100480bi
1217                 flowId = "Egress_ARP_123_0D:AA:D8:42:30:F4"
1218                 flowName = "ACL"
1219                 instructionInfoList = #[
1220                     new InstructionInfo(InstructionType.apply_actions, #[
1221                         new ActionNxResubmit(17 as short)
1222                     ])
1223                 ]
1224                 matchInfoList = #[
1225                     new MatchInfoBuilder >> [
1226                         matchField = MatchFieldType.eth_type
1227                         matchValues = #[
1228                             2054L
1229                         ]
1230                     ],
1231                     new MatchInfoBuilder >> [
1232                         matchField = MatchFieldType.arp_sha
1233                         stringMatchValues = #[
1234                             "0D:AA:D8:42:30:F4"
1235                         ]
1236                     ],
1237                     new MatchInfoBuilder >> [
1238                         bigMatchValues = #[
1239                             1085217976614912bi,
1240                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1241                         ]
1242                         matchField = MatchFieldType.metadata
1243                     ]
1244                 ]
1245                 priority = 63010
1246                 tableId = 40 as short
1247             ]
1248         ]
1249
1250     }
1251
1252     static def fixedIngressFlowsPort3() {
1253         #[
1254             new FlowEntity(123bi) => [
1255                 cookie = 110100480bi
1256                 flowId = "Ingress_DHCP_Server_v4123_987__Permit_"
1257                 flowName = "ACL"
1258                 instructionInfoList = #[
1259                     new InstructionInfo(InstructionType.apply_actions, #[
1260                         new ActionNxResubmit(220 as short)
1261                     ])
1262                 ]
1263                 matchInfoList = #[
1264                     new MatchInfoBuilder >> [
1265                         matchField = MatchFieldType.eth_type
1266                         matchValues = #[
1267                             2048L
1268                         ]
1269                     ],
1270                     new MatchInfoBuilder >> [
1271                         matchField = MatchFieldType.ip_proto
1272                         matchValues = #[
1273                             17L
1274                         ]
1275                     ],
1276                     new MatchInfoBuilder >> [
1277                         matchField = MatchFieldType.udp_dst
1278                         matchValues = #[
1279                             68L
1280                         ]
1281                     ],
1282                     new MatchInfoBuilder >> [
1283                         matchField = MatchFieldType.udp_src
1284                         matchValues = #[
1285                             67L
1286                         ]
1287                     ],
1288                     new MatchInfoBuilder >> [
1289                         bigMatchValues = #[
1290                             1085217976614912bi,
1291                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1292                         ]
1293                         matchField = MatchFieldType.metadata
1294                     ]
1295                 ]
1296                 priority = 63010
1297                 tableId = 251 as short
1298             ],
1299             new FlowEntity(123bi) => [
1300                 cookie = 110100480bi
1301                 flowId = "Ingress_DHCP_Server_v6_123_987___Permit_"
1302                 flowName = "ACL"
1303                 instructionInfoList = #[
1304                     new InstructionInfo(InstructionType.apply_actions, #[
1305                         new ActionNxResubmit(220 as short)
1306                     ])
1307                 ]
1308                 matchInfoList = #[
1309                     new MatchInfoBuilder >> [
1310                         matchField = MatchFieldType.eth_type
1311                         matchValues = #[
1312                             34525L
1313                         ]
1314                     ],
1315                     new MatchInfoBuilder >> [
1316                         matchField = MatchFieldType.ip_proto
1317                         matchValues = #[
1318                             17L
1319                         ]
1320                     ],
1321                     new MatchInfoBuilder >> [
1322                         matchField = MatchFieldType.udp_dst
1323                         matchValues = #[
1324                             546L
1325                         ]
1326                     ],
1327                     new MatchInfoBuilder >> [
1328                         matchField = MatchFieldType.udp_src
1329                         matchValues = #[
1330                             547L
1331                         ]
1332                     ],
1333                     new MatchInfoBuilder >> [
1334                         bigMatchValues = #[
1335                             1085217976614912bi,
1336                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1337                         ]
1338                         matchField = MatchFieldType.metadata
1339                     ]
1340                 ]
1341                 priority = 63010
1342                 tableId = 251 as short
1343             ],
1344             new FlowEntity(123bi) => [
1345                 cookie = 110100480bi
1346                 flowId = "Ingress_ICMPv6_123_987_130_Permit_"
1347                 flowName = "ACL"
1348                 instructionInfoList = #[
1349                     new InstructionInfo(InstructionType.apply_actions, #[
1350                         new ActionNxResubmit(220 as short)
1351                     ])
1352                 ]
1353                 matchInfoList = #[
1354                     new MatchInfoBuilder >> [
1355                         matchField = MatchFieldType.eth_type
1356                         matchValues = #[
1357                             34525L
1358                         ]
1359                     ],
1360                     new MatchInfoBuilder >> [
1361                         matchField = MatchFieldType.ip_proto
1362                         matchValues = #[
1363                             58L
1364                         ]
1365                     ],
1366                     new MatchInfoBuilder >> [
1367                         matchField = MatchFieldType.icmp_v6
1368                         matchValues = #[
1369                             130L,
1370                             0L
1371                         ]
1372                     ],
1373                     new MatchInfoBuilder >> [
1374                         bigMatchValues = #[
1375                             1085217976614912bi,
1376                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1377                         ]
1378                         matchField = MatchFieldType.metadata
1379                     ]
1380                 ]
1381                 priority = 63010
1382                 tableId = 251 as short
1383             ],
1384             new FlowEntity(123bi) => [
1385                 cookie = 110100480bi
1386                 flowId = "Ingress_ICMPv6_123_987_135_Permit_"
1387                 flowName = "ACL"
1388                 instructionInfoList = #[
1389                     new InstructionInfo(InstructionType.apply_actions, #[
1390                         new ActionNxResubmit(220 as short)
1391                     ])
1392                 ]
1393                 matchInfoList = #[
1394                     new MatchInfoBuilder >> [
1395                         matchField = MatchFieldType.eth_type
1396                         matchValues = #[
1397                             34525L
1398                         ]
1399                     ],
1400                     new MatchInfoBuilder >> [
1401                         matchField = MatchFieldType.ip_proto
1402                         matchValues = #[
1403                             58L
1404                         ]
1405                     ],
1406                     new MatchInfoBuilder >> [
1407                         matchField = MatchFieldType.icmp_v6
1408                         matchValues = #[
1409                             135L,
1410                             0L
1411                         ]
1412                     ],
1413                     new MatchInfoBuilder >> [
1414                         bigMatchValues = #[
1415                             1085217976614912bi,
1416                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1417                         ]
1418                         matchField = MatchFieldType.metadata
1419                     ]
1420                 ]
1421                 priority = 63010
1422                 tableId = 251 as short
1423             ],
1424             new FlowEntity(123bi) => [
1425                 cookie = 110100480bi
1426                 flowId = "Ingress_ICMPv6_123_987_136_Permit_"
1427                 flowName = "ACL"
1428                 instructionInfoList = #[
1429                     new InstructionInfo(InstructionType.apply_actions, #[
1430                         new ActionNxResubmit(220 as short)
1431                     ])
1432                 ]
1433                 matchInfoList = #[
1434                     new MatchInfoBuilder >> [
1435                         matchField = MatchFieldType.eth_type
1436                         matchValues = #[
1437                             34525L
1438                         ]
1439                     ],
1440                     new MatchInfoBuilder >> [
1441                         matchField = MatchFieldType.ip_proto
1442                         matchValues = #[
1443                             58L
1444                         ]
1445                     ],
1446                     new MatchInfoBuilder >> [
1447                         matchField = MatchFieldType.icmp_v6
1448                         matchValues = #[
1449                             136L,
1450                             0L
1451                         ]
1452                     ],
1453                     new MatchInfoBuilder >> [
1454                         bigMatchValues = #[
1455                             1085217976614912bi,
1456                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1457                         ]
1458                         matchField = MatchFieldType.metadata
1459                     ]
1460                 ]
1461                 priority = 63010
1462                 tableId = 251 as short
1463             ],
1464             new FlowEntity(123bi) => [
1465                 cookie = 110100480bi
1466                 flowId = "Ingress_ARP_123_987"
1467                 flowName = "ACL"
1468                 instructionInfoList = #[
1469                     new InstructionInfo(InstructionType.apply_actions, #[
1470                         new ActionNxResubmit(220 as short)
1471                     ])
1472                 ]
1473                 matchInfoList = #[
1474                     new MatchInfoBuilder >> [
1475                         matchField = MatchFieldType.eth_type
1476                         matchValues = #[
1477                             2054L
1478                         ]
1479                     ],
1480                     new MatchInfoBuilder >> [
1481                         bigMatchValues = #[
1482                             1085217976614912bi,
1483                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1484                         ]
1485                         matchField = MatchFieldType.metadata
1486                     ]
1487                 ]
1488                 priority = 63010
1489                 tableId = 251 as short
1490             ]
1491         ]
1492     }
1493
1494     static def fixedEgressFlowsPort3 () {
1495         #[
1496             new FlowEntity(123bi) => [
1497                 cookie = 110100480bi
1498                 flowId = "Egress_DHCP_Client_v4123_987__Permit_"
1499                 flowName = "ACL"
1500                 instructionInfoList = #[
1501                     new InstructionInfo(InstructionType.apply_actions, #[
1502                         new ActionNxResubmit(17 as short)
1503                     ])
1504                 ]
1505                 matchInfoList = #[
1506                     new MatchInfoBuilder >> [
1507                         matchField = MatchFieldType.eth_type
1508                         matchValues = #[
1509                             2048L
1510                         ]
1511                     ],
1512                     new MatchInfoBuilder >> [
1513                         matchField = MatchFieldType.ip_proto
1514                         matchValues = #[
1515                             17L
1516                         ]
1517                     ],
1518                     new MatchInfoBuilder >> [
1519                         matchField = MatchFieldType.udp_dst
1520                         matchValues = #[
1521                             67L
1522                         ]
1523                     ],
1524                     new MatchInfoBuilder >> [
1525                         matchField = MatchFieldType.udp_src
1526                         matchValues = #[
1527                             68L
1528                         ]
1529                     ],
1530                     new MatchInfoBuilder >> [
1531                         bigMatchValues = #[
1532                             1085217976614912bi,
1533                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1534                         ]
1535                         matchField = MatchFieldType.metadata
1536                     ]
1537                 ]
1538                 priority = 63010
1539                 tableId = 40 as short
1540             ],
1541             new FlowEntity(123bi) => [
1542                 cookie = 110100480bi
1543                 flowId = "Egress_DHCP_Client_v6_123_987__Permit_"
1544                 flowName = "ACL"
1545                 instructionInfoList = #[
1546                     new InstructionInfo(InstructionType.apply_actions, #[
1547                         new ActionNxResubmit(17 as short)
1548                     ])
1549                 ]
1550                 matchInfoList = #[
1551                     new MatchInfoBuilder >> [
1552                         matchField = MatchFieldType.eth_type
1553                         matchValues = #[
1554                             34525L
1555                         ]
1556                     ],
1557                     new MatchInfoBuilder >> [
1558                         matchField = MatchFieldType.ip_proto
1559                         matchValues = #[
1560                             17L
1561                         ]
1562                     ],
1563                     new MatchInfoBuilder >> [
1564                         matchField = MatchFieldType.udp_dst
1565                         matchValues = #[
1566                             547L
1567                         ]
1568                     ],
1569                     new MatchInfoBuilder >> [
1570                         matchField = MatchFieldType.udp_src
1571                         matchValues = #[
1572                             546L
1573                         ]
1574                     ],
1575                     new MatchInfoBuilder >> [
1576                         bigMatchValues = #[
1577                             1085217976614912bi,
1578                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1579                         ]
1580                         matchField = MatchFieldType.metadata
1581                     ]
1582                 ]
1583                 priority = 63010
1584                 tableId = 40 as short
1585             ],
1586             new FlowEntity(123bi) => [
1587                 cookie = 110100480bi
1588                 flowId = "Egress_DHCP_Server_v4123_987__Drop_"
1589                 flowName = "ACL"
1590                 instructionInfoList = #[
1591                 ]
1592                 matchInfoList = #[
1593                     new MatchInfoBuilder >> [
1594                         matchField = MatchFieldType.eth_type
1595                         matchValues = #[
1596                             2048L
1597                         ]
1598                     ],
1599                     new MatchInfoBuilder >> [
1600                         matchField = MatchFieldType.ip_proto
1601                         matchValues = #[
1602                             17L
1603                         ]
1604                     ],
1605                     new MatchInfoBuilder >> [
1606                         matchField = MatchFieldType.udp_dst
1607                         matchValues = #[
1608                             68L
1609                         ]
1610                     ],
1611                     new MatchInfoBuilder >> [
1612                         matchField = MatchFieldType.udp_src
1613                         matchValues = #[
1614                             67L
1615                         ]
1616                     ],
1617                     new MatchInfoBuilder >> [
1618                         bigMatchValues = #[
1619                             1085217976614912bi,
1620                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1621                         ]
1622                         matchField = MatchFieldType.metadata
1623                     ]
1624                 ]
1625                 priority = 63010
1626                 tableId = 40 as short
1627             ],
1628             new FlowEntity(123bi) => [
1629                 cookie = 110100480bi
1630                 flowId = "Egress_DHCP_Server_v6_123_987__Drop_"
1631                 flowName = "ACL"
1632                 instructionInfoList = #[
1633                 ]
1634                 matchInfoList = #[
1635                     new MatchInfoBuilder >> [
1636                         matchField = MatchFieldType.eth_type
1637                         matchValues = #[
1638                             34525L
1639                         ]
1640                     ],
1641                     new MatchInfoBuilder >> [
1642                         matchField = MatchFieldType.ip_proto
1643                         matchValues = #[
1644                             17L
1645                         ]
1646                     ],
1647                     new MatchInfoBuilder >> [
1648                         matchField = MatchFieldType.udp_dst
1649                         matchValues = #[
1650                             546L
1651                         ]
1652                     ],
1653                     new MatchInfoBuilder >> [
1654                         matchField = MatchFieldType.udp_src
1655                         matchValues = #[
1656                             547L
1657                         ]
1658                     ],
1659                     new MatchInfoBuilder >> [
1660                         bigMatchValues = #[
1661                             1085217976614912bi,
1662                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1663                         ]
1664                         matchField = MatchFieldType.metadata
1665                     ]
1666                 ]
1667                 priority = 63010
1668                 tableId = 40 as short
1669             ],
1670             new FlowEntity(123bi) => [
1671                 cookie = 110100480bi
1672                 flowId = "Egress_ICMPv6_123_987_134_Drop_"
1673                 flowName = "ACL"
1674                 instructionInfoList = #[
1675                 ]
1676                 matchInfoList = #[
1677                     new MatchInfoBuilder >> [
1678                         matchField = MatchFieldType.eth_type
1679                         matchValues = #[
1680                             34525L
1681                         ]
1682                     ],
1683                     new MatchInfoBuilder >> [
1684                         matchField = MatchFieldType.ip_proto
1685                         matchValues = #[
1686                             58L
1687                         ]
1688                     ],
1689                     new MatchInfoBuilder >> [
1690                         matchField = MatchFieldType.icmp_v6
1691                         matchValues = #[
1692                             134L,
1693                             0L
1694                         ]
1695                     ],
1696                     new MatchInfoBuilder >> [
1697                         bigMatchValues = #[
1698                             1085217976614912bi,
1699                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1700                         ]
1701                         matchField = MatchFieldType.metadata
1702                     ]
1703                 ]
1704                 priority = 63020
1705                 tableId = 40 as short
1706             ],
1707             new FlowEntity(123bi) => [
1708                 cookie = 110100480bi
1709                 flowId = "Egress_ICMPv6_123_987_133_Permit_"
1710                 flowName = "ACL"
1711                 instructionInfoList = #[
1712                     new InstructionInfo(InstructionType.apply_actions, #[
1713                         new ActionNxResubmit(17 as short)
1714                     ])
1715                 ]
1716                 matchInfoList = #[
1717                     new MatchInfoBuilder >> [
1718                         matchField = MatchFieldType.eth_type
1719                         matchValues = #[
1720                             34525L
1721                         ]
1722                     ],
1723                     new MatchInfoBuilder >> [
1724                         matchField = MatchFieldType.ip_proto
1725                         matchValues = #[
1726                             58L
1727                         ]
1728                     ],
1729                     new MatchInfoBuilder >> [
1730                         matchField = MatchFieldType.icmp_v6
1731                         matchValues = #[
1732                             133L,
1733                             0L
1734                         ]
1735                     ],
1736                     new MatchInfoBuilder >> [
1737                         bigMatchValues = #[
1738                             1085217976614912bi,
1739                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1740                         ]
1741                         matchField = MatchFieldType.metadata
1742                     ]
1743                 ]
1744                 priority = 63010
1745                 tableId = 40 as short
1746             ],
1747             new FlowEntity(123bi) => [
1748                 cookie = 110100480bi
1749                 flowId = "Egress_ICMPv6_123_987_135_Permit_"
1750                 flowName = "ACL"
1751                 instructionInfoList = #[
1752                     new InstructionInfo(InstructionType.apply_actions, #[
1753                         new ActionNxResubmit(17 as short)
1754                     ])
1755                 ]
1756                 matchInfoList = #[
1757                     new MatchInfoBuilder >> [
1758                         matchField = MatchFieldType.eth_type
1759                         matchValues = #[
1760                             34525L
1761                         ]
1762                     ],
1763                     new MatchInfoBuilder >> [
1764                         matchField = MatchFieldType.ip_proto
1765                         matchValues = #[
1766                             58L
1767                         ]
1768                     ],
1769                     new MatchInfoBuilder >> [
1770                         matchField = MatchFieldType.icmp_v6
1771                         matchValues = #[
1772                             135L,
1773                             0L
1774                         ]
1775                     ],
1776                     new MatchInfoBuilder >> [
1777                         bigMatchValues = #[
1778                             1085217976614912bi,
1779                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1780                         ]
1781                         matchField = MatchFieldType.metadata
1782                     ]
1783                 ]
1784                 priority = 63010
1785                 tableId = 40 as short
1786             ],
1787             new FlowEntity(123bi) => [
1788                 cookie = 110100480bi
1789                 flowId = "Egress_ICMPv6_123_987_136_Permit_"
1790                 flowName = "ACL"
1791                 instructionInfoList = #[
1792                     new InstructionInfo(InstructionType.apply_actions, #[
1793                         new ActionNxResubmit(17 as short)
1794                     ])
1795                 ]
1796                 matchInfoList = #[
1797                     new MatchInfoBuilder >> [
1798                         matchField = MatchFieldType.eth_type
1799                         matchValues = #[
1800                             34525L
1801                         ]
1802                     ],
1803                     new MatchInfoBuilder >> [
1804                         matchField = MatchFieldType.ip_proto
1805                         matchValues = #[
1806                             58L
1807                         ]
1808                     ],
1809                     new MatchInfoBuilder >> [
1810                         matchField = MatchFieldType.icmp_v6
1811                         matchValues = #[
1812                             136L,
1813                             0L
1814                         ]
1815                     ],
1816                     new MatchInfoBuilder >> [
1817                         bigMatchValues = #[
1818                             1085217976614912bi,
1819                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1820                         ]
1821                         matchField = MatchFieldType.metadata
1822                     ]
1823                 ]
1824                 priority = 63010
1825                 tableId = 40 as short
1826             ],
1827             new FlowEntity(123bi) => [
1828                 cookie = 110100480bi
1829                 flowId = "Egress_ARP_123_0D:AA:D8:42:30:F5"
1830                 flowName = "ACL"
1831                 instructionInfoList = #[
1832                     new InstructionInfo(InstructionType.apply_actions, #[
1833                         new ActionNxResubmit(17 as short)
1834                     ])
1835                 ]
1836                 matchInfoList = #[
1837                     new MatchInfoBuilder >> [
1838                         matchField = MatchFieldType.eth_type
1839                         matchValues = #[
1840                             2054L
1841                         ]
1842                     ],
1843                     new MatchInfoBuilder >> [
1844                         matchField = MatchFieldType.arp_sha
1845                         stringMatchValues = #[
1846                             "0D:AA:D8:42:30:F5"
1847                         ]
1848                     ],
1849                     new MatchInfoBuilder >> [
1850                         bigMatchValues = #[
1851                             1085217976614912bi,
1852                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1853                         ]
1854                         matchField = MatchFieldType.metadata
1855                     ]
1856                 ]
1857                 priority = 63010
1858                 tableId = 40 as short
1859             ]
1860         ]
1861     }
1862
1863     static def expectedFlows(String mac) {
1864         // Code auto. generated by https://github.com/vorburger/xtendbeans
1865         #[
1866             new FlowEntity(123bi) => [
1867                 cookie = 110100480bi
1868                 flowId = "Ingress_DHCP_Server_v4123_987__Permit_"
1869                 flowName = "ACL"
1870                 instructionInfoList = #[
1871                     new InstructionInfo(InstructionType.apply_actions, #[
1872                         new ActionNxResubmit(220 as short)
1873                     ])
1874                 ]
1875                 matchInfoList = #[
1876                     new MatchInfoBuilder >> [
1877                         matchField = MatchFieldType.eth_type
1878                         matchValues = #[
1879                             2048L
1880                         ]
1881                     ],
1882                     new MatchInfoBuilder >> [
1883                         matchField = MatchFieldType.ip_proto
1884                         matchValues = #[
1885                             17L
1886                         ]
1887                     ],
1888                     new MatchInfoBuilder >> [
1889                         matchField = MatchFieldType.udp_dst
1890                         matchValues = #[
1891                             68L
1892                         ]
1893                     ],
1894                     new MatchInfoBuilder >> [
1895                         matchField = MatchFieldType.udp_src
1896                         matchValues = #[
1897                             67L
1898                         ]
1899                     ],
1900                     new MatchInfoBuilder >> [
1901                         bigMatchValues = #[
1902                             1085217976614912bi,
1903                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1904                         ]
1905                         matchField = MatchFieldType.metadata
1906                     ]
1907                 ]
1908                 priority = 63010
1909                 tableId = 251 as short
1910             ],
1911             new FlowEntity(123bi) => [
1912                 cookie = 110100480bi
1913                 flowId = "Ingress_DHCP_Server_v6_123_987___Permit_"
1914                 flowName = "ACL"
1915                 instructionInfoList = #[
1916                     new InstructionInfo(InstructionType.apply_actions, #[
1917                         new ActionNxResubmit(220 as short)
1918                     ])
1919                 ]
1920                 matchInfoList = #[
1921                     new MatchInfoBuilder >> [
1922                         matchField = MatchFieldType.eth_type
1923                         matchValues = #[
1924                             34525L
1925                         ]
1926                     ],
1927                     new MatchInfoBuilder >> [
1928                         matchField = MatchFieldType.ip_proto
1929                         matchValues = #[
1930                             17L
1931                         ]
1932                     ],
1933                     new MatchInfoBuilder >> [
1934                         matchField = MatchFieldType.udp_dst
1935                         matchValues = #[
1936                             546L
1937                         ]
1938                     ],
1939                     new MatchInfoBuilder >> [
1940                         matchField = MatchFieldType.udp_src
1941                         matchValues = #[
1942                             547L
1943                         ]
1944                     ],
1945                     new MatchInfoBuilder >> [
1946                         bigMatchValues = #[
1947                             1085217976614912bi,
1948                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1949                         ]
1950                         matchField = MatchFieldType.metadata
1951                     ]
1952                 ]
1953                 priority = 63010
1954                 tableId = 251 as short
1955             ],
1956             new FlowEntity(123bi) => [
1957                 cookie = 110100480bi
1958                 flowId = "Ingress_ICMPv6_123_987_130_Permit_"
1959                 flowName = "ACL"
1960                 instructionInfoList = #[
1961                     new InstructionInfo(InstructionType.apply_actions, #[
1962                         new ActionNxResubmit(220 as short)
1963                     ])
1964                 ]
1965                 matchInfoList = #[
1966                     new MatchInfoBuilder >> [
1967                         matchField = MatchFieldType.eth_type
1968                         matchValues = #[
1969                             34525L
1970                         ]
1971                     ],
1972                     new MatchInfoBuilder >> [
1973                         matchField = MatchFieldType.ip_proto
1974                         matchValues = #[
1975                             58L
1976                         ]
1977                     ],
1978                     new MatchInfoBuilder >> [
1979                         matchField = MatchFieldType.icmp_v6
1980                         matchValues = #[
1981                             130L,
1982                             0L
1983                         ]
1984                     ],
1985                     new MatchInfoBuilder >> [
1986                         bigMatchValues = #[
1987                             1085217976614912bi,
1988                             MetaDataUtil.METADATA_MASK_LPORT_TAG
1989                         ]
1990                         matchField = MatchFieldType.metadata
1991                     ]
1992                 ]
1993                 priority = 63010
1994                 tableId = 251 as short
1995             ],
1996             new FlowEntity(123bi) => [
1997                 cookie = 110100480bi
1998                 flowId = "Ingress_ICMPv6_123_987_135_Permit_"
1999                 flowName = "ACL"
2000                 instructionInfoList = #[
2001                     new InstructionInfo(InstructionType.apply_actions, #[
2002                         new ActionNxResubmit(220 as short)
2003                     ])
2004                 ]
2005                 matchInfoList = #[
2006                     new MatchInfoBuilder >> [
2007                         matchField = MatchFieldType.eth_type
2008                         matchValues = #[
2009                             34525L
2010                         ]
2011                     ],
2012                     new MatchInfoBuilder >> [
2013                         matchField = MatchFieldType.ip_proto
2014                         matchValues = #[
2015                             58L
2016                         ]
2017                     ],
2018                     new MatchInfoBuilder >> [
2019                         matchField = MatchFieldType.icmp_v6
2020                         matchValues = #[
2021                             135L,
2022                             0L
2023                         ]
2024                     ],
2025                     new MatchInfoBuilder >> [
2026                         bigMatchValues = #[
2027                             1085217976614912bi,
2028                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2029                         ]
2030                         matchField = MatchFieldType.metadata
2031                     ]
2032                 ]
2033                 priority = 63010
2034                 tableId = 251 as short
2035             ],
2036             new FlowEntity(123bi) => [
2037                 cookie = 110100480bi
2038                 flowId = "Ingress_ICMPv6_123_987_136_Permit_"
2039                 flowName = "ACL"
2040                 instructionInfoList = #[
2041                     new InstructionInfo(InstructionType.apply_actions, #[
2042                         new ActionNxResubmit(220 as short)
2043                     ])
2044                 ]
2045                 matchInfoList = #[
2046                     new MatchInfoBuilder >> [
2047                         matchField = MatchFieldType.eth_type
2048                         matchValues = #[
2049                             34525L
2050                         ]
2051                     ],
2052                     new MatchInfoBuilder >> [
2053                         matchField = MatchFieldType.ip_proto
2054                         matchValues = #[
2055                             58L
2056                         ]
2057                     ],
2058                     new MatchInfoBuilder >> [
2059                         matchField = MatchFieldType.icmp_v6
2060                         matchValues = #[
2061                             136L,
2062                             0L
2063                         ]
2064                     ],
2065                     new MatchInfoBuilder >> [
2066                         bigMatchValues = #[
2067                             1085217976614912bi,
2068                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2069                         ]
2070                         matchField = MatchFieldType.metadata
2071                     ]
2072                 ]
2073                 priority = 63010
2074                 tableId = 251 as short
2075             ],
2076             new FlowEntity(123bi) => [
2077                 cookie = 110100480bi
2078                 flowId = "Ingress_ARP_123_987"
2079                 flowName = "ACL"
2080                 instructionInfoList = #[
2081                     new InstructionInfo(InstructionType.apply_actions, #[
2082                         new ActionNxResubmit(220 as short)
2083                     ])
2084                 ]
2085                 matchInfoList = #[
2086                     new MatchInfoBuilder >> [
2087                         matchField = MatchFieldType.eth_type
2088                         matchValues = #[
2089                             2054L
2090                         ]
2091                     ],
2092                     new MatchInfoBuilder >> [
2093                         bigMatchValues = #[
2094                             1085217976614912bi,
2095                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2096                         ]
2097                         matchField = MatchFieldType.metadata
2098                     ]
2099                 ]
2100                 priority = 63010
2101                 tableId = 251 as short
2102             ],
2103             new FlowEntity(123bi) => [
2104                 cookie = 110100480bi
2105                 flowId = "Egress_DHCP_Client_v4123_987__Permit_"
2106                 flowName = "ACL"
2107                 instructionInfoList = #[
2108                     new InstructionInfo(InstructionType.apply_actions, #[
2109                         new ActionNxResubmit(17 as short)
2110                     ])
2111                 ]
2112                 matchInfoList = #[
2113                     new MatchInfoBuilder >> [
2114                         matchField = MatchFieldType.eth_type
2115                         matchValues = #[
2116                             2048L
2117                         ]
2118                     ],
2119                     new MatchInfoBuilder >> [
2120                         matchField = MatchFieldType.ip_proto
2121                         matchValues = #[
2122                             17L
2123                         ]
2124                     ],
2125                     new MatchInfoBuilder >> [
2126                         matchField = MatchFieldType.udp_dst
2127                         matchValues = #[
2128                             67L
2129                         ]
2130                     ],
2131                     new MatchInfoBuilder >> [
2132                         matchField = MatchFieldType.udp_src
2133                         matchValues = #[
2134                             68L
2135                         ]
2136                     ],
2137                     new MatchInfoBuilder >> [
2138                         bigMatchValues = #[
2139                             1085217976614912bi,
2140                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2141                         ]
2142                         matchField = MatchFieldType.metadata
2143                     ]
2144                 ]
2145                 priority = 63010
2146                 tableId = 40 as short
2147             ],
2148             new FlowEntity(123bi) => [
2149                 cookie = 110100480bi
2150                 flowId = "Egress_DHCP_Client_v6_123_987__Permit_"
2151                 flowName = "ACL"
2152                 instructionInfoList = #[
2153                     new InstructionInfo(InstructionType.apply_actions, #[
2154                         new ActionNxResubmit(17 as short)
2155                     ])
2156                 ]
2157                 matchInfoList = #[
2158                     new MatchInfoBuilder >> [
2159                         matchField = MatchFieldType.eth_type
2160                         matchValues = #[
2161                             34525L
2162                         ]
2163                     ],
2164                     new MatchInfoBuilder >> [
2165                         matchField = MatchFieldType.ip_proto
2166                         matchValues = #[
2167                             17L
2168                         ]
2169                     ],
2170                     new MatchInfoBuilder >> [
2171                         matchField = MatchFieldType.udp_dst
2172                         matchValues = #[
2173                             547L
2174                         ]
2175                     ],
2176                     new MatchInfoBuilder >> [
2177                         matchField = MatchFieldType.udp_src
2178                         matchValues = #[
2179                             546L
2180                         ]
2181                     ],
2182                     new MatchInfoBuilder >> [
2183                         bigMatchValues = #[
2184                             1085217976614912bi,
2185                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2186                         ]
2187                         matchField = MatchFieldType.metadata
2188                     ]
2189                 ]
2190                 priority = 63010
2191                 tableId = 40 as short
2192             ],
2193             new FlowEntity(123bi) => [
2194                 cookie = 110100480bi
2195                 flowId = "Egress_DHCP_Server_v4123_987__Drop_"
2196                 flowName = "ACL"
2197                 instructionInfoList = #[
2198                 ]
2199                 matchInfoList = #[
2200                     new MatchInfoBuilder >> [
2201                         matchField = MatchFieldType.eth_type
2202                         matchValues = #[
2203                             2048L
2204                         ]
2205                     ],
2206                     new MatchInfoBuilder >> [
2207                         matchField = MatchFieldType.ip_proto
2208                         matchValues = #[
2209                             17L
2210                         ]
2211                     ],
2212                     new MatchInfoBuilder >> [
2213                         matchField = MatchFieldType.udp_dst
2214                         matchValues = #[
2215                             68L
2216                         ]
2217                     ],
2218                     new MatchInfoBuilder >> [
2219                         matchField = MatchFieldType.udp_src
2220                         matchValues = #[
2221                             67L
2222                         ]
2223                     ],
2224                     new MatchInfoBuilder >> [
2225                         bigMatchValues = #[
2226                             1085217976614912bi,
2227                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2228                         ]
2229                         matchField = MatchFieldType.metadata
2230                     ]
2231                 ]
2232                 priority = 63010
2233                 tableId = 40 as short
2234             ],
2235             new FlowEntity(123bi) => [
2236                 cookie = 110100480bi
2237                 flowId = "Egress_DHCP_Server_v6_123_987__Drop_"
2238                 flowName = "ACL"
2239                 instructionInfoList = #[
2240                 ]
2241                 matchInfoList = #[
2242                     new MatchInfoBuilder >> [
2243                         matchField = MatchFieldType.eth_type
2244                         matchValues = #[
2245                             34525L
2246                         ]
2247                     ],
2248                     new MatchInfoBuilder >> [
2249                         matchField = MatchFieldType.ip_proto
2250                         matchValues = #[
2251                             17L
2252                         ]
2253                     ],
2254                     new MatchInfoBuilder >> [
2255                         matchField = MatchFieldType.udp_dst
2256                         matchValues = #[
2257                             546L
2258                         ]
2259                     ],
2260                     new MatchInfoBuilder >> [
2261                         matchField = MatchFieldType.udp_src
2262                         matchValues = #[
2263                             547L
2264                         ]
2265                     ],
2266                     new MatchInfoBuilder >> [
2267                         bigMatchValues = #[
2268                             1085217976614912bi,
2269                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2270                         ]
2271                         matchField = MatchFieldType.metadata
2272                     ]
2273                 ]
2274                 priority = 63010
2275                 tableId = 40 as short
2276             ],
2277             new FlowEntity(123bi) => [
2278                 cookie = 110100480bi
2279                 flowId = "Egress_ICMPv6_123_987_134_Drop_"
2280                 flowName = "ACL"
2281                 instructionInfoList = #[
2282                 ]
2283                 matchInfoList = #[
2284                     new MatchInfoBuilder >> [
2285                         matchField = MatchFieldType.eth_type
2286                         matchValues = #[
2287                             34525L
2288                         ]
2289                     ],
2290                     new MatchInfoBuilder >> [
2291                         matchField = MatchFieldType.ip_proto
2292                         matchValues = #[
2293                             58L
2294                         ]
2295                     ],
2296                     new MatchInfoBuilder >> [
2297                         matchField = MatchFieldType.icmp_v6
2298                         matchValues = #[
2299                             134L,
2300                             0L
2301                         ]
2302                     ],
2303                     new MatchInfoBuilder >> [
2304                         bigMatchValues = #[
2305                             1085217976614912bi,
2306                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2307                         ]
2308                         matchField = MatchFieldType.metadata
2309                     ]
2310                 ]
2311                 priority = 63020
2312                 tableId = 40 as short
2313             ],
2314             new FlowEntity(123bi) => [
2315                 cookie = 110100480bi
2316                 flowId = "Egress_ICMPv6_123_987_133_Permit_"
2317                 flowName = "ACL"
2318                 instructionInfoList = #[
2319                     new InstructionInfo(InstructionType.apply_actions, #[
2320                         new ActionNxResubmit(17 as short)
2321                     ])
2322                 ]
2323                 matchInfoList = #[
2324                     new MatchInfoBuilder >> [
2325                         matchField = MatchFieldType.eth_type
2326                         matchValues = #[
2327                             34525L
2328                         ]
2329                     ],
2330                     new MatchInfoBuilder >> [
2331                         matchField = MatchFieldType.ip_proto
2332                         matchValues = #[
2333                             58L
2334                         ]
2335                     ],
2336                     new MatchInfoBuilder >> [
2337                         matchField = MatchFieldType.icmp_v6
2338                         matchValues = #[
2339                             133L,
2340                             0L
2341                         ]
2342                     ],
2343                     new MatchInfoBuilder >> [
2344                         bigMatchValues = #[
2345                             1085217976614912bi,
2346                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2347                         ]
2348                         matchField = MatchFieldType.metadata
2349                     ]
2350                 ]
2351                 priority = 63010
2352                 tableId = 40 as short
2353             ],
2354             new FlowEntity(123bi) => [
2355                 cookie = 110100480bi
2356                 flowId = "Egress_ICMPv6_123_987_135_Permit_"
2357                 flowName = "ACL"
2358                 instructionInfoList = #[
2359                     new InstructionInfo(InstructionType.apply_actions, #[
2360                         new ActionNxResubmit(17 as short)
2361                     ])
2362                 ]
2363                 matchInfoList = #[
2364                     new MatchInfoBuilder >> [
2365                         matchField = MatchFieldType.eth_type
2366                         matchValues = #[
2367                             34525L
2368                         ]
2369                     ],
2370                     new MatchInfoBuilder >> [
2371                         matchField = MatchFieldType.ip_proto
2372                         matchValues = #[
2373                             58L
2374                         ]
2375                     ],
2376                     new MatchInfoBuilder >> [
2377                         matchField = MatchFieldType.icmp_v6
2378                         matchValues = #[
2379                             135L,
2380                             0L
2381                         ]
2382                     ],
2383                     new MatchInfoBuilder >> [
2384                         bigMatchValues = #[
2385                             1085217976614912bi,
2386                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2387                         ]
2388                         matchField = MatchFieldType.metadata
2389                     ]
2390                 ]
2391                 priority = 63010
2392                 tableId = 40 as short
2393             ],
2394             new FlowEntity(123bi) => [
2395                 cookie = 110100480bi
2396                 flowId = "Egress_ICMPv6_123_987_136_Permit_"
2397                 flowName = "ACL"
2398                 instructionInfoList = #[
2399                     new InstructionInfo(InstructionType.apply_actions, #[
2400                         new ActionNxResubmit(17 as short)
2401                     ])
2402                 ]
2403                 matchInfoList = #[
2404                     new MatchInfoBuilder >> [
2405                         matchField = MatchFieldType.eth_type
2406                         matchValues = #[
2407                             34525L
2408                         ]
2409                     ],
2410                     new MatchInfoBuilder >> [
2411                         matchField = MatchFieldType.ip_proto
2412                         matchValues = #[
2413                             58L
2414                         ]
2415                     ],
2416                     new MatchInfoBuilder >> [
2417                         matchField = MatchFieldType.icmp_v6
2418                         matchValues = #[
2419                             136L,
2420                             0L
2421                         ]
2422                     ],
2423                     new MatchInfoBuilder >> [
2424                         bigMatchValues = #[
2425                             1085217976614912bi,
2426                             MetaDataUtil.METADATA_MASK_LPORT_TAG
2427                         ]
2428                         matchField = MatchFieldType.metadata
2429                     ]
2430                 ]
2431                 priority = 63010
2432                 tableId = 40 as short
2433             ]
2434         ]
2435     }
2436 }