Network ShortestPath

Package: inet.examples.aodv
File: examples/aodv/AODVSmallNetworks.ned

(no description)

IdealRadioMedium IPv4NetworkConfigurator RoutingTableRecorder LifecycleController ScenarioManager AODVRouter AODVRouter AODVRouter AODVRouter AODVRouter

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
display bgb=961,662

Unassigned submodule parameters:

Name Type Default value Description
radioMedium.neighborCache.refillPeriod double
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)

routingTableRecorder.enabled bool true
scenarioManager.script xml xml("")
sender.status.initialStatus string "UP"

TODO @signal, @statistic

sender.routingTable.forwarding bool
sender.routingTable.multicastForwarding bool
sender.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

sender.pcapRecorder.verbose bool false

whether to log packets on the module output

sender.pcapRecorder.pcapFile string ""

the PCAP file to be written

sender.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

sender.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

sender.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

sender.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

sender.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

sender.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

sender.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

sender.lo0.lo.mtu int 4470B
sender.aodv.routingTableModule string "^.routingTable"
sender.aodv.interfaceTableModule string "^.interfaceTable"
sender.aodv.networkProtocolModule string "^.networkLayer.ip"
sender.aodv.askGratuitousRREP bool false

see RFC 3561: 6.6.3

sender.aodv.useHelloMessages bool false

see RFC 3561: 6.9

sender.aodv.useLocalRepair bool false

see RFC 3561: 6.12 *not implemented yet*

sender.aodv.udpPort int 654
sender.aodv.maxPeriodicJitter double helloInterval / 4

it MUST NOT be negative; it MUST NOT be greater than MESSAGE_INTERVAL/2; it SHOULD NOT be greater than MESSAGE_INTERVAL/4.

sender.aodv.periodicJitter double uniform(0s, maxPeriodicJitter)

jitter for externally triggered message generation and message forwarding

sender.aodv.maxJitter double 5ms

RFC 5148: need more revise: As well as the decision as to whether to use jitter being dependent on the medium access control and lower layers, the selection of the MAXJITTER parameter SHOULD be appropriate to those mechanisms.

sender.aodv.jitter double uniform(0ms, maxJitter)

jitter for broadcasts

sender.aodv.helloInterval double 1s

every helloInterval seconds a node broadcasts Hello messages (if it is necessary)

sender.aodv.allowedHelloLoss int 2

allowedHelloLoss * helloInterval is the lifetime value for Hello messages

sender.aodv.activeRouteTimeout double 3s

the timeout value for cached routes If Hello messages are used, then the ACTIVE_ROUTE_TIMEOUT parameter value MUST be more than the value (ALLOWED_HELLO_LOSS * HELLO_INTERVAL).

sender.aodv.netDiameter int 35

the maximum possible number of hops between two nodes in the network

sender.aodv.nodeTraversalTime double 0.04s

an estimation of the average one-hop traversal time

sender.aodv.rerrRatelimit int 10

maximum number of RERR messages that the AODV may originate in 1s.

sender.aodv.rreqRetries int 2

specifies the number of times AODV will repeat an expanded ring search for a destination

sender.aodv.rreqRatelimit int 10

maximum number of RREQ messages that the AODV may originate in 1s.

sender.aodv.timeoutBuffer int 2

plus time to wait for a delayed RREP (due to congestion) (to omit this buffer set it to 0)

sender.aodv.ttlStart int 2

specifies the TTL value when initiating a route request

sender.aodv.ttlIncrement int 2

specifies the value by which the TTL will be incremented each time a RREQ is retransmitted

sender.aodv.ttlThreshold int 7

the maximum value of TTL over which NET_DIAMETER value will be used to broadcast any RREQ

sender.aodv.localAddTTL int 2

it is used by the formula which calculates the initial TTL of the RREQ for a local repair

sender.aodv.myRouteTimeout double 2 * activeRouteTimeout

the value of the lifetime field that a destination node places in RREPs

sender.aodv.deletePeriod double 5 * max(activeRouteTimeout, helloInterval)

the time after which an expired route is deleted

