Enhancements in BGP module
[netvirt.git] / bgpmanager / impl / src / main / java / org / opendaylight / netvirt / bgpmanager / oam / BgpConstants.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.bgpmanager.oam;
10
11
12 public interface BgpConstants {
13
14     String BGP_SPEAKER_HOST_NAME = "vpnservice.bgpspeaker.host.name";
15     String BGP_SPEAKER_THRIFT_PORT = "vpnservice.bgpspeaker.thrift.port";
16     String DEFAULT_BGP_HOST_NAME = "localhost";
17     int DEFAULT_BGP_THRIFT_PORT = 7644;
18     int BGP_NOTIFY_CEASE_CODE = 6;
19     String QBGP_VTY_PASSWORD = "sdncbgpc";
20     String BGP_COUNTER_NBR_PKTS_RX = "BgpNeighborPacketsReceived";
21     String BGP_COUNTER_NBR_PKTS_TX = "BgpNeighborPacketsSent";
22     String BGP_COUNTER_RD_ROUTE_COUNT = "BgpRdRouteCount";
23     String BGP_COUNTER_TOTAL_PFX = "BgpTotalPrefixes:Bgp_Total_Prefixes";
24     String BGP_COUNTER_IPV4_PFX = "BgpIPV4Prefixes:Bgp_IPV4_Prefixes";
25     String BGP_COUNTER_IPV6_PFX = "BgpIPV6Prefixes:Bgp_IPV6_Prefixes";
26     String BGP_DEF_LOG_LEVEL = "debugging";
27     String BGP_DEF_LOG_FILE = "/opt/quagga/var/log/quagga/zrpcd.init.log";
28     String BFD_COUNTER_NBR_PKTS_RX = "BfdNeighborPacketsReceived";
29     String BFD_COUNTER_NBR_PKTS_TX = "BfdNeighborPacketsSent";
30     long DEFAULT_ETH_TAG = 0L;
31     int BGP_DEFAULT_MULTIPATH = 2;
32     int BFD_DEFAULT_DETECT_MULT = 8;
33     String BGP_CONFIG_ENTITY = "bgp";
34     int BFD_DEFAULT_MIN_RX = 500;
35     int BFD_DEFAULT_MIN_TX = 500000;
36     int MIN_RX_MIN = 50;
37     int MIN_RX_MAX = 50000;
38     int MIN_TX_MIN = 1000;
39     int MIN_TX_MAX = 4294001;
40     int MIN_DETECT_MULT = 2;
41     int MAX_DETECT_MULT = 255;
42     int HISTORY_LIMIT = 100000;
43     int HISTORY_THRESHOLD = 75000;
44     int BFD_DEFAULT_FAILURE_THRESHOLD = 0;
45     int BFD_DEFAULT_SUCCESS_THRESHOLD = 0;
46 }