ICMPv6_delivery.test 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. %description:
  2. Test for bug #473: ICMPv6 error messages are delivered to the transport layer protocol
  3. that initiated the packet causing the error.
  4. NClientsEth example network is used, with one client.
  5. The client sends an UDP datagram to an unopened port of the
  6. server. The server generates an Destination Unreachable ICMPv6
  7. error that should be received by the client application in the
  8. form of an error indication.
  9. %inifile: {}.ini
  10. [General]
  11. ned-path = ../../../../examples;../../../../src
  12. network = inet.examples.ipv6.nclients.NClientsEth
  13. sim-time-limit=15s
  14. cmdenv-express-mode=false
  15. #omnetpp 5.0 - 5.1 compatibility:
  16. eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
  17. output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
  18. output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
  19. snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
  20. # number of client computers
  21. *.n = 1
  22. # udp apps
  23. **.cli[*].numUdpApps = 1
  24. **.cli[*].udpApp[*].typename = "UDPBasicApp"
  25. **.cli[*].udpApp[0].destAddresses = "aaaa:2:2::8aa:ff:fe00:8" # "srv" does not work
  26. **.cli[*].udpApp[0].destPort = 1000
  27. **.cli[*].udpApp[0].messageLength = 100B
  28. **.cli[*].udpApp[0].startTime = 10s
  29. **.cli[*].udpApp[0].stopTime = 11s
  30. **.cli[*].udpApp[0].sendInterval = 10s
  31. **.srv.numUdpApps = 1
  32. **.srv.udpApp[*].typename = "UDPSink"
  33. **.srv.udpApp[0].localPort = 1001
  34. # Ethernet NIC configuration
  35. **.eth[*].queueType = "DropTailQueue" # in routers
  36. **.eth[*].queue.dataQueue.frameCapacity = 10 # in routers
  37. **.eth[*].mac.duplexEnabled = true
  38. %contains: stdout
  39. ICMPv6 packet: passing it to higher layer
  40. %contains: stdout
  41. Ignoring UDP error report
  42. %#--------------------------------------------------------------------------------------------------------------
  43. %not-contains: stdout
  44. undisposed object:
  45. %not-contains: stdout
  46. -- check module destructor
  47. %#--------------------------------------------------------------------------------------------------------------