sender.aodv.blacklistTimeout double rreqRetries * netTraversalTime

the time after which a blacklisted node is removed from the blacklist

sender.aodv.netTraversalTime double 2 * nodeTraversalTime * netDiameter

an estimation of the traversal time for the complete network

sender.aodv.nextHopWait double nodeTraversalTime + 0.01s

timeout for a RREP-ACK

sender.aodv.pathDiscoveryTime double 2 * netTraversalTime

buffer timeout for each broadcasted RREQ message

intermediateNodeA.status.initialStatus string "UP"

TODO @signal, @statistic

intermediateNodeA.routingTable.forwarding bool
intermediateNodeA.routingTable.multicastForwarding bool
intermediateNodeA.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

intermediateNodeA.pcapRecorder.verbose bool false

whether to log packets on the module output

intermediateNodeA.pcapRecorder.pcapFile string ""

the PCAP file to be written

intermediateNodeA.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

intermediateNodeA.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

intermediateNodeA.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

intermediateNodeA.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

intermediateNodeA.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

intermediateNodeA.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

intermediateNodeA.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

intermediateNodeA.lo0.lo.mtu int 4470B
intermediateNodeA.aodv.routingTableModule string "^.routingTable"
intermediateNodeA.aodv.interfaceTableModule string "^.interfaceTable"
intermediateNodeA.aodv.networkProtocolModule string "^.networkLayer.ip"
intermediateNodeA.aodv.askGratuitousRREP bool false

see RFC 3561: 6.6.3

intermediateNodeA.aodv.useHelloMessages bool false

see RFC 3561: 6.9

intermediateNodeA.aodv.useLocalRepair bool false

see RFC 3561: 6.12 *not implemented yet*

intermediateNodeA.aodv.udpPort int 654
intermediateNodeA.aodv.maxPeriodicJitter double helloInterval / 4

it MUST NOT be negative; it MUST NOT be greater than MESSAGE_INTERVAL/2; it SHOULD NOT be greater than MESSAGE_INTERVAL/4.

intermediateNodeA.aodv.periodicJitter double uniform(0s, maxPeriodicJitter)

jitter for externally triggered message generation and message forwarding

intermediateNodeA.aodv.maxJitter double 5ms

RFC 5148: need more revise: As well as the decision as to whether to use jitter being dependent on the medium access control and lower layers, the selection of the MAXJITTER parameter SHOULD be appropriate to those mechanisms.

intermediateNodeA.aodv.jitter double uniform(0ms, maxJitter)

jitter for broadcasts

intermediateNodeA.aodv.helloInterval double 1s

every helloInterval seconds a node broadcasts Hello messages (if it is necessary)

intermediateNodeA.aodv.allowedHelloLoss int 2

allowedHelloLoss * helloInterval is the lifetime value for Hello messages

intermediateNodeA.aodv.activeRouteTimeout double 3s

the timeout value for cached routes If Hello messages are used, then the ACTIVE_ROUTE_TIMEOUT parameter value MUST be more than the value (ALLOWED_HELLO_LOSS * HELLO_INTERVAL).

intermediateNodeA.aodv.netDiameter int 35

the maximum possible number of hops between two nodes in the network

intermediateNodeA.aodv.nodeTraversalTime double 0.04s

an estimation of the average one-hop traversal time

intermediateNodeA.aodv.rerrRatelimit int 10

maximum number of RERR messages that the AODV may originate in 1s.

intermediateNodeA.aodv.rreqRetries int 2

specifies the number of times AODV will repeat an expanded ring search for a destination

intermediateNodeA.aodv.rreqRatelimit int 10

maximum number of RREQ messages that the AODV may originate in 1s.

intermediateNodeA.aodv.timeoutBuffer int 2

plus time to wait for a delayed RREP (due to congestion) (to omit this buffer set it to 0)

intermediateNodeA.aodv.ttlStart int 2

specifies the TTL value when initiating a route request

intermediateNodeA.aodv.ttlIncrement int 2

specifies the value by which the TTL will be incremented each time a RREQ is retransmitted

