Network Net

Package: inet.examples.bgpv4.BGPOpen
File: examples/bgpv4/BGPOpen/Test.ned

(no description)

BGPRouterSimple BGPRouterSimple IPv4NetworkConfigurator

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

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

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
A.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

A.routingTable.interfaceTableModule string

The path to the InterfaceTable module

A.routingTable.netmaskRoutes string "*"

maintain netmask routes for interfaces

A.routingTable.multicastForwarding bool false

turns multicast forwarding on/off

A.routingTable.useAdminDist bool false

Use Cisco like administrative distances

A.routingTable.routingFile string ""

routing table file name

A.bgp.interfaceTableModule string

The path to the InterfaceTable module

A.bgp.routingTableModule string
A.bgp.bgpConfig xml
A.bgp.dataTransferMode string "bytecount"
A.snifferIn.config xml

Configuration file

A.snifferOut.config xml

Configuration file

A.networkLayer.configurator.interfaceTableModule string

The path to the InterfaceTable module

A.networkLayer.configurator.networkConfiguratorModule string "configurator"

TODO: eventually rename to networkConfigurator

A.networkLayer.configurator.configureRoutingTable bool true

add routing entries to routing table (uses the configurator module)

A.networkLayer.ip.interfaceTableModule string

The path to the InterfaceTable module

A.networkLayer.ip.routingTableModule string
A.networkLayer.ip.arpModule string
A.networkLayer.ip.icmpModule string
A.networkLayer.ip.procDelay double 0s
A.networkLayer.ip.timeToLive int 32
A.networkLayer.ip.multicastTimeToLive int 32
A.networkLayer.ip.fragmentTimeout double 60s
A.networkLayer.ip.forceBroadcast bool false
A.networkLayer.icmp.interfaceTableModule string

The path to the InterfaceTable module

A.networkLayer.icmp.routingTableModule string
B.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

B.routingTable.interfaceTableModule string

The path to the InterfaceTable module

B.routingTable.netmaskRoutes string "*"

maintain netmask routes for interfaces

B.routingTable.multicastForwarding bool false

turns multicast forwarding on/off

B.routingTable.useAdminDist bool false

Use Cisco like administrative distances

B.routingTable.routingFile string ""

routing table file name

B.bgp.interfaceTableModule string

The path to the InterfaceTable module

B.bgp.routingTableModule string
B.bgp.bgpConfig xml
B.bgp.dataTransferMode string "bytecount"
B.snifferIn.config xml

Configuration file

B.snifferOut.config xml

Configuration file

B.networkLayer.configurator.interfaceTableModule string

The path to the InterfaceTable module

B.networkLayer.configurator.networkConfiguratorModule string "configurator"

TODO: eventually rename to networkConfigurator

B.networkLayer.configurator.configureRoutingTable bool true

add routing entries to routing table (uses the configurator module)

B.networkLayer.ip.interfaceTableModule string

The path to the InterfaceTable module

B.networkLayer.ip.routingTableModule string
B.networkLayer.ip.arpModule string
B.networkLayer.ip.icmpModule string
B.networkLayer.ip.procDelay double 0s
B.networkLayer.ip.timeToLive int 32
B.networkLayer.ip.multicastTimeToLive int 32
B.networkLayer.ip.fragmentTimeout double 60s
B.networkLayer.ip.forceBroadcast bool false
B.networkLayer.icmp.interfaceTableModule string

The path to the InterfaceTable module

B.networkLayer.icmp.routingTableModule string
configurator.minLinkWeight double 1E-3
configurator.assignAddresses bool true

assign IP addresses to all interfaces in the network

configurator.assignDisjunctSubnetAddresses bool true

avoid using the same address prefix and netmask on different links when assigning IP addresses to interfaces

configurator.optimizeRoutes bool true

optimize routing tables by merging routes, the resulting routing table might route more packets than the original (used only if addStaticRoutes is true)

configurator.dumpTopology bool false

print extracted network topology to the module output

configurator.dumpLinks bool false

print recognized network links to the module output

configurator.dumpAddresses bool false

print assigned IP addresses for all interfaces to the module output

configurator.dumpRoutes bool false

print configured and optimized routing tables for all nodes to the module output

configurator.dumpConfig string ""

write configuration into the given config file that can be fed back to speed up subsequent runs (network configurations)

Source code:

network Net
{
    types:
        channel LINK_100 extends ned.DatarateChannel
        {
            parameters:
                delay = 0;
                datarate = 100Mbps;
        }

    submodules:
        A: BGPRouterSimple {
            parameters:
                @display("p=80,60");
        }
        B: BGPRouterSimple {
            parameters:
                @display("p=200,60");
        }
        configurator: IPv4NetworkConfigurator {
            @display("p=62,127");
            config = xmldoc("IPv4Config.xml");
            //assignAddresses = false;
            //assignDisjunctSubnetAddresses = false;
            addStaticRoutes = false;
            addDefaultRoutes = false;
            addSubnetRoutes = false;
        }
    connections:
        A.pppg++ <--> LINK_100 <--> B.pppg++;
}