|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SPF
This interface describes the Shortest Path First service.
Creation date: 25-May-2004
Method Summary | |
---|---|
java.util.List<Path> |
computeFullMeshSPF(Domain domain)
Computes a unique shortest path between all nodes in the topology |
java.util.List<Path> |
computeFullMeshSPF(Domain domain,
boolean ECMP)
Computes the shortest paths between all nodes in the topology |
java.util.List<Path> |
computeSPF(Domain domain,
boolean isSource,
java.lang.String node)
Computes a unique shortest path from (resp. |
java.util.List<Path> |
computeSPF(Domain domain,
boolean isSource,
java.lang.String node,
boolean ECMP)
Computes the shortest paths from (resp. |
java.util.List<Path> |
computeSPF(Domain domain,
java.lang.String src)
Computes a unique shortest path from a source node to all destination node |
java.util.List<Path> |
computeSPF(Domain domain,
java.lang.String src,
boolean ECMP)
Computes the shortest paths from a source node to all destination node |
Path |
computeSPF(Domain domain,
java.lang.String src,
java.lang.String dst)
Computes a unique shortest path between two nodes |
java.util.List<Path> |
computeSPF(Domain domain,
java.lang.String src,
java.lang.String dst,
boolean ECMP)
Computes the shortest path between two nodes. |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
Method Detail |
---|
Path computeSPF(Domain domain, java.lang.String src, java.lang.String dst) throws RoutingException, NoRouteToHostException
domain
- src
- the source nodedst
- the destination node
RoutingException
NoRouteToHostException
java.util.List<Path> computeSPF(Domain domain, java.lang.String src, java.lang.String dst, boolean ECMP) throws RoutingException, NoRouteToHostException
domain
- src
- the source nodedst
- the destination nodeECMP
- true if multipath activated
RoutingException
NoRouteToHostException
java.util.List<Path> computeSPF(Domain domain, java.lang.String src) throws RoutingException, NoRouteToHostException
domain
- src
- the source node
RoutingException
NoRouteToHostException
java.util.List<Path> computeSPF(Domain domain, boolean isSource, java.lang.String node) throws RoutingException, NoRouteToHostException
isSource
. If
isSource
is true
, node
is considered
as the source node and the method computes a shortest path from this node
to all the other nodes.
domain
- The domain on which the paths have to be computed.node
- The source or destination node.isSource
- true
if node
is the source and false
otherwise.
node
.
RoutingException
NoRouteToHostException
java.util.List<Path> computeSPF(Domain domain, java.lang.String src, boolean ECMP) throws RoutingException, NoRouteToHostException
domain
- src
- the source nodeECMP
- true
if multipath is activated
RoutingException
NoRouteToHostException
java.util.List<Path> computeSPF(Domain domain, boolean isSource, java.lang.String node, boolean ECMP) throws RoutingException, NoRouteToHostException
isSource
. If
isSource
is true
, node
is considered
as the source node and the method computes a shortest path from this node
to all the other nodes.
domain
- The domain on which the paths have to be computed.node
- The source or destination node.isSource
- true
if node
is the source and false
otherwise.ECMP
- true
if multipath is activated
node
.
RoutingException
NoRouteToHostException
java.util.List<Path> computeFullMeshSPF(Domain domain) throws RoutingException, NoRouteToHostException
RoutingException
NoRouteToHostException
java.util.List<Path> computeFullMeshSPF(Domain domain, boolean ECMP) throws RoutingException, NoRouteToHostException
ECMP
- true
if multipath is activated
RoutingException
NoRouteToHostException
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |