eth_giga_fd_tx_ifg.test 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. %description:
  2. EtherMAC and EtherMACFullDuplex module: tests IFG in full duplex mode on gigabit ethernet
  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 = 1Gbps
  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. # logfile-*.txt are same!!!
  31. %contains: logfile-0.txt
  32. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:800000
  33. #2:10000000896000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000896000 (100 byte) discard:0, delay:0, duration:800000
  34. #3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:800000
  35. #4:20000000896000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000896000 (100 byte) discard:0, delay:0, duration:800000
  36. %contains: logfile-1.txt
  37. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:800000
  38. #2:10000000896000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000896000 (100 byte) discard:0, delay:0, duration:800000
  39. #3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:800000
  40. #4:20000000896000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000896000 (100 byte) discard:0, delay:0, duration:800000
  41. %contains: logfile-2.txt
  42. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:800000
  43. #2:10000000896000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000896000 (100 byte) discard:0, delay:0, duration:800000
  44. #3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:800000
  45. #4:20000000896000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000896000 (100 byte) discard:0, delay:0, duration:800000
  46. %contains: logfile-3.txt
  47. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (100 byte) discard:0, delay:0, duration:800000
  48. #2:10000000896000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000896000 (100 byte) discard:0, delay:0, duration:800000
  49. #3:20000000000000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000000000 (100 byte) discard:0, delay:0, duration:800000
  50. #4:20000000896000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000000896000 (100 byte) discard:0, delay:0, duration:800000
  51. %#--------------------------------------------------------------------------------------------------------------
  52. %not-contains: stdout
  53. undisposed object:
  54. %not-contains: stdout
  55. -- check module destructor
  56. %#--------------------------------------------------------------------------------------------------------------