Imported vpnservice as a subtree
[netvirt.git] / vpnservice / dhcpservice / dhcpservice-api / src / main / java / org / opendaylight / vpnservice / dhcpservice / api / DHCPMConstants.java
1 /*
2  * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.vpnservice.dhcpservice.api;
10
11 import java.math.BigInteger;
12
13 public final class DHCPMConstants {
14
15     public static final long DHCP_TABLE_MAX_ENTRY = 10000;
16
17     public static final int DEFAULT_DHCP_FLOW_PRIORITY = 50;
18     public static final int ARP_FLOW_PRIORITY = 50;
19
20     public static final BigInteger COOKIE_DHCP_BASE = new BigInteger("6800000", 16);
21     public static final BigInteger METADATA_ALL_CLEAR_MASK = new BigInteger("0000000000000000", 16);
22     public static final BigInteger METADATA_ALL_SET_MASK = new BigInteger("FFFFFFFFFFFFFFFF", 16);
23
24     public static final String FLOWID_PREFIX = "DHCP.";
25     public static final String VMFLOWID_PREFIX = "DHCP.INTERFACE.";
26     public static final String BCAST_DEST_IP = "255.255.255.255";
27     public static final int BCAST_IP = 0xffffffff;
28
29     public static final short dhcpClientPort = 68;
30     public static final short dhcpServerPort = 67;
31
32     public static final int DEFAULT_LEASE_TIME = 86400;
33     public static final String DEFAULT_DOMAIN_NAME = "openstacklocal";
34
35     public static final BigInteger INVALID_DPID = new BigInteger("-1");
36 }