2 * Copyright (c) 2015 - 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.netvirt.vpnmanager;
11 import java.math.BigInteger;
13 public class VpnConstants {
14 public static final String VPN_IDPOOL_NAME = "vpnservices";
15 public static final long VPN_IDPOOL_START = 100L;
16 public static final String VPN_IDPOOL_SIZE = "100000";
17 public static final short DEFAULT_FLOW_PRIORITY = 10;
18 public static final short L3VPN_SERVICE_IDENTIFIER = 2;
19 public static final long INVALID_ID = -1;
20 public static final String SEPARATOR = ".";
21 public static final BigInteger COOKIE_VM_INGRESS_TABLE = new BigInteger("8000001", 16);
22 public static final BigInteger COOKIE_L3_BASE = new BigInteger("8000000", 16);
23 public static final String FLOWID_PREFIX = "L3.";
24 public static final long MIN_WAIT_TIME_IN_MILLISECONDS = 10000;
25 public static final long MAX_WAIT_TIME_IN_MILLISECONDS = 90000;
26 public static final int ELAN_GID_MIN = 200000;
27 public static final short ELAN_SMAC_TABLE = 50;
28 public static final short FIB_TABLE = 21;
29 public static byte[] EthernetDestination_Broadcast = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
30 (byte) 0xFF, (byte) 0xFF, (byte) 0xFF };
31 public static byte[] MAC_Broadcast = new byte[] { (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0 };