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.bgpmanager.thrift.common;
12 public class Constants {
15 public static final String PROP_MAX_WORKER_THREADS = "bgpthrift.maxWorkerThreads";
16 public static final String PROP_MIN_WORKER_THREADS = "bgpthrift.minWorkerThreads";
18 // Configurable parameters
19 public static final String PROP_BGP_THRIFT_PORT = "bgp.thrift.service.port";
21 // Default configurations
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;
27 public static final int CL_SKT_TIMEO_MS = 30000;