+ fixedConntrackEgressFlowsPort3
+ icmpEgressFlowsPort3
}
+
+ static def aapWithIpv4AllFlows() {
+ fixedIngressFlowsPort4
+ + fixedConntrackIngressFlowsPort4
+ + fixedEgressFlowsPort4
+ + fixedConntrackEgressFlowsPort4
+ }
+
protected def fixedConntrackIngressFlowsPort1() {
#[
new FlowEntity(123bi) => [
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
#[
new FlowEntity(123bi) => [
cookie = 110100480bi
- flowId = "ETHERnull_ipv4_remoteACL_interface_aap_AllowedAddressPairsKey "
- +"[_macAddress=MacAddress [_value=0D:AA:D8:42:30:F3], _ipAddress=IpPrefixOrAddress "
- +"[_ipPrefix=IpPrefix [_ipv4Prefix=Ipv4Prefix [_value=10.0.0.1/32]]]]"
+ flowId = "ETHERnull_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F3_10.0.0.1/32"
+"Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
flowName = "ACL"
instructionInfoList = #[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
],
new FlowEntity(123bi) => [
cookie = 110100480bi
- flowId = "ETHERnull_ipv4_remoteACL_interface_aap_AllowedAddressPairsKey "
- +"[_macAddress=MacAddress [_value=0D:AA:D8:42:30:F4], _ipAddress=IpPrefixOrAddress "
- +"[_ipPrefix=IpPrefix [_ipv4Prefix=Ipv4Prefix [_value=10.0.0.2/32]]]]"
+ flowId = "ETHERnull_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F4_10.0.0.2/32"
+"Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
flowName = "ACL"
instructionInfoList = #[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
+ new NxMatchInfoBuilder >> [
+ matchField = NxMatchFieldType.ct_state
+ matchValues = #[
+ 48L,
+ 48L
+ ]
+ ]
+ ]
+ priority = 62015
+ tableId = 252 as short
+ ]
+ ]
+ }
+
+ static def fixedConntrackIngressFlowsPort4() {
+ #[
+ new FlowEntity(123bi) => [
+ cookie = 110100480bi
+ flowId = "Ingress_Fixed_Conntrk_123_0D:AA:D8:42:30:F6_10.0.0.4/32_Recirc"
+ flowName = "ACL"
+ instructionInfoList = #[
+ new InstructionApplyActions(#[
+ new ActionNxConntrack(2, 0, 0, 5000, 252 as short)
+ ])
+ ]
+ matchInfoList = #[
+ new MatchEthernetType(2048L),
+ new MatchEthernetDestination(new MacAddress("0D:AA:D8:42:30:F6")),
+ new MatchEthernetType(2048L),
+ new MatchIpv4Destination("10.0.0.4", "32")
+ ]
+ priority = 61010
+ tableId = 251 as short
+ ],
+ new FlowEntity(123bi) => [
+ cookie = 110100480bi
+ flowId = "Ingress_Fixed_Conntrk_123_0D:AA:D8:42:30:F6_0.0.0.0/0_Recirc"
+ flowName = "ACL"
+ instructionInfoList = #[
+ new InstructionApplyActions(#[
+ new ActionNxConntrack(2, 0, 0, 5000, 252 as short)
+ ])
+ ]
+ matchInfoList = #[
+ new MatchEthernetType(2048L),
+ new MatchEthernetDestination(new MacAddress("0D:AA:D8:42:30:F6")),
+ new MatchEthernetType(2048L)
+ ]
+ priority = 61010
+ tableId = 251 as short
+ ],
+ new FlowEntity(123bi) => [
+ cookie = 110100481bi
+ flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_New"
+ flowName = "ACL"
+ instructionInfoList = #[
+ new InstructionApplyActions(#[
+ new ActionDrop()
+ ])
+ ]
+ matchInfoList = #[
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
+ new NxMatchInfoBuilder >> [
+ matchField = NxMatchFieldType.ct_state
+ matchValues = #[
+ 33L,
+ 33L
+ ]
+ ]
+ ]
+ priority = 50
+ tableId = 41 as short
+ ],
+ new FlowEntity(123bi) => [
+ cookie = 110100481bi
+ flowId = "Ingress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
+ flowName = "ACL"
+ instructionInfoList = #[
+ new InstructionApplyActions(#[
+ new ActionDrop()
+ ])
+ ]
+ matchInfoList = #[
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
+ new NxMatchInfoBuilder >> [
+ matchField = NxMatchFieldType.ct_state
+ matchValues = #[
+ 48L,
+ 48L
+ ]
+ ]
+ ]
+ priority = 62015
+ tableId = 41 as short
+ ]
+ ]
+ }
+
+ static def fixedConntrackEgressFlowsPort4() {
+ #[
+ new FlowEntity(123bi) => [
+ cookie = 110100480bi
+ flowId = "Egress_Fixed_Conntrk_123_0D:AA:D8:42:30:F6_10.0.0.4/32_Recirc"
+ flowName = "ACL"
+ instructionInfoList = #[
+ new InstructionApplyActions(#[
+ new ActionNxConntrack(2, 0, 0, 5000, 41 as short)
+ ])
+ ]
+ matchInfoList = #[
+ new MatchEthernetSource(new MacAddress("0D:AA:D8:42:30:F6")),
+ new MatchEthernetType(2048L),
+ new MatchIpv4Source("10.0.0.4", "32")
+ ]
+ priority = 61010
+ tableId = 40 as short
+ ],
+ new FlowEntity(123bi) => [
+ cookie = 110100480bi
+ flowId = "Egress_Fixed_Conntrk_123_0D:AA:D8:42:30:F6_0.0.0.0/0_Recirc"
+ flowName = "ACL"
+ instructionInfoList = #[
+ new InstructionApplyActions(#[
+ new ActionNxConntrack(2, 0, 0, 5000, 41 as short)
+ ])
+ ]
+ matchInfoList = #[
+ new MatchEthernetSource(new MacAddress("0D:AA:D8:42:30:F6")),
+ new MatchEthernetType(2048L)
+ ]
+ priority = 61010
+ tableId = 40 as short
+ ],
+ new FlowEntity(123bi) => [
+ cookie = 110100481bi
+ flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_New"
+ flowName = "ACL"
+ instructionInfoList = #[
+ new InstructionApplyActions(#[
+ new ActionDrop()
+ ])
+ ]
+ matchInfoList = #[
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
+ new NxMatchInfoBuilder >> [
+ matchField = NxMatchFieldType.ct_state
+ matchValues = #[
+ 33L,
+ 33L
+ ]
+ ]
+ ]
+ priority = 50
+ tableId = 252 as short
+ ],
+ new FlowEntity(123bi) => [
+ cookie = 110100481bi
+ flowId = "Egress_Fixed_Conntrk_Drop123_987_Tracked_Invalid"
+ flowName = "ACL"
+ instructionInfoList = #[
+ new InstructionApplyActions(#[
+ new ActionDrop()
+ ])
+ ]
+ matchInfoList = #[
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
#[
new FlowEntity(123bi) => [
cookie = 110100480bi
- flowId = "TCP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_AllowedAddressPairsKey "
- +"[_macAddress=MacAddress [_value=0D:AA:D8:42:30:F3], _ipAddress=IpPrefixOrAddress "
- +"[_ipPrefix=IpPrefix [_ipv4Prefix=Ipv4Prefix [_value=10.0.0.1/32]]]]"
+ flowId = "TCP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F3_10.0.0.1/32"
+"Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
flowName = "ACL"
instructionInfoList = #[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
cookie = 110100480bi
- flowId = "TCP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_AllowedAddressPairsKey [_macAddress=MacAddress [_value=0D:AA:D8:42:30:F4], _ipAddress=IpPrefixOrAddress [_ipPrefix=IpPrefix [_ipv4Prefix=Ipv4Prefix [_value=10.0.0.2/32]]]]Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
+ flowId = "TCP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F4_10.0.0.2/32Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
flowName = "ACL"
instructionInfoList = #[
new InstructionApplyActions(#[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
#[
new FlowEntity(123bi) => [
cookie = 110100480bi
- flowId = "UDP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_AllowedAddressPairsKey "
- +"[_macAddress=MacAddress [_value=0D:AA:D8:42:30:F3], _ipAddress=IpPrefixOrAddress "
- +"[_ipPrefix=IpPrefix [_ipv4Prefix=Ipv4Prefix [_value=10.0.0.1/32]]]]"
+ flowId = "UDP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F3_10.0.0.1/32"
+"Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
flowName = "ACL"
instructionInfoList = #[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
],
new FlowEntity(123bi) => [
cookie = 110100480bi
- flowId = "UDP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_AllowedAddressPairsKey [_macAddress=MacAddress [_value=0D:AA:D8:42:30:F4], _ipAddress=IpPrefixOrAddress [_ipPrefix=IpPrefix [_ipv4Prefix=Ipv4Prefix [_value=10.0.0.2/32]]]]Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
+ flowId = "UDP_DESTINATION_80_65535_ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F4_10.0.0.2/32Ingress98785cc3048-abc3-43cc-89b3-377341426ac7"
flowName = "ACL"
instructionInfoList = #[
new InstructionApplyActions(#[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
#[
new FlowEntity(123bi) => [
cookie = 110100480bi
- flowId = "ICMP_V4_DESTINATION_23__ipv4_remoteACL_interface_aap_AllowedAddressPairsKey "
- +"[_macAddress=MacAddress [_value=0D:AA:D8:42:30:F3], _ipAddress=IpPrefixOrAddress "
- +"[_ipPrefix=IpPrefix [_ipv4Prefix=Ipv4Prefix [_value=10.0.0.1/32]]]]"
+ flowId = "ICMP_V4_DESTINATION_23__ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F3_10.0.0.1/32"
+"Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
flowName = "ACL"
instructionInfoList = #[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
cookie = 110100480bi
- flowId = "ICMP_V4_DESTINATION_23__ipv4_remoteACL_interface_aap_AllowedAddressPairsKey "
- +"[_macAddress=MacAddress [_value=0D:AA:D8:42:30:F4], _ipAddress=IpPrefixOrAddress "
- +"[_ipPrefix=IpPrefix [_ipv4Prefix=Ipv4Prefix [_value=10.0.0.2/32]]]]"
+ flowId = "ICMP_V4_DESTINATION_23__ipv4_remoteACL_interface_aap_0D:AA:D8:42:30:F4_10.0.0.2/32"
+"Egress98785cc3048-abc3-43cc-89b3-377341426ac6"
flowName = "ACL"
instructionInfoList = #[
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_2
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 252 as short
]
]
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_1
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
],
new FlowEntity(123bi) => [
]
]
]
- priority = AclServiceTestBase.FLOW_PRIORITY_SG_2
+ priority = IdHelper.getFlowPriority(flowId)
tableId = 41 as short
]
]
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[
])
]
matchInfoList = #[
- new MatchMetadata(1085217976614912bi, 1152920405095219200bi),
+ new MatchMetadata(1085217976614912bi, MetaDataUtil.METADATA_MASK_LPORT_TAG),
new NxMatchInfoBuilder >> [
matchField = NxMatchFieldType.ct_state
matchValues = #[