Merge "Use ${project.version} for internal dependencies"
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / Constants.java
index 05a9a0728c49acb5fa56ca466805e12883c735ce..f97b8d8774b0383e7d21c457a464849a1da12cb2 100644 (file)
@@ -1,12 +1,11 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (c) 2014, 2015 Red Hat, Inc. and others. All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Authors : Dave Tucker
  */
+
 package org.opendaylight.ovsdb.openstack.netvirt.api;
 
 /**
@@ -83,7 +82,6 @@ public final class Constants {
     public static final Integer PREFIX_MATCH_PRIORITY_DROP = 36004;
     public static final Integer PROTO_PREFIX_MATCH_PRIORITY_DROP = 36003;
     public static final Integer PREFIX_PORT_MATCH_PRIORITY_DROP = 36002;
-    public static final Integer PROTO_PORT_PREFIX_MATCH_PRIORITY_DROP = 36001;
 
     public static final Integer PROTO_DHCP_CLIENT_TRAFFIC_MATCH_PRIORITY = 61012;
     public static final Integer PROTO_MATCH_PRIORITY = 61010;
@@ -93,6 +91,10 @@ public final class Constants {
     public static final Integer PROTO_PORT_PREFIX_MATCH_PRIORITY = 61007;
     public static final Integer PROTO_DHCP_SERVER_MATCH_PRIORITY = 61006;
     public static final Integer PROTO_VM_IP_MAC_MATCH_PRIORITY = 36001;
+    public static final Integer CT_STATE_UNTRACKED_PRIORITY = 62030;
+    public static final Integer CT_STATE_TRACKED_EXIST_PRIORITY = 62020;
+    public static final Integer CT_STATE_TRACKED_NEW_PRIORITY = 62010;
+    public static final Integer CT_STATE_NEW_PRIORITY_DROP = 36007;
 
     public static final int TCP_SYN = 0x002;
     public static final short INGRESS_ACL = 40; // Flows Destined to the VM Port go here
@@ -103,4 +105,9 @@ public final class Constants {
     //6653 is official openflow port.
     public static short OPENFLOW_PORT = 6653;
     public static String OPENFLOW_CONNECTION_PROTOCOL = "tcp";
+
+    /*
+     * Clustering
+     */
+    public static final String NETVIRT_OWNER_ENTITY_TYPE = "ovsdb-netvirt-provider";
 }