Bug: 5011
[vpnservice.git] / vpnmanager / vpnmanager-impl / src / main / java / org / opendaylight / vpnservice / VpnConstants.java
index 3fc28972e9fcb9a332ac54b323bfbc8bbb4dd1c1..862a6c49c24a83f3d301f445ce0e7ad246b43f16 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
+ * Copyright (c) 2015 - 2016 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,
@@ -8,13 +8,18 @@
 
 package org.opendaylight.vpnservice;
 
+import java.math.BigInteger;
+
 public class VpnConstants {
     public static final String VPN_IDPOOL_NAME = "vpnservices";
-    public static final long VPN_IDPOOL_START = 1L;
-    public static final String VPN_IDPOOL_SIZE = "65535";
-    public static final short LPORT_INGRESS_TABLE = 0;
-    public static final short LFIB_TABLE = 20;
-    public static final short FIB_TABLE = 21;
+    public static final long VPN_IDPOOL_START = 100L;
+    public static final String VPN_IDPOOL_SIZE = "100000";
     public static final short DEFAULT_FLOW_PRIORITY = 10;
+    public static final short L3VPN_SERVICE_IDENTIFIER = 2;
     public static final long INVALID_ID = -1;
+    public static final String SEPARATOR = ".";
+    public static final BigInteger COOKIE_VM_INGRESS_TABLE = new BigInteger("8000001", 16);
+    public static final BigInteger COOKIE_L3_BASE = new BigInteger("8000000", 16);
+    public static final String FLOWID_PREFIX = "L3.";
+    public static final long WAIT_TIME_IN_MILLISECONDS = 5000;
 }