eth_100m_hd_rxtx_ifg.test 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. %description:
  2. EtherMAC module: tests IFG in half duplex mode
  3. At 20s we try to transmit a packet but there is an incoming packet at that time.
  4. Transmission starts at the end of reception plus IFG.
  5. %inifile: {}.ini
  6. [General]
  7. #preload-ned-files = *.ned ../../*.ned @../../../../nedfiles.lst
  8. ned-path = .;../../../../src;../../lib
  9. network = EthTestNetwork
  10. record-eventlog = true
  11. #omnetpp 5.0 - 5.1 compatibility:
  12. eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
  13. output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
  14. output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
  15. snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
  16. #[Cmdenv]
  17. cmdenv-event-banners=false
  18. cmdenv-express-mode=false
  19. #[Parameters]
  20. **.ethch*.datarate = 100Mbps
  21. *.host1.app.destAddr = "AA-00-00-00-00-02"
  22. *.host1.app.script = "10:92 10:92 20:92 20:92"
  23. *.host1.mac.address = "AA-00-00-00-00-01"
  24. *.host2.app.destAddr = "AA-00-00-00-00-01"
  25. *.host2.app.script = "19.999999:1000"
  26. *.host2.mac.address = "AA-00-00-00-00-02"
  27. *.host*.macType = "EtherMAC" # ${"EtherMAC","EtherMACFullDuplex"}
  28. *.host*.queueType = ${"", "DropTailQueue"}
  29. *.host*.mac.duplexMode = false # Half duplex
  30. #*.host1.ethg$o.channel.logfile="logfile-${runnumber}.txt"
  31. **.ethch2.logfile="logfile-${runnumber}.txt"
  32. # these contains are for omnetpp 5.0. (rounding when converting double to simtime)
  33. %#--------------------------------------------------------------------------------------------------------------
  34. %contains: logfile-0.txt
  35. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:8000000
  36. #2:10000008960000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000008960000 (100 byte) discard:0, delay:0, duration:8000000
  37. #3:20000080600000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000080600000 (100 byte) discard:0, delay:0, duration:8000000
  38. #4:20000089560000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000089560000 (100 byte) discard:0, delay:0, duration:8000000
  39. %contains: logfile-1.txt
  40. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:8000000
  41. #2:10000008960000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000008960000 (100 byte) discard:0, delay:0, duration:8000000
  42. #3:20000080600000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000080600000 (100 byte) discard:0, delay:0, duration:8000000
  43. #4:20000089560000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000089560000 (100 byte) discard:0, delay:0, duration:8000000
  44. %#--------------------------------------------------------------------------------------------------------------
  45. %not-contains: stdout
  46. undisposed object:
  47. %not-contains: stdout
  48. -- check module destructor
  49. %#--------------------------------------------------------------------------------------------------------------