
public interface ITopologyManager
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.controller.sal.utils.Status |
addUserLink(TopologyUserLinkConfig link)
Adds user configured link
|
org.opendaylight.controller.sal.utils.Status |
deleteUserLink(String linkName)
Deletes user configured link
|
Map<org.opendaylight.controller.sal.core.Edge,Set<org.opendaylight.controller.sal.core.Property>> |
getEdges()
Retrieves a map of all known link connections between nodes
including their properties
|
org.opendaylight.controller.sal.core.Host |
getHostAttachedToNodeConnector(org.opendaylight.controller.sal.core.NodeConnector p)
Deprecated.
|
List<org.opendaylight.controller.sal.core.Host> |
getHostsAttachedToNodeConnector(org.opendaylight.controller.sal.core.NodeConnector p)
Returns a list of hosts attached to a NodeConnector
|
Set<org.opendaylight.controller.sal.core.NodeConnector> |
getNodeConnectorWithHost()
Return a set of NodeConnector that have hosts attached to them
|
Map<org.opendaylight.controller.sal.core.Node,Set<org.opendaylight.controller.sal.core.Edge>> |
getNodeEdges()
Returns an unmodifiable map indexed by the Node and reporting
all the edges getting out/in from/to the Node
|
Map<org.opendaylight.controller.sal.core.Node,Set<org.opendaylight.controller.sal.core.NodeConnector>> |
getNodesWithNodeConnectorHost()
Returns a copy map which associates every node with all the
NodeConnectors of the node that have an Host attached to it
|
ConcurrentMap<String,TopologyUserLinkConfig> |
getUserLinks()
Gets all the user configured links
|
boolean |
isInternal(org.opendaylight.controller.sal.core.NodeConnector p)
Query to determine if the specified NodeConnector is connected
to another Node or is a leaf for the network
|
org.opendaylight.controller.sal.utils.Status |
saveConfig()
Saves user configured links into config file
|
void |
updateHostLink(org.opendaylight.controller.sal.core.NodeConnector p,
org.opendaylight.controller.sal.core.Host h,
org.opendaylight.controller.sal.core.UpdateType t,
Set<org.opendaylight.controller.sal.core.Property> props)
Add or Update an Host port in the topology manager DB
|
boolean isInternal(org.opendaylight.controller.sal.core.NodeConnector p)
p - The node connectorMap<org.opendaylight.controller.sal.core.Edge,Set<org.opendaylight.controller.sal.core.Property>> getEdges()
Map<org.opendaylight.controller.sal.core.Node,Set<org.opendaylight.controller.sal.core.Edge>> getNodeEdges()
void updateHostLink(org.opendaylight.controller.sal.core.NodeConnector p,
org.opendaylight.controller.sal.core.Host h,
org.opendaylight.controller.sal.core.UpdateType t,
Set<org.opendaylight.controller.sal.core.Property> props)
p - NodeConnector to which an host is connectedh - the Host connected to the NodeConnectort - type of update if Add/Delete/UpdateSet<org.opendaylight.controller.sal.core.NodeConnector> getNodeConnectorWithHost()
@Deprecated org.opendaylight.controller.sal.core.Host getHostAttachedToNodeConnector(org.opendaylight.controller.sal.core.NodeConnector p)
List<org.opendaylight.controller.sal.core.Host> getHostsAttachedToNodeConnector(org.opendaylight.controller.sal.core.NodeConnector p)
p - NodeConnectorMap<org.opendaylight.controller.sal.core.Node,Set<org.opendaylight.controller.sal.core.NodeConnector>> getNodesWithNodeConnectorHost()
org.opendaylight.controller.sal.utils.Status addUserLink(TopologyUserLinkConfig link)
link - User configured linkorg.opendaylight.controller.sal.utils.Status deleteUserLink(String linkName)
linkName - The name of the user configured linkorg.opendaylight.controller.sal.utils.Status saveConfig()
ConcurrentMap<String,TopologyUserLinkConfig> getUserLinks()
Copyright © 2014. All Rights Reserved.