2 * Copyright (c) 2013 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
9 package org.opendaylight.controller.sal.connection;
13 import org.opendaylight.controller.sal.core.Node;
14 import org.opendaylight.controller.sal.utils.Status;
17 * The interface describes methods to be implemented by protocol plugins
19 public interface IPluginInConnectionService {
21 * Disconnect a Node that is connected to this Controller.
24 * the given node {@link org.opendaylight.controller.sal.core.Node}
26 public Status disconnect(Node node);
31 * @param connectionIdentifier Convenient identifier for the applications to make use of
32 * @param params Connection Params in Map format. This is entirely handled by the south-bound
33 * plugins and is an opaque value for SAL. Typical values keyed inside this params are
34 * Management IP-Address, Username, Password, Security Keys, etc...
38 public Node connect (String connectionIdentifier, Map<ConnectionConstants, String> params);
41 * View Change notification
43 public void notifyClusterViewChanged();
46 * Node Disconnected from the node's master controller.
49 * the given node {@link org.opendaylight.controller.sal.core.Node}
51 public void notifyNodeDisconnectFromMaster(Node node);