pimsm_iptv.test 1.2 KB

12345678910111213141516171819202122232425262728
  1. %description:
  2. Testing the number of received multicast datagrams in examples/pim/iptv/ simulation.
  3. %#--------------------------------------------------------------------------------------------------------------
  4. %testprog: opp_run
  5. %extraargs: -c PIM_SM
  6. %#--------------------------------------------------------------------------------------------------------------
  7. %inifile: omnetpp.ini
  8. [General]
  9. ned-path = .;../../../../src;../../../../examples
  10. sim-time-limit = 35s
  11. output-scalar-file = test.sca
  12. **.udpApp[*].sentPk*.scalar-recording = true
  13. **.udpApp[*].rcvdPk*.scalar-recording = true
  14. **.scalar-recording = false
  15. **.vector-recording = false
  16. **.configurator.config = xmldoc("../../../../examples/pim/iptv/networkConfig.xml")
  17. **.ospf.ospfConfig = xmldoc("../../../../examples/pim/iptv/ASConfig.xml")
  18. include ../../../../examples/pim/iptv/omnetpp.ini
  19. %#--------------------------------------------------------------------------------------------------------------
  20. %contains-regex: test.sca
  21. scalar Network.server.udpApp\[0\]\s+sentPk:count\s+250
  22. %#--------------------------------------------------------------------------------------------------------------
  23. %contains-regex: test.sca
  24. scalar Network.client.udpApp\[0\]\s+rcvdPk:count\s+124