intermediateNodeA.aodv.ttlThreshold int 7

the maximum value of TTL over which NET_DIAMETER value will be used to broadcast any RREQ

intermediateNodeA.aodv.localAddTTL int 2

it is used by the formula which calculates the initial TTL of the RREQ for a local repair

intermediateNodeA.aodv.myRouteTimeout double 2 * activeRouteTimeout

the value of the lifetime field that a destination node places in RREPs

intermediateNodeA.aodv.deletePeriod double 5 * max(activeRouteTimeout, helloInterval)

the time after which an expired route is deleted

intermediateNodeA.aodv.blacklistTimeout double rreqRetries * netTraversalTime

the time after which a blacklisted node is removed from the blacklist

intermediateNodeA.aodv.netTraversalTime double 2 * nodeTraversalTime * netDiameter

an estimation of the traversal time for the complete network

intermediateNodeA.aodv.nextHopWait double nodeTraversalTime + 0.01s

timeout for a RREP-ACK

intermediateNodeA.aodv.pathDiscoveryTime double 2 * netTraversalTime

buffer timeout for each broadcasted RREQ message

intermediateNodeB.status.initialStatus string "UP"

TODO @signal, @statistic

intermediateNodeB.routingTable.forwarding bool
intermediateNodeB.routingTable.multicastForwarding bool
intermediateNodeB.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

intermediateNodeB.pcapRecorder.verbose bool false

whether to log packets on the module output

intermediateNodeB.pcapRecorder.pcapFile string ""

the PCAP file to be written

intermediateNodeB.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

intermediateNodeB.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

intermediateNodeB.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

intermediateNodeB.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

intermediateNodeB.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

intermediateNodeB.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

intermediateNodeB.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

intermediateNodeB.lo0.lo.mtu int 4470B
intermediateNodeB.aodv.routingTableModule string "^.routingTable"
intermediateNodeB.aodv.interfaceTableModule string "^.interfaceTable"
intermediateNodeB.aodv.networkProtocolModule string "^.networkLayer.ip"
intermediateNodeB.aodv.askGratuitousRREP bool false

see RFC 3561: 6.6.3

intermediateNodeB.aodv.useHelloMessages bool false

see RFC 3561: 6.9

intermediateNodeB.aodv.useLocalRepair bool false

see RFC 3561: 6.12 *not implemented yet*

intermediateNodeB.aodv.udpPort int 654
intermediateNodeB.aodv.maxPeriodicJitter double helloInterval / 4

it MUST NOT be negative; it MUST NOT be greater than MESSAGE_INTERVAL/2; it SHOULD NOT be greater than MESSAGE_INTERVAL/4.

intermediateNodeB.aodv.periodicJitter double uniform(0s, maxPeriodicJitter)

jitter for externally triggered message generation and message forwarding

intermediateNodeB.aodv.maxJitter double 5ms

RFC 5148: need more revise: As well as the decision as to whether to use jitter being dependent on the medium access control and lower layers, the selection of the MAXJITTER parameter SHOULD be appropriate to those mechanisms.

intermediateNodeB.aodv.jitter double uniform(0ms, maxJitter)

jitter for broadcasts

intermediateNodeB.aodv.helloInterval double 1s

every helloInterval seconds a node broadcasts Hello messages (if it is necessary)

intermediateNodeB.aodv.allowedHelloLoss int 2

allowedHelloLoss * helloInterval is the lifetime value for Hello messages

intermediateNodeB.aodv.activeRouteTimeout double 3s

the timeout value for cached routes If Hello messages are used, then the ACTIVE_ROUTE_TIMEOUT parameter value MUST be more than the value (ALLOWED_HELLO_LOSS * HELLO_INTERVAL).

intermediateNodeB.aodv.netDiameter int 35

the maximum possible number of hops between two nodes in the network

intermediateNodeB.aodv.nodeTraversalTime double 0.04s

an estimation of the average one-hop traversal time

intermediateNodeB.aodv.rerrRatelimit int 10

maximum number of RERR messages that the AODV may originate in 1s.

