Vpnmanager and fibmanager changes
[vpnservice.git] / vpnmanager / vpnmanager-impl / src / main / java / org / opendaylight / vpnservice / VpnConstants.java
index 56b2d543c3d43c5735e8c18126c10cbc13d8a35a..8bcde64dcc9884659d7f077cf8253818711fc222 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,14 +8,21 @@
 
 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 long VPN_IDPOOL_START = 100L;
+    public static final String VPN_IDPOOL_SIZE = "100000";
     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 short L3_INTERFACE_TABLE = 80;
     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.";
 }