2 * Copyright IBM Corporation, 2013. 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
8 package org.opendaylight.controller.samples.loadbalancer;
11 * Class defines all the constants used by load balancer service
14 public class LBConst {
16 public static final int FORWARD_DIRECTION_LB_FLOW = 0;
18 public static final int REVERSE_DIRECTION_LB_FLOW = 1;
20 public static final String ROUND_ROBIN_LB_METHOD = "roundrobin";
22 public static final String RANDOM_LB_METHOD = "random";
24 public static final String STATUS_ACTIVE="active";
26 public static final String STATUS_INACTIVE="inactive";
28 public static final String STATUS_PENDING="pending";
30 public static final String STATUS_ERROR="error";