2 * Copyright (c) 2015 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.dhcpservice.api;
11 import java.math.BigInteger;
13 public final class DHCPMConstants {
15 public static final long DHCP_TABLE_MAX_ENTRY = 10000;
17 public static final int DEFAULT_DHCP_FLOW_PRIORITY = 50;
18 public static final int ARP_FLOW_PRIORITY = 50;
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);
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;
29 public static final short dhcpClientPort = 68;
30 public static final short dhcpServerPort = 67;
32 public static final int DEFAULT_LEASE_TIME = 86400;
33 public static final String DEFAULT_DOMAIN_NAME = "openstacklocal";
35 public static final BigInteger INVALID_DPID = new BigInteger("-1");