%description:
EtherMAC and EtherMACFullDuplex module: tests IFG in full duplex mode on gigabit ethernet


%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 = ""
*.host2.mac.address = "AA-00-00-00-00-02"

*.host*.macType = ${"EtherMAC","EtherMACFullDuplex"}
*.host*.queueType = ${"", "DropTailQueue"}
*.host*.mac.duplexMode = true     # Full duplex

#*.host1.ethg$o.channel.logfile="logfile-${runnumber}.txt"
**.ethch2.logfile="logfile-${runnumber}.txt"


# logfile-*.txt are same!!!

%contains: logfile-0.txt
#1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:800000
#2:10000000896000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000896000 (100 byte) discard:0, delay:0, duration:800000
#3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:800000
#4:20000000896000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000896000 (100 byte) discard:0, delay:0, duration:800000

%contains: logfile-1.txt
#1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:800000
#2:10000000896000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000896000 (100 byte) discard:0, delay:0, duration:800000
#3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:800000
#4:20000000896000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000896000 (100 byte) discard:0, delay:0, duration:800000

%contains: logfile-2.txt
#1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:800000
#2:10000000896000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000896000 (100 byte) discard:0, delay:0, duration:800000
#3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:800000
#4:20000000896000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000896000 (100 byte) discard:0, delay:0, duration:800000

%contains: logfile-3.txt
#1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:800000
#2:10000000896000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000896000 (100 byte) discard:0, delay:0, duration:800000
#3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:800000
#4:20000000896000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000896000 (100 byte) discard:0, delay:0, duration:800000

%#--------------------------------------------------------------------------------------------------------------
%not-contains: stdout
undisposed object:
%not-contains: stdout
-- check module destructor
%#--------------------------------------------------------------------------------------------------------------
