move vpnservice and cleanup poms
[netvirt.git] / dhcpservice / dhcpservice-api / src / main / java / org / opendaylight / netvirt / 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.netvirt.dhcpservice.api;
10
11 import java.math.BigInteger;
12
13 public interface DhcpMConstants {
14
15     long DHCP_TABLE_MAX_ENTRY = 10000;
16
17     int DEFAULT_DHCP_FLOW_PRIORITY = 50;
18     int DEFAULT_DHCP_ALLOCATION_POOL_FLOW_PRIORITY = DEFAULT_DHCP_FLOW_PRIORITY - 1;
19     int DEFAULT_DHCP_ARP_FLOW_PRIORITY = 10;
20     int ARP_FLOW_PRIORITY = 50;
21     short DEFAULT_FLOW_PRIORITY = 100;
22
23     BigInteger COOKIE_DHCP_BASE = new BigInteger("6800000", 16);
24     BigInteger METADATA_ALL_CLEAR_MASK = new BigInteger("0000000000000000", 16);
25     BigInteger METADATA_ALL_SET_MASK = new BigInteger("FFFFFFFFFFFFFFFF", 16);
26
27     String FLOWID_PREFIX = "DHCP.";
28     String VMFLOWID_PREFIX = "DHCP.INTERFACE.";
29     String BCAST_DEST_IP = "255.255.255.255";
30     int BCAST_IP = 0xffffffff;
31
32     short DHCP_CLIENT_PORT = 68;
33     short DHCP_SERVER_PORT = 67;
34
35     int DEFAULT_LEASE_TIME = 86400;
36     String DEFAULT_DOMAIN_NAME = "openstacklocal";
37
38     BigInteger COOKIE_VM_INGRESS_TABLE = new BigInteger("6800001", 16);
39     BigInteger INVALID_DPID = new BigInteger("-1");
40     String DHCP_JOB_KEY_PREFIX = "DHCP_";
41     int RETRY_COUNT = 6;
42 }