intermediateNodeB.aodv.rreqRetries int 2

specifies the number of times AODV will repeat an expanded ring search for a destination

intermediateNodeB.aodv.rreqRatelimit int 10

maximum number of RREQ messages that the AODV may originate in 1s.

intermediateNodeB.aodv.timeoutBuffer int 2

plus time to wait for a delayed RREP (due to congestion) (to omit this buffer set it to 0)

intermediateNodeB.aodv.ttlStart int 2

specifies the TTL value when initiating a route request

intermediateNodeB.aodv.ttlIncrement int 2

specifies the value by which the TTL will be incremented each time a RREQ is retransmitted

intermediateNodeB.aodv.ttlThreshold int 7

the maximum value of TTL over which NET_DIAMETER value will be used to broadcast any RREQ

intermediateNodeB.aodv.localAddTTL int 2

it is used by the formula which calculates the initial TTL of the RREQ for a local repair

intermediateNodeB.aodv.myRouteTimeout double 2 * activeRouteTimeout

the value of the lifetime field that a destination node places in RREPs

intermediateNodeB.aodv.deletePeriod double 5 * max(activeRouteTimeout, helloInterval)

the time after which an expired route is deleted

intermediateNodeB.aodv.blacklistTimeout double rreqRetries * netTraversalTime

the time after which a blacklisted node is removed from the blacklist

intermediateNodeB.aodv.netTraversalTime double 2 * nodeTraversalTime * netDiameter

an estimation of the traversal time for the complete network

intermediateNodeB.aodv.nextHopWait double nodeTraversalTime + 0.01s

timeout for a RREP-ACK

intermediateNodeB.aodv.pathDiscoveryTime double 2 * netTraversalTime

buffer timeout for each broadcasted RREQ message

intermediateNodeC.status.initialStatus string "UP"

TODO @signal, @statistic

intermediateNodeC.routingTable.forwarding bool
intermediateNodeC.routingTable.multicastForwarding bool
intermediateNodeC.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

intermediateNodeC.pcapRecorder.verbose bool false

whether to log packets on the module output

intermediateNodeC.pcapRecorder.pcapFile string ""

the PCAP file to be written

intermediateNodeC.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

intermediateNodeC.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

intermediateNodeC.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

intermediateNodeC.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

intermediateNodeC.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

intermediateNodeC.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

intermediateNodeC.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

intermediateNodeC.lo0.lo.mtu int 4470B
intermediateNodeC.aodv.routingTableModule string "^.routingTable"
intermediateNodeC.aodv.interfaceTableModule string "^.interfaceTable"
intermediateNodeC.aodv.networkProtocolModule string "^.networkLayer.ip"
intermediateNodeC.aodv.askGratuitousRREP bool false

see RFC 3561: 6.6.3

intermediateNodeC.aodv.useHelloMessages bool false

see RFC 3561: 6.9

intermediateNodeC.aodv.useLocalRepair bool false

see RFC 3561: 6.12 *not implemented yet*

intermediateNodeC.aodv.udpPort int 654
intermediateNodeC.aodv.maxPeriodicJitter double helloInterval / 4

it MUST NOT be negative; it MUST NOT be greater than MESSAGE_INTERVAL/2; it SHOULD NOT be greater than MESSAGE_INTERVAL/4.

intermediateNodeC.aodv.periodicJitter double uniform(0s, maxPeriodicJitter)

jitter for externally triggered message generation and message forwarding

intermediateNodeC.aodv.maxJitter double 5ms

RFC 5148: need more revise: As well as the decision as to whether to use jitter being dependent on the medium access control and lower layers, the selection of the MAXJITTER parameter SHOULD be appropriate to those mechanisms.

intermediateNodeC.aodv.jitter double uniform(0ms, maxJitter)

jitter for broadcasts

intermediateNodeC.aodv.helloInterval double 1s

every helloInterval seconds a node broadcasts Hello messages (if it is necessary)

intermediateNodeC.aodv.allowedHelloLoss int 2

allowedHelloLoss * helloInterval is the lifetime value for Hello messages

