|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the generic interface for a routing table.
| Method Summary | |
void |
add(java.lang.String destination_ip,
NIC via_nic,
int next_hop_ip)
Add a route to the specified destination through the given interface. |
void |
add(java.lang.String destination_ip,
NIC via_nic,
int next_hop_ip,
int cost)
Add a route to the specified destination through the specified host with the given cost. |
void |
add(java.lang.String destination_ip,
NIC via_nic,
int next_hop_ip,
int cost,
java.lang.String routingProtocol)
Add a route to the specified destination through the specified host with the given cost, from the given routing protocol (if any). |
void |
add(java.lang.String destination_ip,
NIC via_nic,
int next_hop_ip,
java.lang.String routingProtocol)
Add a route to the specified destination through the given interface from the given routing protocol (if any). |
void |
addDefault(NIC via_nic,
int next_hop_ip)
Add a default route through the specified host. |
void |
addDefault(NIC via_nic,
int next_hop_ip,
int cost)
Add a default route through the specified host with the given cost. |
void |
addDefault(NIC via_nic,
int next_hop_ip,
int cost,
java.lang.String routingProtocol)
Add a default route through the specified host with the given cost from the named routing protocol. |
void |
addFIBChangeListener(FIBChangeListener p)
Register the given FIBChangeListener, so that it can be notified about changes to this FIB -- insertions or deletions of routes -- in order to make decisions about route redistribution. |
void |
del(java.lang.String destination_ip)
Delete the route to the specified destination. |
void |
del(java.lang.String destination_ip,
java.lang.String routingProtocol)
Delete the route to the specified destination, from the given routing protocol. |
RoutingInfo |
find(int ipAddr)
Returns the data in the leaf of the path defined by the given boolean array, if the path exists. |
RoutingInfo |
find(int ipAddr,
int prefix_length)
Returns the data in the leaf of the path defined by the given IP address, if the path exists. |
RoutingInfo |
findBest(int ipaddr)
Returns the data in the node which is deepest in the tree along the path from the root to what would be the BEST (not EXACT) match in the tree, if it existed (which it might, in which case that would be the deepest node and thus the best match). |
RoutingInfo |
findBest(int srcaddr,
int dstaddr)
Returns the data in the node which is deepest in the tree along the path from the root to what would be the BEST (not EXACT) match in the tree, if it existed (which it might, in which case that would be the deepest node and thus the best match). |
void |
print()
Prints this table. |
void |
removeFIBChangeListener(FIBChangeListener p)
Unregister the given FIBChangeListener. |
void |
rep(java.lang.String destination_ip,
NIC via_nic,
int next_hop_addr,
int cost,
java.lang.String routingProtocol)
Inserts new routing information into the table, replacing any previous routing information from the same routing protocol that may have already existed. |
| Methods inherited from interface com.renesys.raceway.DML.Configurable |
config |
| Method Detail |
public void addFIBChangeListener(FIBChangeListener p)
public void removeFIBChangeListener(FIBChangeListener p)
public void add(java.lang.String destination_ip,
NIC via_nic,
int next_hop_ip)
public void add(java.lang.String destination_ip,
NIC via_nic,
int next_hop_ip,
java.lang.String routingProtocol)
public void add(java.lang.String destination_ip,
NIC via_nic,
int next_hop_ip,
int cost)
public void add(java.lang.String destination_ip,
NIC via_nic,
int next_hop_ip,
int cost,
java.lang.String routingProtocol)
public void addDefault(NIC via_nic,
int next_hop_ip)
public void addDefault(NIC via_nic,
int next_hop_ip,
int cost)
public void addDefault(NIC via_nic,
int next_hop_ip,
int cost,
java.lang.String routingProtocol)
public void rep(java.lang.String destination_ip,
NIC via_nic,
int next_hop_addr,
int cost,
java.lang.String routingProtocol)
public void del(java.lang.String destination_ip)
public void del(java.lang.String destination_ip,
java.lang.String routingProtocol)
public RoutingInfo find(int ipAddr)
public RoutingInfo find(int ipAddr,
int prefix_length)
public RoutingInfo findBest(int ipaddr)
public RoutingInfo findBest(int srcaddr,
int dstaddr)
public void print()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||