2 * Copyright (c) 2016, 2017 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
8 package org.opendaylight.genius.interfacemanager.globals;
10 import java.math.BigInteger;
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri;
12 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId;
15 public class IfmConstants {
16 public static final String OF_URI_PREFIX = "openflow:";
17 public static final String OF_URI_SEPARATOR = ":";
18 public static final int DEFAULT_IFINDEX = 65536;
19 public static final int FLOW_HIGH_PRIORITY = 10;
20 public static final int FLOW_PRIORITY_FOR_UNTAGGED_VLAN = 4;
21 public static final int FLOW_TABLE_MISS_PRIORITY = 0;
22 public static final int DEFAULT_ARP_FLOW_PRIORITY = 100;
23 public static final int INVALID_PORT_NO = -1;
24 public static final BigInteger INVALID_DPID = new BigInteger("-1");
26 public static final String IFM_IDPOOL_NAME = "interfaces";
27 public static final long IFM_ID_POOL_START = 1L;
28 public static final long IFM_ID_POOL_END = 65535;
30 public static final long VLAN_GROUP_START = 1000;
31 public static final long TRUNK_GROUP_START = 20000;
32 public static final long LOGICAL_GROUP_START = 100000;
34 public static final long DELAY_TIME_IN_MILLISECOND = 10000;
36 public static final BigInteger COOKIE_L3_BASE = new BigInteger("8000000", 16);
37 public static final BigInteger COOKIE_EGRESS_DISPATCHER_TABLE = new BigInteger("1300000", 16);
39 public static final int DEFAULT_MONITOR_INTERVAL = 10000;
41 public static final TopologyId OVSDB_TOPOLOGY_ID = new TopologyId(new Uri("ovsdb:1"));