In case of an error event, cleanup the config too
[controller.git] / opendaylight / sal / connection / api / src / main / java / org / opendaylight / controller / sal / connection / ConnectionLocality.java
1 package org.opendaylight.controller.sal.connection;
2
3 public enum ConnectionLocality {
4     /**
5      * This controller is the (or one of the) master for a given node
6      */
7     LOCAL("This controller is the (or one of the) master for a given node"),
8
9     /**
10      * This controller is not the master for a given node
11      */
12     NOT_LOCAL("This controller is not the master for a given node"),
13
14     /**
15      * The given node is not connected to any of the controllers in the cluster
16      */
17     NOT_CONNECTED("The given node is not connected to any of the controllers in the cluster");
18
19     private ConnectionLocality(String description) {
20         this.description = description;
21     }
22
23     private String description;
24
25     public String toString() {
26         return description;
27     }
28 }