be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl
Class OverlayStrategy
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.OverlayStrategy
- All Implemented Interfaces:
- LinkLoadComputer, LinkLoadStrategy
public class OverlayStrategy
- extends AbstractLinkLoadStrategy
Implement the overlay strategy.
With this method, the traffic will be routed on a MPLS tunnel if the [source, destination] pair matches
the [ingress, egress] pair of the tunnel. If several tunnels matches, the routed path is chosen arbitrarily among them.
If no tunnel matches, it is routed via SPF (eventually using ECMP).
Creation date: 28 ao�t 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()
|
void |
recompute()
Compute the link load of the specified traffic matrix on the domain |
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 |
OverlayStrategy
public OverlayStrategy(Domain domain,
TrafficMatrix tm)
recompute
public void recompute()
- Compute the link load of the specified traffic matrix on the domain
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
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.