GenericNetworkConfigurator

Package: inet.networklayer.configurator.generic

GenericNetworkConfigurator

simple module

Adds routes to a GenericRoutingTable similarly how IPv4NetworkConfigurator adds static routes to IPv4RoutingTable.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
NetworkConfiguratorBase simple module (no description)

Parameters

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

Properties

Name Value Description
class GenericNetworkConfigurator
display i=block/cogwheel_s

Source code

//
// 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
}
File: src/inet/networklayer/configurator/generic/GenericNetworkConfigurator.ned