1234567891011121314151617181920212223242526272829303132333435 |
- [General]
- network = MixedNetwork
- tkenv-plugin-path = ../../../etc/plugins
- *.numCHosts = 10
- *.numRipRouters = 10
- *.cHost[0].numPingApps = 1
- *.cHost[0].pingApp[0].destAddr = "rHost"
- *.cHost[0].pingApp[0].printPing = true
- [Config stable]
- sim-time-limit = 60s
- *.scenarioManager.script = xml("<scenario/>")
- [Config disconnect]
- sim-time-limit = 150s
- *.scenarioManager.script = \
- xml("<scenario>" \
- +"<disconnect t='31' src-module='rRouter[0]' src-gate='ethg[3]' />" \
- +"<disconnect t='91' src-module='rRouter[0]' src-gate='ethg[1]' />" \
- +"</scenario>")
- [Config shutdown-restart]
- sim-time-limit = 280s
- **.hasStatus = true
- *.scenarioManager.script = \
- xml("<scenario>" \
- +"<tell t='31' module='lifecycleController' target='rRouter[8]' operation='NodeShutdownOperation'/>" \
- +"<tell t='91' module='lifecycleController' target='rRouter[1]' operation='NodeShutdownOperation'/>" \
- +"<tell t='151' module='lifecycleController' target='rRouter[1]' operation='NodeStartOperation'/>" \
- +"<tell t='211' module='lifecycleController' target='rRouter[8]' operation='NodeStartOperation'/>" \
- +"</scenario>")
|