2 * Copyright (c) 2016 Red Hat, Inc. and others. All rights reserved.
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
8 package org.opendaylight.netvirt.aclservice.tests
10 import org.opendaylight.genius.mdsalutil.actions.ActionNxConntrack
11 import org.opendaylight.genius.mdsalutil.actions.ActionNxResubmit
12 import org.opendaylight.genius.mdsalutil.actions.ActionDrop
13 import org.opendaylight.genius.mdsalutil.FlowEntity
14 import org.opendaylight.genius.mdsalutil.instructions.InstructionApplyActions
15 import org.opendaylight.genius.mdsalutil.matches.MatchEthernetDestination
16 import org.opendaylight.genius.mdsalutil.matches.MatchEthernetSource
17 import org.opendaylight.genius.mdsalutil.matches.MatchEthernetType
18 import org.opendaylight.genius.mdsalutil.matches.MatchIcmpv4
19 import org.opendaylight.genius.mdsalutil.matches.MatchIcmpv6
20 import org.opendaylight.genius.mdsalutil.matches.MatchIpProtocol
21 import org.opendaylight.genius.mdsalutil.matches.MatchIpv4Destination
22 import org.opendaylight.genius.mdsalutil.matches.MatchIpv4Source
23 import org.opendaylight.genius.mdsalutil.matches.MatchUdpDestinationPort
24 import org.opendaylight.genius.mdsalutil.matches.MatchUdpSourcePort
25 import org.opendaylight.genius.mdsalutil.nxmatches.NxMatchCtState
26 import org.opendaylight.genius.mdsalutil.nxmatches.NxMatchTcpDestinationPort
27 import org.opendaylight.genius.mdsalutil.nxmatches.NxMatchUdpDestinationPort
28 import org.opendaylight.genius.mdsalutil.MetaDataUtil
29 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
31 import org.opendaylight.genius.mdsalutil.matches.MatchArpSha
32 import org.opendaylight.genius.mdsalutil.NwConstants
33 import org.opendaylight.genius.mdsalutil.nxmatches.NxMatchRegister
34 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.match.rev140421.NxmNxReg6
35 import org.opendaylight.genius.mdsalutil.matches.MatchMetadata
37 class FlowEntryObjectsStateful extends FlowEntryObjectsBase {
39 protected def etherFlows() {
40 fixedIngressFlowsPort1
41 + fixedConntrackIngressFlowsPort1
42 + fixedEgressFlowsPort1
43 + fixedConntrackEgressFlowsPort1
44 + etherEgressFlowsPort1
45 + fixedIngressFlowsPort2
46 + fixedConntrackIngressFlowsPort2
47 + etherIngressFlowsPort2
48 + fixedEgressFlowsPort2
49 + fixedConntrackEgressFlowsPort2
50 + etheregressFlowPort2
53 protected def tcpFlows() {
54 fixedIngressFlowsPort1
55 + fixedConntrackIngressFlowsPort1
57 + fixedEgressFlowsPort1
58 + fixedConntrackEgressFlowsPort1
59 + fixedIngressFlowsPort2
60 + fixedConntrackIngressFlowsPort2
62 + fixedEgressFlowsPort2
63 + fixedConntrackEgressFlowsPort2
67 protected def udpFlows() {
68 fixedIngressFlowsPort1
69 + fixedConntrackIngressFlowsPort1
70 + fixedEgressFlowsPort1
71 + fixedConntrackEgressFlowsPort1
73 + fixedIngressFlowsPort2
74 + fixedConntrackIngressFlowsPort2
75 + udpIngressFlowsPort2
76 + fixedEgressFlowsPort2
77 + fixedConntrackEgressFlowsPort2
81 protected def icmpFlows() {
82 fixedIngressFlowsPort1
83 + fixedConntrackIngressFlowsPort1
84 + icmpIngressFlowsPort1
85 + fixedEgressFlowsPort1
86 + fixedConntrackEgressFlowsPort1
87 + fixedIngressFlowsPort2
88 + fixedConntrackIngressFlowsPort2
89 + icmpIngressFlowsPort2
90 + fixedEgressFlowsPort2
91 + fixedConntrackEgressFlowsPort2
92 + icmpEgressFlowsPort2
95 protected def dstRangeFlows() {
96 fixedIngressFlowsPort1
97 +fixedConntrackIngressFlowsPort1
98 + udpIngressPortRangeFlows
99 + fixedEgressFlowsPort1
100 + fixedConntrackEgressFlowsPort1
101 + tcpEgressRangeFlows
104 protected def dstAllFlows() {
105 fixedIngressFlowsPort1
106 + fixedConntrackIngressFlowsPort1
108 + fixedEgressFlowsPort1
109 + fixedConntrackEgressFlowsPort1
113 protected def icmpFlowsForTwoAclsHavingSameRules() {
114 fixedIngressFlowsPort3
115 + fixedConntrackIngressFlowsPort3
116 + icmpIngressFlowsPort3
117 + fixedEgressFlowsPort3
118 + fixedConntrackEgressFlowsPort3
119 + icmpEgressFlowsPort3
122 protected def aapWithIpv4AllFlows() {
124 + aapIpv4AllFlowsPort2
127 protected def aapIpv4AllFlowsPort2() {
129 new FlowEntity(123bi) => [
131 flowId = "Egress_Fixed_Conntrk_123_0D:AA:D8:42:30:F4_0.0.0.0/0_Recirc"
133 instructionInfoList = #[
134 new InstructionApplyActions(#[
135 new ActionNxConntrack(2, 0, 0, 5000, NwConstants.INGRESS_ACL_REMOTE_ACL_TABLE)
139 new MatchEthernetSource(new MacAddress("0D:AA:D8:42:30:F4")),
140 new MatchEthernetType(2048L)
143 tableId = NwConstants.INGRESS_ACL_TABLE
145 new FlowEntity(123bi) => [
147 flowId = "Ingress_Fixed_Conntrk_123_0D:AA:D8:42:30:F4_0.0.0.0/0_Recirc"
149 instructionInfoList = #[
150 new InstructionApplyActions(#[
151 new ActionNxConntrack(2, 0, 0, 5000, NwConstants.EGRESS_ACL_REMOTE_ACL_TABLE)
155 new MatchEthernetType(2048L),
156 new MatchEthernetDestination(new MacAddress("0D:AA:D8:42:30:F4")),
157 new MatchEthernetType(2048L)
160 tableId = NwConstants.EGRESS_ACL_TABLE
162 new FlowEntity(123bi) => [
164 flowId = "Egress_ARP_123_987_0D:AA:D8:42:30:F4"
166 instructionInfoList = #[
167 new InstructionApplyActions(#[
168 new ActionNxResubmit(17 as short)
172 new MatchEthernetType(2054L),
173 new MatchArpSha(new MacAddress("0D:AA:D8:42:30:F4")),
174 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
177 tableId = NwConstants.INGRESS_ACL_TABLE
182 protected def fixedConntrackIngressFlowsPort1() {
184 new FlowEntity(123bi) => [
186 flowId = "Ingress_Fixed_Conntrk_123_0D:AA:D8:42:30:F3_10.0.0.1/32_Recirc"
188 instructionInfoList = #[
189 new InstructionApplyActions(#[
190 new ActionNxConntrack(2, 0, 0, 5000, 242 as short)
194 new MatchEthernetType(2048L),
195 new MatchEthernetDestination(new MacAddress("0D:AA:D8:42:30:F3")),
196 new MatchEthernetType(2048L),
197 new MatchIpv4Destination("10.0.0.1", "32")
200 tableId = 241 as short
202 new FlowEntity(123bi) => [
204 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_New"
206 instructionInfoList = #[
207 new InstructionApplyActions(#[
212 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
213 new NxMatchCtState(33L, 33L)
216 tableId = 213 as short
218 new FlowEntity(123bi) => [
220 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
222 instructionInfoList = #[
223 new InstructionApplyActions(#[
228 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
229 new NxMatchCtState(48L, 48L)
232 tableId = 213 as short
237 protected def etherIngressFlowsPort2() {
239 new FlowEntity(123bi) => [
241 flowId = "ETHERnull_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F3_10.0.0.1/32"
242 +"Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
244 instructionInfoList = #[
245 new InstructionApplyActions(#[
246 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
247 new ActionNxResubmit(220 as short)
251 new MatchEthernetType(2048L),
252 new MatchIpv4Source("10.0.0.1", "32"),
253 new MatchEthernetType(2048L),
254 new MatchEthernetType(2048L),
255 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
256 new NxMatchCtState(33L, 33L)
258 priority = IdHelper.getFlowPriority(flowId)
259 tableId = 243 as short
261 new FlowEntity(123bi) => [
263 flowId = "ETHERnull_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F4_10.0.0.2/32"
264 +"Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
266 instructionInfoList = #[
267 new InstructionApplyActions(#[
268 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
269 new ActionNxResubmit(220 as short)
273 new MatchEthernetType(2048L),
274 new MatchIpv4Source("10.0.0.2", "32"),
275 new MatchEthernetType(2048L),
276 new MatchEthernetType(2048L),
277 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
278 new NxMatchCtState(33L, 33L)
280 priority = IdHelper.getFlowPriority(flowId)
281 tableId = 243 as short
286 protected def fixedConntrackEgressFlowsPort1() {
288 new FlowEntity(123bi) => [
290 flowId = "Egress_Fixed_Conntrk_123_0D:AA:D8:42:30:F3_10.0.0.1/32_Recirc"
292 instructionInfoList = #[
293 new InstructionApplyActions(#[
294 new ActionNxConntrack(2, 0, 0, 5000, 212 as short)
298 new MatchEthernetSource(new MacAddress("0D:AA:D8:42:30:F3")),
299 new MatchEthernetType(2048L),
300 new MatchIpv4Source("10.0.0.1", "32")
303 tableId = 211 as short
305 new FlowEntity(123bi) => [
307 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_New"
309 instructionInfoList = #[
310 new InstructionApplyActions(#[
315 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
316 new NxMatchCtState(33L, 33L)
319 tableId = 243 as short
321 new FlowEntity(123bi) => [
323 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
325 instructionInfoList = #[
326 new InstructionApplyActions(#[
331 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
332 new NxMatchCtState(48L, 48L)
335 tableId = 243 as short
340 protected def fixedConntrackIngressFlowsPort2() {
342 new FlowEntity(123bi) => [
344 flowId = "Ingress_Fixed_Conntrk_123_0D:AA:D8:42:30:F4_10.0.0.2/32_Recirc"
346 instructionInfoList = #[
347 new InstructionApplyActions(#[
348 new ActionNxConntrack(2, 0, 0, 5000, 242 as short)
352 new MatchEthernetType(2048L),
353 new MatchEthernetDestination(new MacAddress("0D:AA:D8:42:30:F4")),
354 new MatchEthernetType(2048L),
355 new MatchIpv4Destination("10.0.0.2", "32")
358 tableId = 241 as short
360 new FlowEntity(123bi) => [
362 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_New"
364 instructionInfoList = #[
365 new InstructionApplyActions(#[
370 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
371 new NxMatchCtState(33L, 33L)
374 tableId = 213 as short
376 new FlowEntity(123bi) => [
378 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
380 instructionInfoList = #[
381 new InstructionApplyActions(#[
386 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
387 new NxMatchCtState(48L, 48L)
390 tableId = 213 as short
395 protected def fixedConntrackEgressFlowsPort2() {
397 new FlowEntity(123bi) => [
399 flowId = "Egress_Fixed_Conntrk_123_0D:AA:D8:42:30:F4_10.0.0.2/32_Recirc"
401 instructionInfoList = #[
402 new InstructionApplyActions(#[
403 new ActionNxConntrack(2, 0, 0, 5000, 212 as short)
407 new MatchEthernetSource(new MacAddress("0D:AA:D8:42:30:F4")),
408 new MatchEthernetType(2048L),
409 new MatchIpv4Source("10.0.0.2", "32")
412 tableId = 211 as short
414 new FlowEntity(123bi) => [
416 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_New"
418 instructionInfoList = #[
419 new InstructionApplyActions(#[
424 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
425 new NxMatchCtState(33L, 33L)
428 tableId = 243 as short
430 new FlowEntity(123bi) => [
432 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
434 instructionInfoList = #[
435 new InstructionApplyActions(#[
440 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
441 new NxMatchCtState(48L, 48L)
444 tableId = 243 as short
449 protected def fixedConntrackIngressFlowsPort3() {
451 new FlowEntity(123bi) => [
453 flowId = "Ingress_Fixed_Conntrk_123_0D:AA:D8:42:30:F5_10.0.0.3/32_Recirc"
455 instructionInfoList = #[
456 new InstructionApplyActions(#[
457 new ActionNxConntrack(2, 0, 0, 5000, 242 as short)
461 new MatchEthernetType(2048L),
462 new MatchEthernetDestination(new MacAddress("0D:AA:D8:42:30:F5")),
463 new MatchEthernetType(2048L),
464 new MatchIpv4Destination("10.0.0.3", "32")
467 tableId = 241 as short
469 new FlowEntity(123bi) => [
471 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_New"
473 instructionInfoList = #[
474 new InstructionApplyActions(#[
479 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
480 new NxMatchCtState(33L, 33L)
483 tableId = 213 as short
485 new FlowEntity(123bi) => [
487 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
489 instructionInfoList = #[
490 new InstructionApplyActions(#[
495 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
496 new NxMatchCtState(48L, 48L)
499 tableId = 213 as short
504 protected def fixedConntrackEgressFlowsPort3() {
506 new FlowEntity(123bi) => [
508 flowId = "Egress_Fixed_Conntrk_123_0D:AA:D8:42:30:F5_10.0.0.3/32_Recirc"
510 instructionInfoList = #[
511 new InstructionApplyActions(#[
512 new ActionNxConntrack(2, 0, 0, 5000, 212 as short)
516 new MatchEthernetSource(new MacAddress("0D:AA:D8:42:30:F5")),
517 new MatchEthernetType(2048L),
518 new MatchIpv4Source("10.0.0.3", "32")
521 tableId = 211 as short
523 new FlowEntity(123bi) => [
525 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_New"
527 instructionInfoList = #[
528 new InstructionApplyActions(#[
533 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
534 new NxMatchCtState(33L, 33L)
537 tableId = 243 as short
539 new FlowEntity(123bi) => [
541 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
543 instructionInfoList = #[
544 new InstructionApplyActions(#[
549 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
550 new NxMatchCtState(48L, 48L)
553 tableId = 243 as short
558 static def fixedConntrackIngressFlowsPort4() {
560 new FlowEntity(123bi) => [
562 flowId = "Ingress_Fixed_Conntrk_123_0D:AA:D8:42:30:F6_10.0.0.4/32_Recirc"
564 instructionInfoList = #[
565 new InstructionApplyActions(#[
566 new ActionNxConntrack(2, 0, 0, 5000, 242 as short)
570 new MatchEthernetType(2048L),
571 new MatchEthernetDestination(new MacAddress("0D:AA:D8:42:30:F6")),
572 new MatchEthernetType(2048L),
573 new MatchIpv4Destination("10.0.0.4", "32")
576 tableId = 241 as short
578 new FlowEntity(123bi) => [
580 flowId = "Ingress_Fixed_Conntrk_123_0D:AA:D8:42:30:F6_0.0.0.0/0_Recirc"
582 instructionInfoList = #[
583 new InstructionApplyActions(#[
584 new ActionNxConntrack(2, 0, 0, 5000, 242 as short)
588 new MatchEthernetType(2048L),
589 new MatchEthernetDestination(new MacAddress("0D:AA:D8:42:30:F6")),
590 new MatchEthernetType(2048L)
593 tableId = 241 as short
595 new FlowEntity(123bi) => [
597 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_New"
599 instructionInfoList = #[
600 new InstructionApplyActions(#[
605 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
606 new NxMatchCtState(33L, 33L)
609 tableId = 213 as short
611 new FlowEntity(123bi) => [
613 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
615 instructionInfoList = #[
616 new InstructionApplyActions(#[
621 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
622 new NxMatchCtState(48L, 48L)
625 tableId = 213 as short
630 static def fixedConntrackEgressFlowsPort4() {
632 new FlowEntity(123bi) => [
634 flowId = "Egress_Fixed_Conntrk_123_0D:AA:D8:42:30:F6_10.0.0.4/32_Recirc"
636 instructionInfoList = #[
637 new InstructionApplyActions(#[
638 new ActionNxConntrack(2, 0, 0, 5000, 212 as short)
642 new MatchEthernetSource(new MacAddress("0D:AA:D8:42:30:F6")),
643 new MatchEthernetType(2048L),
644 new MatchIpv4Source("10.0.0.4", "32")
647 tableId = 211 as short
649 new FlowEntity(123bi) => [
651 flowId = "Egress_Fixed_Conntrk_123_0D:AA:D8:42:30:F6_0.0.0.0/0_Recirc"
653 instructionInfoList = #[
654 new InstructionApplyActions(#[
655 new ActionNxConntrack(2, 0, 0, 5000, 212 as short)
659 new MatchEthernetSource(new MacAddress("0D:AA:D8:42:30:F6")),
660 new MatchEthernetType(2048L)
663 tableId = 211 as short
665 new FlowEntity(123bi) => [
667 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_New"
669 instructionInfoList = #[
670 new InstructionApplyActions(#[
675 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
676 new NxMatchCtState(33L, 33L)
679 tableId = 243 as short
681 new FlowEntity(123bi) => [
683 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
685 instructionInfoList = #[
686 new InstructionApplyActions(#[
691 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
692 new NxMatchCtState(48L, 48L)
695 tableId = 243 as short
700 protected def etherEgressFlowsPort1() {
702 new FlowEntity(123bi) => [
704 flowId = "ETHERnullEgress98785cc3048-abc3-43cc-89b3-377341426ac6"
706 instructionInfoList = #[
707 new InstructionApplyActions(#[
708 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
709 new ActionNxResubmit(17 as short)
713 new MatchEthernetType(2048L),
714 new MatchEthernetType(2048L),
715 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
716 new NxMatchCtState(33L, 33L)
718 priority = IdHelper.getFlowPriority(flowId)
719 tableId = 213 as short
724 protected def etheregressFlowPort2() {
726 new FlowEntity(123bi) => [
728 flowId = "ETHERnullEgress98785cc3048-abc3-43cc-89b3-377341426ac6"
730 instructionInfoList = #[
731 new InstructionApplyActions(#[
732 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
733 new ActionNxResubmit(17 as short)
737 new MatchEthernetType(2048L),
738 new MatchEthernetType(2048L),
739 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
740 new NxMatchCtState(33L, 33L)
742 priority = IdHelper.getFlowPriority(flowId)
743 tableId = 213 as short
748 protected def tcpIngressFlowPort1() {
750 new FlowEntity(123bi) => [
752 flowId = "TCP_DESTINATION_80_65535Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
754 instructionInfoList = #[
755 new InstructionApplyActions(#[
756 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
757 new ActionNxResubmit(220 as short)
761 new MatchEthernetType(2048L),
762 new MatchEthernetType(2048L),
763 new NxMatchTcpDestinationPort(80, 65535),
764 new MatchIpProtocol(6 as short),
765 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
766 new NxMatchCtState(33L, 33L)
768 priority = IdHelper.getFlowPriority(flowId)
769 tableId = 243 as short
774 protected def tcpIngressFlowPort2() {
776 new FlowEntity(123bi) => [
778 flowId = "TCP_DESTINATION_80_65535Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
780 instructionInfoList = #[
781 new InstructionApplyActions(#[
782 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
783 new ActionNxResubmit(220 as short)
787 new MatchEthernetType(2048L),
788 new MatchEthernetType(2048L),
789 new NxMatchTcpDestinationPort(80, 65535),
790 new MatchIpProtocol(6 as short),
791 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
792 new NxMatchCtState(33L, 33L)
794 priority = IdHelper.getFlowPriority(flowId)
795 tableId = 243 as short
800 protected def tcpEgressFlowPort2() {
802 new FlowEntity(123bi) => [
804 flowId = "TCP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F3_10.0.0.1/32"
805 +"Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
807 instructionInfoList = #[
808 new InstructionApplyActions(#[
809 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
810 new ActionNxResubmit(17 as short)
814 new MatchEthernetType(2048L),
815 new MatchIpv4Destination("10.0.0.1", "32"),
816 new MatchEthernetType(2048L),
817 new MatchEthernetType(2048L),
818 new NxMatchTcpDestinationPort(80, 65535),
819 new MatchIpProtocol(6 as short),
820 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
821 new NxMatchCtState(33L, 33L)
823 priority = IdHelper.getFlowPriority(flowId)
824 tableId = 213 as short
826 new FlowEntity(123bi) => [
828 flowId = "TCP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F4_10.0.0.2/32Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
830 instructionInfoList = #[
831 new InstructionApplyActions(#[
832 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
833 new ActionNxResubmit(17 as short)
837 new MatchEthernetType(2048L),
838 new MatchIpv4Destination("10.0.0.2", "32"),
839 new MatchEthernetType(2048L),
840 new MatchEthernetType(2048L),
841 new NxMatchTcpDestinationPort(80, 65535),
842 new MatchIpProtocol(6 as short),
843 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
844 new NxMatchCtState(33L, 33L)
846 priority = IdHelper.getFlowPriority(flowId)
847 tableId = 213 as short
852 protected def udpEgressFlowsPort1() {
854 new FlowEntity(123bi) => [
856 flowId = "UDP_DESTINATION_80_65535Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
858 instructionInfoList = #[
859 new InstructionApplyActions(#[
860 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
861 new ActionNxResubmit(17 as short)
865 new MatchEthernetType(2048L),
866 new MatchEthernetType(2048L),
867 new NxMatchUdpDestinationPort(80, 65535),
868 new MatchIpProtocol(17 as short),
869 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
870 new NxMatchCtState(33L, 33L)
872 priority = IdHelper.getFlowPriority(flowId)
873 tableId = 213 as short
878 protected def udpIngressFlowsPort2() {
880 new FlowEntity(123bi) => [
882 flowId = "UDP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F3_10.0.0.1/32"
883 +"Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
885 instructionInfoList = #[
886 new InstructionApplyActions(#[
887 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
888 new ActionNxResubmit(220 as short)
892 new MatchEthernetType(2048L),
893 new MatchIpv4Source("10.0.0.1", "32"),
894 new MatchEthernetType(2048L),
895 new MatchEthernetType(2048L),
896 new NxMatchUdpDestinationPort(80, 65535),
897 new MatchIpProtocol(17 as short),
898 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
899 new NxMatchCtState(33L, 33L)
901 priority = IdHelper.getFlowPriority(flowId)
902 tableId = 243 as short
904 new FlowEntity(123bi) => [
906 flowId = "UDP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F4_10.0.0.2/32Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
908 instructionInfoList = #[
909 new InstructionApplyActions(#[
910 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
911 new ActionNxResubmit(220 as short)
915 new MatchEthernetType(2048L),
916 new MatchIpv4Source("10.0.0.2", "32"),
917 new MatchEthernetType(2048L),
918 new MatchEthernetType(2048L),
919 new NxMatchUdpDestinationPort(80, 65535),
920 new MatchIpProtocol(17 as short),
921 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
922 new NxMatchCtState(33L, 33L)
924 priority = IdHelper.getFlowPriority(flowId)
925 tableId = 243 as short
930 protected def udpEgressFlowsPort2() {
932 new FlowEntity(123bi) => [
934 flowId = "UDP_DESTINATION_80_65535Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
936 instructionInfoList = #[
937 new InstructionApplyActions(#[
938 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
939 new ActionNxResubmit(17 as short)
943 new MatchEthernetType(2048L),
944 new MatchEthernetType(2048L),
945 new NxMatchUdpDestinationPort(80, 65535),
946 new MatchIpProtocol(17 as short),
947 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
948 new NxMatchCtState(33L, 33L)
950 priority = IdHelper.getFlowPriority(flowId)
951 tableId = 213 as short
956 protected def icmpIngressFlowsPort1() {
958 new FlowEntity(123bi) => [
960 flowId = "ICMP_V4_DESTINATION_23_Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
962 instructionInfoList = #[
963 new InstructionApplyActions(#[
964 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
965 new ActionNxResubmit(220 as short)
969 new MatchEthernetType(2048L),
970 new MatchEthernetType(2048L),
971 new MatchIcmpv4(2 as short, 3 as short),
972 new MatchIpProtocol(1 as short),
973 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
974 new NxMatchCtState(33L, 33L)
976 priority = IdHelper.getFlowPriority(flowId)
977 tableId = 243 as short
982 protected def icmpIngressFlowsPort2() {
984 new FlowEntity(123bi) => [
986 flowId = "ICMP_V4_DESTINATION_23_Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
988 instructionInfoList = #[
989 new InstructionApplyActions(#[
990 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
991 new ActionNxResubmit(220 as short)
995 new MatchEthernetType(2048L),
996 new MatchEthernetType(2048L),
997 new MatchIcmpv4(2 as short, 3 as short),
998 new MatchIpProtocol(1 as short),
999 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
1000 new NxMatchCtState(33L, 33L)
1002 priority = IdHelper.getFlowPriority(flowId)
1003 tableId = 243 as short
1008 protected def icmpEgressFlowsPort2() {
1010 new FlowEntity(123bi) => [
1011 cookie = 110100480bi
1012 flowId = "ICMP_V4_DESTINATION_23__ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F3_10.0.0.1/32"
1013 +"Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1015 instructionInfoList = #[
1016 new InstructionApplyActions(#[
1017 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1018 new ActionNxResubmit(17 as short)
1022 new MatchEthernetType(2048L),
1023 new MatchIpv4Destination("10.0.0.1", "32"),
1024 new MatchEthernetType(2048L),
1025 new MatchEthernetType(2048L),
1026 new MatchIcmpv4(2 as short, 3 as short),
1027 new MatchIpProtocol(1 as short),
1028 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1029 new NxMatchCtState(33L, 33L)
1031 priority = IdHelper.getFlowPriority(flowId)
1032 tableId = 213 as short
1034 new FlowEntity(123bi) => [
1035 cookie = 110100480bi
1036 flowId = "ICMP_V4_DESTINATION_23__ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F4_10.0.0.2/32"
1037 +"Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1039 instructionInfoList = #[
1040 new InstructionApplyActions(#[
1041 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1042 new ActionNxResubmit(17 as short)
1046 new MatchEthernetType(2048L),
1047 new MatchIpv4Destination("10.0.0.2", "32"),
1048 new MatchEthernetType(2048L),
1049 new MatchEthernetType(2048L),
1050 new MatchIcmpv4(2 as short, 3 as short),
1051 new MatchIpProtocol(1 as short),
1052 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1053 new NxMatchCtState(33L, 33L)
1055 priority = IdHelper.getFlowPriority(flowId)
1056 tableId = 213 as short
1061 protected def udpIngressPortRangeFlows() {
1063 new FlowEntity(123bi) => [
1064 cookie = 110100480bi
1065 flowId = "UDP_DESTINATION_2000_65532Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
1067 instructionInfoList = #[
1068 new InstructionApplyActions(#[
1069 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1070 new ActionNxResubmit(220 as short)
1074 new MatchEthernetType(2048L),
1075 new MatchEthernetType(2048L),
1076 new NxMatchUdpDestinationPort(2000, 65532),
1077 new MatchIpProtocol(17 as short),
1078 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
1079 new NxMatchCtState(33L, 33L)
1081 priority = IdHelper.getFlowPriority(flowId)
1082 tableId = 243 as short
1087 protected def tcpEgressRangeFlows() {
1089 new FlowEntity(123bi) => [
1090 cookie = 110100480bi
1091 flowId = "TCP_DESTINATION_776_65534Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1093 instructionInfoList = #[
1094 new InstructionApplyActions(#[
1095 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1096 new ActionNxResubmit(17 as short)
1100 new MatchEthernetType(2048L),
1101 new MatchEthernetType(2048L),
1102 new NxMatchTcpDestinationPort(776, 65534),
1103 new MatchIpProtocol(6 as short),
1104 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1105 new NxMatchCtState(33L, 33L)
1107 priority = IdHelper.getFlowPriority(flowId)
1108 tableId = 213 as short
1110 new FlowEntity(123bi) => [
1111 cookie = 110100480bi
1112 flowId = "TCP_DESTINATION_512_65280Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1114 instructionInfoList = #[
1115 new InstructionApplyActions(#[
1116 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1117 new ActionNxResubmit(17 as short)
1121 new MatchEthernetType(2048L),
1122 new MatchEthernetType(2048L),
1123 new NxMatchTcpDestinationPort(512, 65280),
1124 new MatchIpProtocol(6 as short),
1125 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1126 new NxMatchCtState(33L, 33L)
1128 priority = IdHelper.getFlowPriority(flowId)
1129 tableId = 213 as short
1131 new FlowEntity(123bi) => [
1132 cookie = 110100480bi
1133 flowId = "TCP_DESTINATION_334_65534Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1135 instructionInfoList = #[
1136 new InstructionApplyActions(#[
1137 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1138 new ActionNxResubmit(17 as short)
1142 new MatchEthernetType(2048L),
1143 new MatchEthernetType(2048L),
1144 new NxMatchTcpDestinationPort(334, 65534),
1145 new MatchIpProtocol(6 as short),
1146 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1147 new NxMatchCtState(33L, 33L)
1149 priority = IdHelper.getFlowPriority(flowId)
1150 tableId = 213 as short
1152 new FlowEntity(123bi) => [
1153 cookie = 110100480bi
1154 flowId = "TCP_DESTINATION_333_65535Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1156 instructionInfoList = #[
1157 new InstructionApplyActions(#[
1158 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1159 new ActionNxResubmit(17 as short)
1163 new MatchEthernetType(2048L),
1164 new MatchEthernetType(2048L),
1165 new NxMatchTcpDestinationPort(333, 65535),
1166 new MatchIpProtocol(6 as short),
1167 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1168 new NxMatchCtState(33L, 33L)
1170 priority = IdHelper.getFlowPriority(flowId)
1171 tableId = 213 as short
1173 new FlowEntity(123bi) => [
1174 cookie = 110100480bi
1175 flowId = "TCP_DESTINATION_336_65520Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1177 instructionInfoList = #[
1178 new InstructionApplyActions(#[
1179 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1180 new ActionNxResubmit(17 as short)
1184 new MatchEthernetType(2048L),
1185 new MatchEthernetType(2048L),
1186 new NxMatchTcpDestinationPort(336, 65520),
1187 new MatchIpProtocol(6 as short),
1188 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1189 new NxMatchCtState(33L, 33L)
1191 priority = IdHelper.getFlowPriority(flowId)
1192 tableId = 213 as short
1194 new FlowEntity(123bi) => [
1195 cookie = 110100480bi
1196 flowId = "TCP_DESTINATION_352_65504Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1198 instructionInfoList = #[
1199 new InstructionApplyActions(#[
1200 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1201 new ActionNxResubmit(17 as short)
1205 new MatchEthernetType(2048L),
1206 new MatchEthernetType(2048L),
1207 new NxMatchTcpDestinationPort(352, 65504),
1208 new MatchIpProtocol(6 as short),
1209 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1210 new NxMatchCtState(33L, 33L)
1212 priority = IdHelper.getFlowPriority(flowId)
1213 tableId = 213 as short
1215 new FlowEntity(123bi) => [
1216 cookie = 110100480bi
1217 flowId = "TCP_DESTINATION_384_65408Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1219 instructionInfoList = #[
1220 new InstructionApplyActions(#[
1221 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1222 new ActionNxResubmit(17 as short)
1226 new MatchEthernetType(2048L),
1227 new MatchEthernetType(2048L),
1228 new NxMatchTcpDestinationPort(384, 65408),
1229 new MatchIpProtocol(6 as short),
1230 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1231 new NxMatchCtState(33L, 33L)
1233 priority = IdHelper.getFlowPriority(flowId)
1234 tableId = 213 as short
1236 new FlowEntity(123bi) => [
1237 cookie = 110100480bi
1238 flowId = "TCP_DESTINATION_768_65528Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1240 instructionInfoList = #[
1241 new InstructionApplyActions(#[
1242 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1243 new ActionNxResubmit(17 as short)
1247 new MatchEthernetType(2048L),
1248 new MatchEthernetType(2048L),
1249 new NxMatchTcpDestinationPort(768, 65528),
1250 new MatchIpProtocol(6 as short),
1251 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1252 new NxMatchCtState(33L, 33L)
1254 priority = IdHelper.getFlowPriority(flowId)
1255 tableId = 213 as short
1260 protected def udpIngressAllFlows() {
1262 new FlowEntity(123bi) => [
1263 cookie = 110100480bi
1264 flowId = "UDP_DESTINATION_1_0Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
1266 instructionInfoList = #[
1267 new InstructionApplyActions(#[
1268 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1269 new ActionNxResubmit(220 as short)
1273 new MatchEthernetType(2048L),
1274 new MatchEthernetType(2048L),
1275 new MatchIpProtocol(17 as short),
1276 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
1277 new NxMatchCtState(33L, 33L)
1279 priority = IdHelper.getFlowPriority(flowId)
1280 tableId = 243 as short
1285 protected def tcpEgressAllFlows() {
1287 new FlowEntity(123bi) => [
1288 cookie = 110100480bi
1289 flowId = "TCP_DESTINATION_1_0Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1291 instructionInfoList = #[
1292 new InstructionApplyActions(#[
1293 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1294 new ActionNxResubmit(17 as short)
1298 new MatchEthernetType(2048L),
1299 new MatchEthernetType(2048L),
1300 new MatchIpProtocol(6 as short),
1301 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1302 new NxMatchCtState(33L, 33L)
1304 priority = IdHelper.getFlowPriority(flowId)
1305 tableId = 213 as short
1311 protected def icmpIngressFlowsPort3() {
1313 new FlowEntity(123bi) => [
1314 cookie = 110100480bi
1315 flowId = "ICMP_V4_DESTINATION_23_Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
1317 instructionInfoList = #[
1318 new InstructionApplyActions(#[
1319 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1320 new ActionNxResubmit(220 as short)
1324 new MatchEthernetType(2048L),
1325 new MatchEthernetType(2048L),
1326 new MatchIcmpv4(2 as short, 3 as short),
1327 new MatchIpProtocol(1 as short),
1328 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
1329 new NxMatchCtState(33L, 33L)
1331 priority = IdHelper.getFlowPriority(flowId)
1332 tableId = 243 as short
1334 new FlowEntity(123bi) => [
1335 cookie = 110100480bi
1336 flowId = "ICMP_V4_DESTINATION_23_Ingress98785cc3048-abc3-43cc-89b3-377341426a22"
1338 instructionInfoList = #[
1339 new InstructionApplyActions(#[
1340 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1341 new ActionNxResubmit(220 as short)
1345 new MatchEthernetType(2048L),
1346 new MatchEthernetType(2048L),
1347 new MatchIcmpv4(2 as short, 3 as short),
1348 new MatchIpProtocol(1 as short),
1349 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
1350 new NxMatchCtState(33L, 33L)
1352 priority = IdHelper.getFlowPriority(flowId)
1353 tableId = 243 as short
1358 protected def icmpEgressFlowsPort3() {
1360 new FlowEntity(123bi) => [
1361 cookie = 110100480bi
1362 flowId = "ICMP_V4_DESTINATION_23_Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
1364 instructionInfoList = #[
1365 new InstructionApplyActions(#[
1366 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1367 new ActionNxResubmit(17 as short)
1371 new MatchEthernetType(2048L),
1372 new MatchEthernetType(2048L),
1373 new MatchIcmpv4(2 as short, 3 as short),
1374 new MatchIpProtocol(1 as short),
1375 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1376 new NxMatchCtState(33L, 33L)
1378 priority = IdHelper.getFlowPriority(flowId)
1379 tableId = 213 as short
1381 new FlowEntity(123bi) => [
1382 cookie = 110100480bi
1383 flowId = "ICMP_V4_DESTINATION_23_Egress98785cc3048-abc3-43cc-89b3-377341426a21"
1385 instructionInfoList = #[
1386 new InstructionApplyActions(#[
1387 new ActionNxConntrack(2, 1, 0, 5000, 255 as short),
1388 new ActionNxResubmit(17 as short)
1392 new MatchEthernetType(2048L),
1393 new MatchEthernetType(2048L),
1394 new MatchIcmpv4(2 as short, 3 as short),
1395 new MatchIpProtocol(1 as short),
1396 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1397 new NxMatchCtState(33L, 33L)
1399 priority = IdHelper.getFlowPriority(flowId)
1400 tableId = 213 as short
1405 override def expectedFlows(String mac) {
1406 // Code auto. generated by https://github.com/vorburger/xtendbeans
1408 new FlowEntity(123bi) => [
1409 cookie = 110100480bi
1410 flowId = "Ingress_DHCP_Server_v4123_987__Permit_"
1412 instructionInfoList = #[
1413 new InstructionApplyActions(#[
1414 new ActionNxResubmit(220 as short)
1418 new MatchEthernetType(2048L),
1419 new MatchIpProtocol(17 as short),
1420 new MatchUdpDestinationPort(68 as short),
1421 new MatchUdpSourcePort(67 as short),
1422 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L)
1425 tableId = 241 as short
1427 new FlowEntity(123bi) => [
1428 cookie = 110100480bi
1429 flowId = "Ingress_DHCP_Server_v6_123_987___Permit_"
1431 instructionInfoList = #[
1432 new InstructionApplyActions(#[
1433 new ActionNxResubmit(220 as short)
1437 new MatchEthernetType(34525L),
1438 new MatchIpProtocol(17 as short),
1439 new MatchUdpDestinationPort(546 as short),
1440 new MatchUdpSourcePort(547 as short),
1441 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L)
1444 tableId = 241 as short
1446 new FlowEntity(123bi) => [
1447 cookie = 110100480bi
1448 flowId = "Ingress_ICMPv6_123_987_130_Permit_"
1450 instructionInfoList = #[
1451 new InstructionApplyActions(#[
1452 new ActionNxResubmit(220 as short)
1456 new MatchEthernetType(34525L),
1457 new MatchIpProtocol(58 as short),
1458 new MatchIcmpv6(130 as short, 0 as short),
1459 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L)
1462 tableId = 241 as short
1464 new FlowEntity(123bi) => [
1465 cookie = 110100480bi
1466 flowId = "Ingress_ICMPv6_123_987_135_Permit_"
1468 instructionInfoList = #[
1469 new InstructionApplyActions(#[
1470 new ActionNxResubmit(220 as short)
1474 new MatchEthernetType(34525L),
1475 new MatchIpProtocol(58 as short),
1476 new MatchIcmpv6(135 as short, 0 as short),
1477 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L)
1480 tableId = 241 as short
1482 new FlowEntity(123bi) => [
1483 cookie = 110100480bi
1484 flowId = "Ingress_ICMPv6_123_987_136_Permit_"
1486 instructionInfoList = #[
1487 new InstructionApplyActions(#[
1488 new ActionNxResubmit(220 as short)
1492 new MatchEthernetType(34525L),
1493 new MatchIpProtocol(58 as short),
1494 new MatchIcmpv6(136 as short, 0 as short),
1495 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L)
1498 tableId = 241 as short
1500 new FlowEntity(123bi) => [
1501 cookie = 110100480bi
1502 flowId = "Ingress_ARP_123_987"
1504 instructionInfoList = #[
1505 new InstructionApplyActions(#[
1506 new ActionNxResubmit(220 as short)
1510 new MatchEthernetType(2054L),
1511 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L)
1514 tableId = 241 as short
1516 new FlowEntity(123bi) => [
1517 cookie = 110100481bi
1518 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_New"
1520 instructionInfoList = #[
1521 new InstructionApplyActions(#[
1526 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1527 new NxMatchCtState(33L, 33L)
1530 tableId = 213 as short
1532 new FlowEntity(123bi) => [
1533 cookie = 110100481bi
1534 flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
1536 instructionInfoList = #[
1537 new InstructionApplyActions(#[
1542 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
1543 new NxMatchCtState(48L, 48L)
1546 tableId = 213 as short
1548 new FlowEntity(123bi) => [
1549 cookie = 110100480bi
1550 flowId = "Egress_DHCP_Client_v4123_987__Permit_"
1552 instructionInfoList = #[
1553 new InstructionApplyActions(#[
1554 new ActionNxResubmit(17 as short)
1558 new MatchEthernetType(2048L),
1559 new MatchIpProtocol(17 as short),
1560 new MatchUdpDestinationPort(67 as short),
1561 new MatchUdpSourcePort(68 as short),
1562 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
1565 tableId = 211 as short
1567 new FlowEntity(123bi) => [
1568 cookie = 110100480bi
1569 flowId = "Egress_DHCP_Client_v6_123_987__Permit_"
1571 instructionInfoList = #[
1572 new InstructionApplyActions(#[
1573 new ActionNxResubmit(17 as short)
1577 new MatchEthernetType(34525L),
1578 new MatchIpProtocol(17 as short),
1579 new MatchUdpDestinationPort(547 as short),
1580 new MatchUdpSourcePort(546 as short),
1581 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
1584 tableId = 211 as short
1586 new FlowEntity(123bi) => [
1587 cookie = 110100480bi
1588 flowId = "Egress_DHCP_Server_v4123_987__Drop_"
1590 instructionInfoList = #[
1593 new MatchEthernetType(2048L),
1594 new MatchIpProtocol(17 as short),
1595 new MatchUdpDestinationPort(68 as short),
1596 new MatchUdpSourcePort(67 as short),
1597 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
1600 tableId = 211 as short
1602 new FlowEntity(123bi) => [
1603 cookie = 110100480bi
1604 flowId = "Egress_DHCP_Server_v6_123_987__Drop_"
1606 instructionInfoList = #[
1609 new MatchEthernetType(34525L),
1610 new MatchIpProtocol(17 as short),
1611 new MatchUdpDestinationPort(546 as short),
1612 new MatchUdpSourcePort(547 as short),
1613 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
1616 tableId = 211 as short
1618 new FlowEntity(123bi) => [
1619 cookie = 110100480bi
1620 flowId = "Egress_ICMPv6_123_987_134_Drop_"
1622 instructionInfoList = #[
1625 new MatchEthernetType(34525L),
1626 new MatchIpProtocol(58 as short),
1627 new MatchIcmpv6(134 as short, 0 as short),
1628 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
1631 tableId = 211 as short
1633 new FlowEntity(123bi) => [
1634 cookie = 110100480bi
1635 flowId = "Egress_ICMPv6_123_987_133_Permit_"
1637 instructionInfoList = #[
1638 new InstructionApplyActions(#[
1639 new ActionNxResubmit(17 as short)
1643 new MatchEthernetType(34525L),
1644 new MatchIpProtocol(58 as short),
1645 new MatchIcmpv6(133 as short, 0 as short),
1646 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
1649 tableId = 211 as short
1651 new FlowEntity(123bi) => [
1652 cookie = 110100480bi
1653 flowId = "Egress_ICMPv6_123_987_135_Permit_"
1655 instructionInfoList = #[
1656 new InstructionApplyActions(#[
1657 new ActionNxResubmit(17 as short)
1661 new MatchEthernetType(34525L),
1662 new MatchIpProtocol(58 as short),
1663 new MatchIcmpv6(135 as short, 0 as short),
1664 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
1667 tableId = 211 as short
1669 new FlowEntity(123bi) => [
1670 cookie = 110100480bi
1671 flowId = "Egress_ICMPv6_123_987_136_Permit_"
1673 instructionInfoList = #[
1674 new InstructionApplyActions(#[
1675 new ActionNxResubmit(17 as short)
1679 new MatchEthernetType(34525L),
1680 new MatchIpProtocol(58 as short),
1681 new MatchIcmpv6(136 as short, 0 as short),
1682 new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG)
1685 tableId = 211 as short
1687 new FlowEntity(123bi) => [
1688 cookie = 110100481bi
1689 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_New"
1691 instructionInfoList = #[
1692 new InstructionApplyActions(#[
1697 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
1698 new NxMatchCtState(33L, 33L)
1701 tableId = 243 as short
1703 new FlowEntity(123bi) => [
1704 cookie = 110100481bi
1705 flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
1707 instructionInfoList = #[
1708 new InstructionApplyActions(#[
1713 new NxMatchRegister(NxmNxReg6, 252672L, 268435200L),
1714 new NxMatchCtState(48L, 48L)
1717 tableId = 243 as short