Move adsal into its own subdirectory.
[controller.git] / opendaylight / adsal / samples / northbound / loadbalancer / src / main / java / org / opendaylight / controller / samples / loadbalancer / northbound / NBConst.java
diff --git a/opendaylight/adsal/samples/northbound/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/northbound/NBConst.java b/opendaylight/adsal/samples/northbound/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/northbound/NBConst.java
new file mode 100644 (file)
index 0000000..a5d2091
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright IBM Corporation, 2013.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.controller.samples.loadbalancer.northbound;
+
+/**
+ * This class defines all the constants used by the load balancer north bound service
+ *
+ */
+public class NBConst {
+
+    public static final String RES_VIP_ALREADY_EXIST= " VIP already exists";
+
+    public static final String RES_VIP_NOT_FOUND= " VIP not found";
+
+    public static final String RES_VIP_CREATION_FAILED = " Creation of VIP failed";
+
+    public static final String RES_VIP_DELETION_FAILED = " Deletion of VIP failed";
+
+    public static final String RES_VIP_UPDATE_FAILED = " Update of VIP failed";
+
+    public static final String RES_POOL_ALREADY_EXIST= " Pool already exists";
+
+    public static final String RES_POOL_NOT_FOUND= " Pool not found";
+
+    public static final String RES_POOL_CREATION_FAILED = " Creation of pool failed";
+
+    public static final String RES_POOL_DELETION_FAILED = " Deletion of pool failed";
+
+    public static final String RES_POOLMEMBER_ALREADY_EXIST= " Pool member already exists";
+
+    public static final String RES_POOLMEMBER_NOT_FOUND= " Pool member not found";
+
+    public static final String RES_POOLMEMBER_CREATION_FAILED = " Creation of pool member failed";
+
+    public static final String RES_POOLMEMBER_DELETION_FAILED = " Deletion of pool member failed";
+
+    public static final String RES_VIP_POOL_EXIST = "Pool already attached to a VIP";
+}