be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl
Class IGPShortcutStrategy
java.lang.Object
be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.AbstractLinkLoadComputer
be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.AbstractLinkLoadStrategy
be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.IGPShortcutStrategy
- All Implemented Interfaces:
- LinkLoadComputer, LinkLoadStrategy
public class IGPShortcutStrategy
- extends AbstractLinkLoadStrategy
Implement the IGP shortcut link load computation strategy (IETF RFC-3906).
"Traffic to nodes that are the tail-end of TE-tunnels, will flow over those TE-tunnels.
Traffic to nodes that are downstream of the tail-end nodes will also flow over those TE-tunnels.
If there are multiple TE-tunnels to different intermediate nodes on the path to destination node X, traffic will
flow over the TE-tunnel whose tail-end node is closest to node X". (RFC-3906)
Notes:
- this strategy does not use ECMP.
- the implementation works as follow: The normal IP shortest path is calculated and traffic is forwarded using all
TE-tunnels on that path (no matter the metric of the path).
Creation date: 23 juin 2006
- Author:
- Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)
Method Summary |
boolean |
equals(java.lang.Object o)
returns true if the LinkLoadComputer uses the same parameters as the object o. |
int |
hashCode()
|
boolean |
isECMP()
Get the ECMP (Equal-Cost Multi-Path) property. |
void |
recompute()
Recomputes the load data. |
Methods inherited from class be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.AbstractLinkLoadComputer |
addListener, dataChanged, destroy, getDomain, invalidate, isUpToDate, removeListener, setUptoDate, startListening, stopListening, update |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IGPShortcutStrategy
public IGPShortcutStrategy(Domain domain,
TrafficMatrix tm)
recompute
public void recompute()
- Description copied from interface:
LinkLoadComputer
- Recomputes the load data.
equals
public boolean equals(java.lang.Object o)
- Description copied from interface:
LinkLoadComputer
- returns true if the LinkLoadComputer uses the same parameters as the object o. (the computed data at a given
moment are equivalent)
- Specified by:
equals
in interface LinkLoadComputer
- Specified by:
equals
in interface LinkLoadStrategy
- Overrides:
equals
in class AbstractLinkLoadStrategy
hashCode
public int hashCode()
- Specified by:
hashCode
in interface LinkLoadComputer
- Specified by:
hashCode
in interface LinkLoadStrategy
- Overrides:
hashCode
in class AbstractLinkLoadStrategy
isECMP
public boolean isECMP()
- Description copied from class:
AbstractLinkLoadStrategy
- Get the ECMP (Equal-Cost Multi-Path) property.
By default : false
- Specified by:
isECMP
in interface LinkLoadStrategy
- Overrides:
isECMP
in class AbstractLinkLoadStrategy
- Returns:
- true if equal-cost multi-path is activated and false otherwise
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.