public interface IConnectionManager
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.controller.sal.core.Node |
connect(String connectionIdentifier,
Map<org.opendaylight.controller.sal.connection.ConnectionConstants,String> params)
Connect to a node
|
org.opendaylight.controller.sal.core.Node |
connect(String type,
String connectionIdentifier,
Map<org.opendaylight.controller.sal.connection.ConnectionConstants,String> params)
Connect to a node
|
org.opendaylight.controller.sal.utils.Status |
disconnect(org.opendaylight.controller.sal.core.Node node)
Disconnect a Node from the controller.
|
ConnectionMgmtScheme |
getActiveScheme()
This method returns Connectivity Algorithm (Scheme) that is currently
being used.
|
Set<InetAddress> |
getControllers(org.opendaylight.controller.sal.core.Node node)
Retrieve list of cluster-members to which Node is connected to
|
org.opendaylight.controller.sal.connection.ConnectionLocality |
getLocalityStatus(org.opendaylight.controller.sal.core.Node node)
getLocalityStatus provides the tri-state connectivity status as opposed
to the binary status returned by isLocal.
|
Set<org.opendaylight.controller.sal.core.Node> |
getLocalNodes()
Method that will retrieve and return a Set of Nodes that is currently
connected to the controller on which this method is executed.
|
Set<org.opendaylight.controller.sal.core.Node> |
getNodes(InetAddress controller)
Method that will retrieve and return a Set of Nodes that is currently
connected to the given controller.
|
boolean |
isLocal(org.opendaylight.controller.sal.core.Node node)
Deprecated.
Use getLocalityStatus(Node node) instead.
Method to test if a node is local to a controller.
|
ConnectionMgmtScheme getActiveScheme()
Set<org.opendaylight.controller.sal.core.Node> getNodes(InetAddress controller)
controller - InetAddress of the Controller that is currently connected to a
set of Nodes.Set<org.opendaylight.controller.sal.core.Node> getLocalNodes()
boolean isLocal(org.opendaylight.controller.sal.core.Node node)
node - The node for which the locality is being testedorg.opendaylight.controller.sal.connection.ConnectionLocality getLocalityStatus(org.opendaylight.controller.sal.core.Node node)
node - The node for which the locality is being verifiedorg.opendaylight.controller.sal.utils.Status disconnect(org.opendaylight.controller.sal.core.Node node)
org.opendaylight.controller.sal.core.Node connect(String connectionIdentifier, Map<org.opendaylight.controller.sal.connection.ConnectionConstants,String> params)
connectionIdentifier - identifier with which the application would refer to a given
connection.params - Connection Params in Map format. This is entirely handled by
the south-bound plugins and is an opaque value for SAL or
Connection Manager. Typical values keyed inside this params
are Management IP-Address, Username, Password, Security Keys,
etc...org.opendaylight.controller.sal.core.Node connect(String type, String connectionIdentifier, Map<org.opendaylight.controller.sal.connection.ConnectionConstants,String> params)
type - Type of the node representing NodeIDType.connectionIdentifier - identifier with which the application would refer to a given
connection.params - Connection Params in Map format. This is entirely handled by
the south-bound plugins and is an opaque value for SAL or
Connection Manager. Typical values keyed inside this params
are Management IP-Address, Username, Password, Security Keys,
etc...Set<InetAddress> getControllers(org.opendaylight.controller.sal.core.Node node)
node - Node for which cluster-members to be retrievedCopyright © 2015. All Rights Reserved.