be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl
Class IGPShortcutStrategy

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.AbstractLinkLoadComputer
      extended by be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.AbstractLinkLoadStrategy
          extended by 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:

Creation date: 23 juin 2006

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.AbstractLinkLoadStrategy
data, ECMP, spf, tm
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.AbstractLinkLoadComputer
changeListener, domain
 
Constructor Summary
IGPShortcutStrategy(Domain domain, TrafficMatrix tm)
           
 
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.AbstractLinkLoadStrategy
detachData, getData, getShortName, getSPFAlgo, getTrafficMatrices, setECMP, setSPFAlgo, setTm, toString
 
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
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.trafficMatrix.model.LinkLoadComputer
addListener, destroy, getDomain, invalidate, isUpToDate, removeListener, startListening, stopListening, update
 

Constructor Detail

IGPShortcutStrategy

public IGPShortcutStrategy(Domain domain,
                           TrafficMatrix tm)
Method Detail

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.