Adding IdManager/LockManager and related Changes
[vpnservice.git] / interfacemgr / interfacemgr-impl / src / main / java / org / opendaylight / vpnservice / interfacemgr / IfmConstants.java
index 4cfa0005f798241dc2693a10f3dac94aca764c2f..351a37a52fb971722beab4d4fcdf4b14372864a9 100644 (file)
@@ -1,9 +1,22 @@
+/*
+ * 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;
 
 public class IfmConstants {
     public static final String IFM_IDPOOL_NAME = "interfaces";
+    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 = "openflow:";
-    public static final int DEFAULT_IFINDEX = 65535;
+    public static final String OF_URI_SEPARATOR = ":";
+    public static final int DEFAULT_IFINDEX = 65536;
+    public static final String IFM_LPORT_TAG_IDPOOL_NAME = "vlaninterfaces.lporttag";
+    public static final short VLAN_INTERFACE_INGRESS_TABLE = 0;
 
 }