86b49febea31a0ef88f0e7525e441305665f1d25
[vpnservice.git] / bgpmanager / bgpmanager-impl / src / main / java / org / opendaylight / bgpmanager / thrift / common / Constants.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.bgpmanager.thrift.common;
10
11
12 public class Constants {
13
14
15         public static final String PROP_MAX_WORKER_THREADS = "bgpthrift.maxWorkerThreads";
16         public static final String PROP_MIN_WORKER_THREADS = "bgpthrift.minWorkerThreads";
17
18         //  Configurable parameters
19         public static final String PROP_BGP_THRIFT_PORT = "bgp.thrift.service.port";
20
21         // Default configurations
22
23         public static final int BGP_SERVICE_PORT = 6644;
24         public static final int DEFAULT_MIN_WORKER_THREADS = 1; //1 client only- quagga server - so 1 thread to service it
25         public static final int DEFAULT_MAX_WORKER_THREADS = 1;
26
27         public static final int CL_SKT_TIMEO_MS = 30000;
28
29 }