2 * Copyright (c) 2014 Cisco Systems, Inc. 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
8 package org.opendaylight.controller.sal.connection;
10 public enum ConnectionLocality {
12 * This controller is the (or one of the) master for a given node
14 LOCAL("This controller is the (or one of the) master for a given node"),
17 * This controller is not the master for a given node
19 NOT_LOCAL("This controller is not the master for a given node"),
22 * The given node is not connected to any of the controllers in the cluster
24 NOT_CONNECTED("The given node is not connected to any of the controllers in the cluster");
26 private ConnectionLocality(String description) {
27 this.description = description;
30 private String description;
32 public String toString() {