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.vpnservice;
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 LPORT_INGRESS_TABLE = 0;
18 public static final short LFIB_TABLE = 20;
19 public static final short FIB_TABLE = 21;
20 public static final short L3_INTERFACE_TABLE = 80;
21 public static final short DEFAULT_FLOW_PRIORITY = 10;
22 public static final short L3VPN_SERVICE_IDENTIFIER = 2;
23 public static final long INVALID_ID = -1;
24 public static final String SEPARATOR = ".";
25 public static final BigInteger COOKIE_VM_INGRESS_TABLE = new BigInteger("8000001", 16);
26 public static final BigInteger COOKIE_L3_BASE = new BigInteger("8000000", 16);
27 public static final String FLOWID_PREFIX = "L3.";