Merge "Moving TableIds into a single constants file"
[vpnservice.git] / interfacemgr / interfacemgr-impl / src / main / java / org / opendaylight / vpnservice / interfacemgr / IfmConstants.java
index add3af5b81a287d7f21878878778ce73e10995f7..2e573bef4ce95aa8b6c43339ca1732c18c9fbec3 100644 (file)
@@ -1,11 +1,26 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.vpnservice.interfacemgr;
 
+import java.math.BigInteger;
+
 public class IfmConstants {
     public static final String IFM_IDPOOL_NAME = "interfaces";
-    public static final long IFM_IDPOOL_START = 1L;
+    public static final long IFM_ID_POOL_START = 1L;
+    public static final long IFM_ID_POOL_END = 65535;
     public static final String IFM_IDPOOL_SIZE = "65535";
     public static final String OF_URI_PREFIX = "openflow:";
     public static final String OF_URI_SEPARATOR = ":";
     public static final int DEFAULT_IFINDEX = 65536;
-
+    public static final int DEFAULT_FLOW_PRIORITY = 5;
+    public static final String IFM_LPORT_TAG_IDPOOL_NAME = "vlaninterfaces.lporttag";
+    public static final BigInteger COOKIE_VM_LFIB_TABLE = new BigInteger("8000002", 16);;
+    public static final String TUNNEL_TABLE_FLOWID_PREFIX = "TUNNEL.";
+    public static final BigInteger TUNNEL_TABLE_COOKIE = new BigInteger("9000000", 16);
 }