Revert "Checkstyle enforcer"
[controller.git] / opendaylight / samples / loadbalancer / src / main / java / org / opendaylight / controller / samples / loadbalancer / LBConst.java
1 /*
2  * Copyright IBM Corporation, 2013.  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 package org.opendaylight.controller.samples.loadbalancer;
9
10 /**
11  * Class defines all the constants used by load balancer service
12  *
13  */
14 public class LBConst {
15     
16     public static final int FORWARD_DIRECTION_LB_FLOW = 0;
17     
18     public static final int REVERSE_DIRECTION_LB_FLOW = 1;
19     
20     public static final String ROUND_ROBIN_LB_METHOD = "roundrobin";
21     
22     public static final String RANDOM_LB_METHOD = "random";
23     
24     public static final String STATUS_ACTIVE="active";
25     
26     public static final String STATUS_INACTIVE="inactive";
27     
28     public static final String STATUS_PENDING="pending";
29     
30     public static final String STATUS_ERROR="error";
31         
32 }
33