2 * Copyright (c) 2018 Ericsson India Global Services Pvt Ltd. 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.openflowplugin.applications.deviceownershipservice;
10 public interface DeviceOwnershipService {
12 * Method is used to check if the node is the entity owner of the switch.
13 * @return true if the node is the owner of the switch ,
14 * false if either the switch is owned by some other node or if the cluster is in Jeopardy
16 boolean isEntityOwned(String nodeId);