12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- %description:
- EtherMAC module: tests IFG in half duplex mode
- At 20s we try to transmit a packet but there is an incoming packet at that time.
- Transmission starts at the end of reception plus IFG.
- %inifile: {}.ini
- [General]
- #preload-ned-files = *.ned ../../*.ned @../../../../nedfiles.lst
- ned-path = .;../../../../src;../../lib
- network = EthTestNetwork
- record-eventlog = true
- #omnetpp 5.0 - 5.1 compatibility:
- eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
- output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
- output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
- snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
- #[Cmdenv]
- cmdenv-event-banners=false
- cmdenv-express-mode=false
- #[Parameters]
- **.ethch*.datarate = 100Mbps
- *.host1.app.destAddr = "AA-00-00-00-00-02"
- *.host1.app.script = "10:92 10:92 20:92 20:92"
- *.host1.mac.address = "AA-00-00-00-00-01"
- *.host2.app.destAddr = "AA-00-00-00-00-01"
- *.host2.app.script = "19.999999:1000"
- *.host2.mac.address = "AA-00-00-00-00-02"
- *.host*.macType = "EtherMAC" # ${"EtherMAC","EtherMACFullDuplex"}
- *.host*.queueType = ${"", "DropTailQueue"}
- *.host*.mac.duplexMode = false # Half duplex
- #*.host1.ethg$o.channel.logfile="logfile-${runnumber}.txt"
- **.ethch2.logfile="logfile-${runnumber}.txt"
- # these contains are for omnetpp 5.0. (rounding when converting double to simtime)
- %#--------------------------------------------------------------------------------------------------------------
- %contains: logfile-0.txt
- #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:8000000
- #2:10000008960000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000008960000 (100 byte) discard:0, delay:0, duration:8000000
- #3:20000080600000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000080600000 (100 byte) discard:0, delay:0, duration:8000000
- #4:20000089560000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000089560000 (100 byte) discard:0, delay:0, duration:8000000
- %contains: logfile-1.txt
- #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:8000000
- #2:10000008960000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000008960000 (100 byte) discard:0, delay:0, duration:8000000
- #3:20000080600000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000080600000 (100 byte) discard:0, delay:0, duration:8000000
- #4:20000089560000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000089560000 (100 byte) discard:0, delay:0, duration:8000000
- %#--------------------------------------------------------------------------------------------------------------
- %not-contains: stdout
- undisposed object:
- %not-contains: stdout
- -- check module destructor
- %#--------------------------------------------------------------------------------------------------------------
|