intermediateNodeC.aodv.activeRouteTimeout double 3s

the timeout value for cached routes If Hello messages are used, then the ACTIVE_ROUTE_TIMEOUT parameter value MUST be more than the value (ALLOWED_HELLO_LOSS * HELLO_INTERVAL).

intermediateNodeC.aodv.netDiameter int 35

the maximum possible number of hops between two nodes in the network

intermediateNodeC.aodv.nodeTraversalTime double 0.04s

an estimation of the average one-hop traversal time

intermediateNodeC.aodv.rerrRatelimit int 10

maximum number of RERR messages that the AODV may originate in 1s.

intermediateNodeC.aodv.rreqRetries int 2

specifies the number of times AODV will repeat an expanded ring search for a destination

intermediateNodeC.aodv.rreqRatelimit int 10

maximum number of RREQ messages that the AODV may originate in 1s.

intermediateNodeC.aodv.timeoutBuffer int 2

plus time to wait for a delayed RREP (due to congestion) (to omit this buffer set it to 0)

intermediateNodeC.aodv.ttlStart int 2

specifies the TTL value when initiating a route request

intermediateNodeC.aodv.ttlIncrement int 2

specifies the value by which the TTL will be incremented each time a RREQ is retransmitted

intermediateNodeC.aodv.ttlThreshold int 7

the maximum value of TTL over which NET_DIAMETER value will be used to broadcast any RREQ

intermediateNodeC.aodv.localAddTTL int 2

it is used by the formula which calculates the initial TTL of the RREQ for a local repair

intermediateNodeC.aodv.myRouteTimeout double 2 * activeRouteTimeout

the value of the lifetime field that a destination node places in RREPs

intermediateNodeC.aodv.deletePeriod double 5 * max(activeRouteTimeout, helloInterval)

the time after which an expired route is deleted

intermediateNodeC.aodv.blacklistTimeout double rreqRetries * netTraversalTime

the time after which a blacklisted node is removed from the blacklist

intermediateNodeC.aodv.netTraversalTime double 2 * nodeTraversalTime * netDiameter

an estimation of the traversal time for the complete network

intermediateNodeC.aodv.nextHopWait double nodeTraversalTime + 0.01s

timeout for a RREP-ACK

intermediateNodeC.aodv.pathDiscoveryTime double 2 * netTraversalTime

buffer timeout for each broadcasted RREQ message

receiver.status.initialStatus string "UP"

TODO @signal, @statistic

receiver.routingTable.forwarding bool
receiver.routingTable.multicastForwarding bool
receiver.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

receiver.pcapRecorder.verbose bool false

whether to log packets on the module output

receiver.pcapRecorder.pcapFile string ""

the PCAP file to be written

receiver.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

receiver.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

receiver.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

receiver.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

receiver.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

receiver.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

receiver.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

receiver.lo0.lo.mtu int 4470B
receiver.aodv.routingTableModule string "^.routingTable"
receiver.aodv.interfaceTableModule string "^.interfaceTable"
receiver.aodv.networkProtocolModule string "^.networkLayer.ip"
receiver.aodv.askGratuitousRREP bool false

see RFC 3561: 6.6.3

receiver.aodv.useHelloMessages bool false

see RFC 3561: 6.9

receiver.aodv.useLocalRepair bool false

see RFC 3561: 6.12 *not implemented yet*

receiver.aodv.udpPort int 654
receiver.aodv.maxPeriodicJitter double helloInterval / 4

it MUST NOT be negative; it MUST NOT be greater than MESSAGE_INTERVAL/2; it SHOULD NOT be greater than MESSAGE_INTERVAL/4.

receiver.aodv.periodicJitter double uniform(0s, maxPeriodicJitter)

jitter for externally triggered message generation and message forwarding

receiver.aodv.maxJitter double 5ms

RFC 5148: need more revise: As well as the decision as to whether to use jitter being dependent on the medium access control and lower layers, the selection of the MAXJITTER parameter SHOULD be appropriate to those mechanisms.

