Package | Description |
---|---|
etri.sdn.controller.module.linkdiscovery | |
etri.sdn.controller.module.topologymanager |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Link,LinkInfo> |
Links.links
Association between a link and the link information
|
private java.util.Map<NodePortTuple,java.util.Set<Link>> |
Links.portBroadcastDomainLinks
Set of link tuples over which multicast LLDPs are received
and unicast LLDPs are not received.
|
private java.util.Map<NodePortTuple,java.util.Set<Link>> |
Links.portLinks
Map from a id:port to the set of links containing it as an endpoint
|
private java.util.Map<java.lang.Long,java.util.Set<Link>> |
Links.switchLinks
Map from switch id to a set of all links with it as an endpoint
|
Modifier and Type | Method and Description |
---|---|
Link |
Links.addOrUpdateLink(long remoteSwitchId,
int remotePort,
org.openflow.protocol.interfaces.OFPortDesc remotePhyPort,
long localSwitchId,
int localInPort,
org.openflow.protocol.interfaces.OFPortDesc localInPhyPort,
boolean isStandard,
boolean isReverse)
Add or update link information. used by OFMLinkDiscovery.handleLldp method.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<Link,LinkInfo> |
OFMLinkDiscovery.getLinks() |
java.util.Map<Link,LinkInfo> |
ILinkDiscoveryService.getLinks()
Retrieves a map of all known link connections between OpenFlow switches
and the associated info (valid time, port states) for the link.
|
java.util.Map<java.lang.Long,java.util.Set<Link>> |
OFMLinkDiscovery.getSwitchLinks() |
java.util.Map<java.lang.Long,java.util.Set<Link>> |
ILinkDiscoveryService.getSwitchLinks()
Returns an unmodifiable map from switch id to a set of all links with it
as an endpoint.
|
Modifier and Type | Method and Description |
---|---|
void |
Links.addLinkToBroadcastDomain(Link lt)
Put a link into the map of
Links.portBroadcastDomainLinks . |
void |
OFMLinkDiscovery.addLinkUpdate(Link lt,
LinkInfo info)
This method is called by Links object to pass link update event to its listeners.
|
void |
OFMLinkDiscovery.addLinkUpdate(Link lt,
LinkInfo info,
ILinkDiscoveryListener.UpdateOperation operation)
This method is called by Links object to pass link update event to its listeners.
|
private boolean |
Links.addOrUpdateLink(Link lt,
LinkInfo newInfo)
Add or Update a link information.
|
ILinkDiscovery.LinkType |
OFMLinkDiscovery.getLinkType(Link lt,
LinkInfo info) |
ILinkDiscovery.LinkType |
ILinkDiscoveryService.getLinkType(Link lt,
LinkInfo info)
Returns link type of a given link.
|
void |
Links.removeLinkFromBroadcastDomain(Link lt)
Remove a link from the map of
Links.portBroadcastDomainLinks . |
Modifier and Type | Method and Description |
---|---|
private void |
Links.deleteLinks(java.util.List<Link> links)
Delete links from the
Links.switchLinks and Links.portLinks structures. |
Constructor and Description |
---|
Links.RESTLink(Link l) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Link> |
TopologyInstance.blockedLinks
Set of links that are blocked.
|
protected java.util.Map<NodePortTuple,java.util.Set<Link>> |
OFMTopologyManager.directLinks
Set of direct links
|
protected java.util.Map<java.lang.Long,java.util.Set<Link>> |
Cluster.links |
protected java.util.HashMap<java.lang.Long,Link> |
BroadcastTree.links |
protected java.util.Map<NodePortTuple,java.util.Set<Link>> |
OFMTopologyManager.portBroadcastDomainLinks
set of links that are broadcast domain links.
|
protected java.util.Map<NodePortTuple,java.util.Set<Link>> |
TopologyInstance.switchPortLinks |
protected java.util.Map<NodePortTuple,java.util.Set<Link>> |
OFMTopologyManager.switchPortLinks
Set of links organized by node port tuple
|
protected java.util.Map<NodePortTuple,java.util.Set<Link>> |
OFMTopologyManager.tunnelLinks
set of tunnel links
|
Modifier and Type | Method and Description |
---|---|
Link |
BroadcastTree.getTreeLink(long node) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<Link> |
TopologyInstance.getBlockedLinks() |
java.util.Map<java.lang.Long,java.util.Set<Link>> |
Cluster.getLinks() |
java.util.HashMap<java.lang.Long,Link> |
BroadcastTree.getLinks() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Cluster.addLink(Link l) |
private boolean |
OFMTopologyManager.addLinkToStructure(java.util.Map<NodePortTuple,java.util.Set<Link>> s,
Link l)
Add the given link to the data structure.
|
void |
BroadcastTree.addTreeLink(long myNode,
Link link) |
protected boolean |
TopologyInstance.isBlockedLink(Link l)
Returns true if a link has either one of its switch ports
blocked.
|
boolean |
TopologyInstance.isBroadcastDomainLink(Link l) |
protected boolean |
TopologyInstance.isTunnelLink(Link l) |
void |
OFMTopologyManager.removeLink(Link link) |
private boolean |
OFMTopologyManager.removeLinkFromStructure(java.util.Map<NodePortTuple,java.util.Set<Link>> s,
Link l)
Delete the given link from the data strucure.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
OFMTopologyManager.addLinkToStructure(java.util.Map<NodePortTuple,java.util.Set<Link>> s,
Link l)
Add the given link to the data structure.
|
protected BroadcastTree |
TopologyInstance.dijkstra(Cluster c,
java.lang.Long root,
java.util.Map<Link,java.lang.Integer> linkCost,
boolean isDstRooted) |
private boolean |
OFMTopologyManager.removeLinkFromStructure(java.util.Map<NodePortTuple,java.util.Set<Link>> s,
Link l)
Delete the given link from the data strucure.
|
Constructor and Description |
---|
BroadcastTree(java.util.HashMap<java.lang.Long,Link> links,
java.util.HashMap<java.lang.Long,java.lang.Integer> costs) |
TopologyInstance(java.util.Map<java.lang.Long,java.util.Set<java.lang.Integer>> switchPorts,
java.util.Map<NodePortTuple,java.util.Set<Link>> switchPortLinks) |
TopologyInstance(java.util.Map<java.lang.Long,java.util.Set<java.lang.Integer>> switchPorts,
java.util.Set<NodePortTuple> blockedPorts,
java.util.Map<NodePortTuple,java.util.Set<Link>> switchPortLinks,
java.util.Set<NodePortTuple> broadcastDomainPorts,
java.util.Set<NodePortTuple> tunnelPorts) |