[General]
network = LDPTEST
#debug-on-errors = true
sim-time-limit = 15s
#cpu-time-limit= 5800000s
total-stack = 64MiB
tkenv-plugin-path = ../../../etc/plugins

**.host1.numUdpApps = 1
**.host1.udpApp[*].typename = "UDPBasicApp"
**.host1.udpApp[0].localPort = 100
**.host1.udpApp[0].destPort = 100
**.host1.udpApp[0].messageLength = 128 bytes
**.host1.udpApp[0].sendInterval = 0.01s
**.host1.udpApp[0].destAddresses = "host2"

**.host3.numUdpApps = 1
**.host3.udpApp[*].typename = "UDPBasicApp"
**.host3.udpApp[0].localPort = 100
**.host3.udpApp[0].destPort = 100
**.host3.udpApp[0].messageLength = 128 bytes
**.host3.udpApp[0].sendInterval = 0.01s
**.host3.udpApp[0].destAddresses = "host4"

**.host{2..4}.numUdpApps = 1
**.host{2..4}.udpApp[*].typename = "UDPSink"
**.host{2..4}.udpApp[0].localPort = 100

**.numUdpApps = 0
**.udpApp[*].typename = "UDPBasicApp"

# tcp apps
**.host*.numTcpApps = 0
**.host*.tcpApp[*].typename = "TCPGenericSrvApp"
**.host*.tcpApp[0].localAddress = ""
**.host*.tcpApp[0].localPort = 1000
**.host*.tcpApp[0].replyDelay = 0

# tcp config
**.tcpApp[*].dataTransferMode = "object"
**.ldp.dataTransferMode = "object"

# ip config
**.host1.routingTable.routingFile = "host1.rt"
**.host2.routingTable.routingFile = "host2.rt"
**.host3.routingTable.routingFile = "host3.rt"
**.host4.routingTable.routingFile = "host4.rt"

# LSR configuration

**.LSR1.routingTable.routingFile = "LSR1.rt"
**.LSR2.routingTable.routingFile = "LSR2.rt"
**.LSR3.routingTable.routingFile = "LSR3.rt"
**.LSR4.routingTable.routingFile = "LSR4.rt"
**.LSR5.routingTable.routingFile = "LSR5.rt"

# NIC configuration
**.ppp[*].queueType = "DropTailQueue" # in routers
**.ppp[*].queue.frameCapacity = 10  # in routers

# LDP, MPLS settings
**.LSR*.holdTime = 6s
**.LSR*.helloInterval = 2s

# scenario
**.scenarioManager.script = xmldoc("scenario.xml")
