X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fconnection%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fconnection%2FIPluginInConnectionService.java;fp=opendaylight%2Fsal%2Fconnection%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fconnection%2FIPluginInConnectionService.java;h=0000000000000000000000000000000000000000;hp=f4e16fac54af4e72bd8f8ebc0392f3944f15e674;hb=42c32160bfd41de57189bb246fec5ffb48ed8e9e;hpb=edf5bfcee83c750853253ccfd991ba7000f5f65b diff --git a/opendaylight/sal/connection/api/src/main/java/org/opendaylight/controller/sal/connection/IPluginInConnectionService.java b/opendaylight/sal/connection/api/src/main/java/org/opendaylight/controller/sal/connection/IPluginInConnectionService.java deleted file mode 100644 index f4e16fac54..0000000000 --- a/opendaylight/sal/connection/api/src/main/java/org/opendaylight/controller/sal/connection/IPluginInConnectionService.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. 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.sal.connection; - -import java.util.Map; - -import org.opendaylight.controller.sal.core.Node; -import org.opendaylight.controller.sal.utils.Status; - -/** - * The interface describes methods to be implemented by protocol plugins - */ -public interface IPluginInConnectionService { - /** - * Disconnect a Node that is connected to this Controller. - * - * @param node - * the given node {@link org.opendaylight.controller.sal.core.Node} - */ - public Status disconnect(Node node); - - /** - * Connect to a node - * - * @param connectionIdentifier Convenient identifier for the applications to make use of - * @param params Connection Params in Map format. This is entirely handled by the south-bound - * plugins and is an opaque value for SAL. Typical values keyed inside this params are - * Management IP-Address, Username, Password, Security Keys, etc... - * - * @return Node - */ - public Node connect (String connectionIdentifier, Map params); - - /** - * View Change notification - */ - public void notifyClusterViewChanged(); - - /** - * Node Disconnected from the node's master controller. - * - * @param node - * the given node {@link org.opendaylight.controller.sal.core.Node} - */ - public void notifyNodeDisconnectFromMaster(Node node); - -} \ No newline at end of file