Adds routes to a GenericRoutingTable similarly how IPv4NetworkConfigurator adds static routes to IPv4RoutingTable.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
NetworkConfiguratorBase | simple module | (no description) |
Name | Type | Default value | Description |
---|---|---|---|
minLinkWeight | double | 1E-3 | |
config | xml | xml(" |
XML configuration parameters |
addStaticRoutes | bool | true |
add static routes to the routing tables of all nodes to route to all destination interfaces (only where applicable; turn off when config file contains manual routes) |
dumpTopology | bool | false |
print extracted network topology to the module output |
dumpRoutes | bool | false |
print configured and optimized routing tables for all nodes to the module output |
Name | Value | Description |
---|---|---|
class | GenericNetworkConfigurator | |
display | i=block/cogwheel_s |
// // Adds routes to a GenericRoutingTable similarly how IPv4NetworkConfigurator adds // static routes to IPv4RoutingTable. // simple GenericNetworkConfigurator extends NetworkConfiguratorBase { parameters: @class(GenericNetworkConfigurator); @display("i=block/cogwheel_s"); xml config = default(xml("<config/>")); // XML configuration parameters bool addStaticRoutes = default(true); // add static routes to the routing tables of all nodes to route to all destination interfaces (only where applicable; turn off when config file contains manual routes) bool dumpTopology = default(false); // print extracted network topology to the module output bool dumpRoutes = default(false); // print configured and optimized routing tables for all nodes to the module output }