public interface TopologyViewerService
FIXME: Revamp to use new API constructs.
| Modifier and Type | Method and Description |
|---|---|
MutableFlow |
createFlow(String srcId,
String dstId)
Creates a new flow descriptor with source and destination information
for the specified nodes.
|
Set<AggregateLink> |
getAggregateLinks()
Returns all links in aggregated form.
|
List<MBodyFlowStats> |
getFlowStats(String id)
Returns list of switch flow stats.
|
long |
getHostNumber() |
Set<TopologyLink> |
getLinks()
Returns all links.
|
boolean |
getNetNodeDpDesc(TopologyNode node)
returns void
|
TopologyNode |
getNode(String id)
Returns the node with the specified id.
|
Set<TopologyNode> |
getNodes()
Returns all nodes.
|
TopologyPath |
getPath(Flow flow)
Returns the path between the specified nodes using the supplied flow
descriptor.
|
TopologyPath |
getPath(String srcId,
String dstId)
Returns the shortest path between the specified nodes.
|
long |
getSwitchNumber() |
long |
lastModified()
Returns the time-stamp of the most recent modification of the node or
link data.
|
TopologyLink.Type |
LinkTypeToType(TopologyLink link)
returns TopologyLink Type
|
void |
resetCache()
Resets the node cache and reloads it from scratch.
|
long lastModified()
Set<TopologyNode> getNodes()
Set<TopologyLink> getLinks()
Set<AggregateLink> getAggregateLinks()
TopologyNode getNode(String id)
id - node idTopologyPath getPath(String srcId, String dstId)
srcId - source node iddstId - destination node idMutableFlow createFlow(String srcId, String dstId)
srcId - source node iddstId - destination node idTopologyPath getPath(Flow flow)
flow - flow descriptor used for path selectionList<MBodyFlowStats> getFlowStats(String id)
id - switch node idvoid resetCache()
TopologyLink.Type LinkTypeToType(TopologyLink link)
Link - Type to TopologyLink Typeboolean getNetNodeDpDesc(TopologyNode node)
get - network node DpDesclong getSwitchNumber()
long getHostNumber()
Copyright © 2014. All Rights Reserved.