eth_100m_hd_tx_ifg.test 2.7 KB

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