receiver.aodv.jitter double uniform(0ms, maxJitter)

jitter for broadcasts

receiver.aodv.helloInterval double 1s

every helloInterval seconds a node broadcasts Hello messages (if it is necessary)

receiver.aodv.allowedHelloLoss int 2

allowedHelloLoss * helloInterval is the lifetime value for Hello messages

receiver.aodv.activeRouteTimeout double 3s

the timeout value for cached routes If Hello messages are used, then the ACTIVE_ROUTE_TIMEOUT parameter value MUST be more than the value (ALLOWED_HELLO_LOSS * HELLO_INTERVAL).

receiver.aodv.netDiameter int 35

the maximum possible number of hops between two nodes in the network

receiver.aodv.nodeTraversalTime double 0.04s

an estimation of the average one-hop traversal time

receiver.aodv.rerrRatelimit int 10

maximum number of RERR messages that the AODV may originate in 1s.

receiver.aodv.rreqRetries int 2

specifies the number of times AODV will repeat an expanded ring search for a destination

receiver.aodv.rreqRatelimit int 10

maximum number of RREQ messages that the AODV may originate in 1s.

receiver.aodv.timeoutBuffer int 2

plus time to wait for a delayed RREP (due to congestion) (to omit this buffer set it to 0)

receiver.aodv.ttlStart int 2

specifies the TTL value when initiating a route request

receiver.aodv.ttlIncrement int 2

specifies the value by which the TTL will be incremented each time a RREQ is retransmitted

receiver.aodv.ttlThreshold int 7

the maximum value of TTL over which NET_DIAMETER value will be used to broadcast any RREQ

receiver.aodv.localAddTTL int 2

it is used by the formula which calculates the initial TTL of the RREQ for a local repair

receiver.aodv.myRouteTimeout double 2 * activeRouteTimeout

the value of the lifetime field that a destination node places in RREPs

receiver.aodv.deletePeriod double 5 * max(activeRouteTimeout, helloInterval)

the time after which an expired route is deleted

receiver.aodv.blacklistTimeout double rreqRetries * netTraversalTime

the time after which a blacklisted node is removed from the blacklist

receiver.aodv.netTraversalTime double 2 * nodeTraversalTime * netDiameter

an estimation of the traversal time for the complete network

receiver.aodv.nextHopWait double nodeTraversalTime + 0.01s

timeout for a RREP-ACK

receiver.aodv.pathDiscoveryTime double 2 * netTraversalTime

buffer timeout for each broadcasted RREQ message

Source code:

network ShortestPath
{
    parameters:
        @display("bgb=961,662");
    submodules:
        radioMedium: IdealRadioMedium {
            parameters:
                @display("p=50,50");
        }
        configurator: IPv4NetworkConfigurator {
            parameters:
                addDefaultRoutes = false;
                addStaticRoutes = false;
                addSubnetRoutes = false;
                config = xml("<config><interface hosts='*' address='145.236.x.x' netmask='255.255.0.0'/></config>");
                @display("p=50,100");
        }
        routingTableRecorder: RoutingTableRecorder {
            parameters:
                @display("p=50,150");
        }
        lifecycleController: LifecycleController {
            parameters:
                @display("p=50,200");
        }
        scenarioManager: ScenarioManager {
            parameters:
                script = default(xml("<scenario/>"));
                @display("p=50,250");
        }
        sender: AODVRouter {
            parameters:
                @display("i=device/pocketpc_s;r=,,#707070;p=283,63");
        }
        intermediateNodeA: AODVRouter {
            parameters:
                @display("i=device/pocketpc_s;r=,,#707070;p=203,206");
        }
        intermediateNodeB: AODVRouter {
            parameters:
                @display("i=device/pocketpc_s;r=,,#707070;p=385,256");
        }
        intermediateNodeC: AODVRouter {
            parameters:
                @display("i=device/pocketpc_s;r=,,#707070;p=292,325");
        }
        receiver: AODVRouter {
            parameters:
                @display("i=device/pocketpc_s;r=,,#707070;p=292,454");
        }
    connections allowunconnected:
}