import java.util.List;
import org.opendaylight.genius.mdsalutil.NwConstants;
import org.opendaylight.genius.mdsalutil.packet.IPProtocols;
+import org.opendaylight.yangtools.yang.common.Uint64;
/**
* The class to have ACL related constants.
Integer PROTO_IPV6_DROP_PRIORITY = 63020;
Integer PROTO_IPV6_ALLOWED_PRIORITY = 63010;
Integer PROTO_DHCP_SERVER_MATCH_PRIORITY = 63010;
+ Integer PROTO_DHCP_SERVER_DROP_PRIORITY = 62020;
Integer PROTO_DHCP_CLIENT_TRAFFIC_MATCH_PRIORITY = 63010;
Integer PROTO_ARP_TRAFFIC_MATCH_PRIORITY = 63010;
Integer PROTO_ARP_TRAFFIC_DROP_PRIORITY = 63009;
short DHCP_CLIENT_PORT_IPV6 = 546;
short DHCP_SERVER_PORT_IPV6 = 547;
- BigInteger COOKIE_ACL_BASE = new BigInteger("6900000", 16);
- BigInteger COOKIE_ACL_DROP_FLOW = new BigInteger("6900001", 16);
- BigInteger METADATA_DROP_FLAG = BigInteger.ONE;
+ Uint64 COOKIE_ACL_BASE = Uint64.valueOf("6900000", 16).intern();
+ Uint64 COOKIE_ACL_DROP_FLOW = Uint64.valueOf("6900001", 16).intern();
+ Uint64 METADATA_DROP_FLAG = Uint64.valueOf(BigInteger.ONE).intern();
int TRACKED_EST_CT_STATE = 0x22;
int TRACKED_REL_CT_STATE = 0x24;
int ALL_LAYER4_PORT_MASK = 0x0000;
Short IP_PROT_ICMPV6 = 58;
+ int ICMPV4_TYPE_ECHO_REQUEST = 8;
+ int ICMPV4_TYPE_ECHO_REPLY = 0;
+ int ICMPV6_TYPE_ECHO_REQUEST = 128;
+ int ICMPV6_TYPE_ECHO_REPLY = 129;
int ICMPV6_TYPE_MLD_QUERY = 130;
int ICMPV6_TYPE_RS = 133;
int ICMPV6_TYPE_RA = 134;
int SECURITY_GROUP_ICMP_IDLE_TIME_OUT = 30;
- String ACL_TAG_POOL_NAME = "ACL-TAG-POOL";
- long ACL_TAG_POOL_START = 1L;
- long ACL_TAG_POOL_END = 10000L;
-
int SOURCE_LOWER_PORT_UNSPECIFIED = -1;
int SOURCE_UPPER_PORT_UNSPECIFIED = -1;
int DEST_LOWER_PORT_UNSPECIFIED = -1;
String ACL_SYNC_KEY_EXT = "-acl";
int JOB_MAX_RETRIES = 3;
+ int ACEDELETE_MAX_RETRIES = 3;
+ int FLOWS_PER_TRANSACTION = 30;
+ int ACES_PER_TRANSACTION = 30;
+
+ String ACL_JOB_KEY_PREFIX = "ACL-";
List<IPProtocols> PROTOCOLS_SUPPORTED_BY_CONNTRACK =
ImmutableList.of(IPProtocols.TCP, IPProtocols.UDP, IPProtocols.ICMP, IPProtocols.IPV6ICMP);