eth_100m_fd_tx_ifg.test 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. %description:
  2. EtherMAC and EtherMACFullDuplex modules: tests IFG in full 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","EtherMACFullDuplex"}
  26. *.host*.queueType = ${"", "DropTailQueue"}
  27. *.host*.mac.duplexMode = true # Full 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. %contains: logfile-2.txt
  43. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:8000000
  44. #2:10000008960000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000008960000 (100 byte) discard:0, delay:0, duration:8000000
  45. #3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:8000000
  46. #4:20000008960000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000008960000 (100 byte) discard:0, delay:0, duration:8000000
  47. %contains: logfile-3.txt
  48. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:8000000
  49. #2:10000008960000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000008960000 (100 byte) discard:0, delay:0, duration:8000000
  50. #3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:8000000
  51. #4:20000008960000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000008960000 (100 byte) discard:0, delay:0, duration:8000000
  52. %#--------------------------------------------------------------------------------------------------------------
  53. %not-contains: stdout
  54. undisposed object:
  55. %not-contains: stdout
  56. -- check module destructor
  57. %#--------------------------------------------------------------------------------------------------------------