sctp_flowcontrol.test 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. %description:
  2. Testing SCTP flowcontrol: The server is slow. As its arwnd drops to zero,
  3. messages with higher TSNs have to be dropped to make room for the expected ones.
  4. %#--------------------------------------------------------------------------------------------------------------
  5. %#--------------------------------------------------------------------------------------------------------------
  6. %inifile: omnetpp.ini
  7. [General]
  8. network=SCTPFeatureTest
  9. cmdenv-event-banners=false
  10. cmdenv-express-mode = false
  11. tkenv-plugin-path = ../../../etc/plugins
  12. ned-path = .;../../../../src;../../lib
  13. #omnetpp 5.0 - 5.1 compatibility:
  14. eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
  15. output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
  16. output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
  17. snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
  18. **.testing = false
  19. **.testTimeout = 0
  20. # udp app (off)
  21. **.numUdpApps = 0
  22. **.udpType = ""
  23. **.numTcpApps = 0
  24. **.tcpType = "TCP"
  25. # sctp apps
  26. **.sctp_client.numSctpApps = 1
  27. **.sctp_client.sctpType="SCTP"
  28. **.sctp_client.sctpApp[0].typename = "SCTPClient"
  29. **.sctp_client.sctpApp[0].localAddress = "10.1.1.1"
  30. **.sctp_client.sctpApp[0].connectAddress = "10.1.3.1"
  31. **.sctp_client.sctpApp[0].primaryPath = "10.1.3.1"
  32. **.sctp_client.sctpApp[0].connectPort = 6666
  33. **.sctp_client.sctpApp[0].requestLength= 800
  34. **.sctp_client.sctpApp[0].startTime = truncnormal(1s,0.2s)
  35. **.sctp_client.sctpApp[0].stopTime = truncnormal(60s,2s)
  36. **.sctp_client.sctpApp[0].numRequestsPerSession = 100000000
  37. **.sctp_client.sctpApp[0].queueSize = 100
  38. **.sctp_client.sctp.swsLimit=3000
  39. **.sctpApp[0].outboundStreams = 4
  40. **.sctpApp[0].inboundStreams = 4
  41. **.sctp_server.numSctpApps = 1
  42. **.sctp_server.sctpType="SCTP"
  43. **.sctp_server.sctpApp[0].typename = "SCTPServer"
  44. **.sctp_server.sctpApp[0].localAddress = "10.1.3.1"
  45. **.sctp_server.sctpApp[0].localPort = 6666
  46. **.sctp_server.sctpApp[*].numPacketsToReceivePerClient = 0
  47. **.sctp_server.sctpApp[0].messagesToPush = 1
  48. **.sctp_server.sctp.tellArwnd = false
  49. **.sctp_server.sctp.swsLimit=3000
  50. **.sctp_server.sctpApp[0].readingInterval =exponential(0.15s)
  51. # sctp settings
  52. **.sctp.sctpAlgorithmClass = "SCTPAlg"
  53. **.sctp.bytesToAddPerRcvdChunk = 250
  54. **.sctp.bytesToAddPerPeerChunk = 250
  55. # NIC configuration
  56. #**.ppp[*].queueType = "DropTailQueue" # in routers
  57. #**.ppp[*].queue.frameCapacity = 100 # in routers
  58. #**.ppp[*].ppp.mtu = 1500 B
  59. #**.vector-recording = false
  60. %#--------------------------------------------------------------------------------------------------------------
  61. %contains-regex: results/General-0.sca
  62. scalar SCTPFeatureTest.sctp_server.sctp[ \t]*"Drops Because New TSN Greater Than Highest TSN"[ \t]*[1-9][0-9]*
  63. %#--------------------------------------------------------------------------------------------------------------