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.interfacemgr;
11 import java.math.BigInteger;
13 public class IfmConstants {
14 public static final String IFM_IDPOOL_NAME = "interfaces";
15 public static final long IFM_ID_POOL_START = 1L;
16 public static final long IFM_ID_POOL_END = 65535;
17 public static final String IFM_IDPOOL_SIZE = "65535";
18 public static final String OF_URI_PREFIX = "openflow:";
19 public static final String OF_URI_SEPARATOR = ":";
20 public static final int DEFAULT_IFINDEX = 65536;
21 public static final int DEFAULT_FLOW_PRIORITY = 5;
22 public static final String IFM_LPORT_TAG_IDPOOL_NAME = "vlaninterfaces.lporttag";
23 public static final short VLAN_INTERFACE_INGRESS_TABLE = 0;
25 public static final long VLAN_GROUP_START = 1000;
26 public static final long TRUNK_GROUP_START = 20000;
27 public static final long LOGICAL_GROUP_START = 100000;
28 public static final BigInteger COOKIE_VM_LFIB_TABLE = new BigInteger("8000002", 16);
29 public static final String TUNNEL_TABLE_FLOWID_PREFIX = "TUNNEL.";
30 public static final BigInteger TUNNEL_TABLE_COOKIE = new BigInteger("9000000", 16);
31 public static final short DEFAULT_SERVICE_INDEX = 0;
32 public static final int FLOW_HIGH_PRIORITY = 10;
33 public static final int FLOW_PRIORITY_FOR_UNTAGGED_VLAN = 4;
34 public static final BigInteger VLAN_TABLE_COOKIE = new BigInteger("8000000", 16);