%description: EtherMAC module: tests IFG and framebursting in half duplex mode on gigabit ethernet. 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 = 1Gbps *.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 **.host*.mac.frameBursting = ${true,false} #*.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) # logfile-0.txt and logfile-2.txt are same!!! # logfile-1.txt and logfile-3.txt are same!!! %#-------------------------------------------------------------------------------------------------------------- %contains: logfile-0.txt #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (520 byte) discard:0, delay:0, duration:4160000 #2:10000004160000: 'FilledIFG' (inet::EtherFilledIFG) sent:10000004160000 (12 byte) discard:0, delay:0, duration:96000 #3:10000004256000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000004256000 (100 byte) discard:0, delay:0, duration:800000 #4:20000007160000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000007160000 (520 byte) discard:0, delay:0, duration:4160000 #5:20000011320000: 'FilledIFG' (inet::EtherFilledIFG) sent:20000011320000 (12 byte) discard:0, delay:0, duration:96000 #6:20000011416000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000011416000 (100 byte) discard:0, delay:0, duration:800000 %contains: logfile-1.txt #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (520 byte) discard:0, delay:0, duration:4160000 #2:10000004256000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000004256000 (520 byte) discard:0, delay:0, duration:4160000 #3:20000007160000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000007160000 (520 byte) discard:0, delay:0, duration:4160000 #4:20000011416000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000011416000 (520 byte) discard:0, delay:0, duration:4160000 %contains: logfile-2.txt #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (520 byte) discard:0, delay:0, duration:4160000 #2:10000004160000: 'FilledIFG' (inet::EtherFilledIFG) sent:10000004160000 (12 byte) discard:0, delay:0, duration:96000 #3:10000004256000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000004256000 (100 byte) discard:0, delay:0, duration:800000 #4:20000007160000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000007160000 (520 byte) discard:0, delay:0, duration:4160000 #5:20000011320000: 'FilledIFG' (inet::EtherFilledIFG) sent:20000011320000 (12 byte) discard:0, delay:0, duration:96000 #6:20000011416000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000011416000 (100 byte) discard:0, delay:0, duration:800000 %contains: logfile-3.txt #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (520 byte) discard:0, delay:0, duration:4160000 #2:10000004256000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000004256000 (520 byte) discard:0, delay:0, duration:4160000 #3:20000007160000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000007160000 (520 byte) discard:0, delay:0, duration:4160000 #4:20000011416000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000011416000 (520 byte) discard:0, delay:0, duration:4160000 %#-------------------------------------------------------------------------------------------------------------- %not-contains: stdout undisposed object: %not-contains: stdout -- check module destructor %#--------------------------------------------------------------------------------------------------------------