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
9 package org.opendaylight.openflowplugin.applications.deviceownershipservice;
11 public interface DeviceOwnershipService {
13 * Method is used to check if the node is the entity owner of the switch.
14 * @return true if the node is the owner of the switch ,
15 * false if either the switch is owned by some other node or if the cluster is in Jeopardy
17 boolean isEntityOwned(String nodeId);