sctp_congestion.test 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. %description:
  2. Testing SCTP congestion control: A multi-homed client sends data to a multi-homed server.
  3. Due to a lossy link data gets lost and has to be retransmitted. We have to see fast and timer
  4. based retransmissions.
  5. %#--------------------------------------------------------------------------------------------------------------
  6. %#--------------------------------------------------------------------------------------------------------------
  7. %inifile: omnetpp.ini
  8. [General]
  9. network=multihomed
  10. cmdenv-event-banners=false
  11. cmdenv-express-mode = false
  12. tkenv-plugin-path = ../../../etc/plugins
  13. ned-path = .;../../../../src;../../lib
  14. #omnetpp 5.0 - 5.1 compatibility:
  15. eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
  16. output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
  17. output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
  18. snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
  19. **.testing = false
  20. **.testTimeout = 0
  21. # udp app (off)
  22. **.numUdpApps = 0
  23. **.udpType = ""
  24. **.numTcpApps = 0
  25. **.tcpType = "TCP"
  26. # sctp apps
  27. **.sctp_client.numSctpApps = 1
  28. **.sctp_client.sctpType="SCTP"
  29. **.sctp_client.sctpApp[0].typename = "SCTPClient"
  30. **.sctp_client.sctpApp[0].localAddress = "10.1.1.1 10.2.1.1"
  31. **.sctp_client.sctpApp[0].connectAddress = "10.1.3.1"
  32. **.sctp_client.sctpApp[0].primaryPath = "10.1.3.1"
  33. **.sctp_client.sctpApp[0].connectPort = 6666
  34. **.sctp_client.sctpApp[0].requestLength= 1452
  35. **.sctp_client.sctpApp[0].startTime = 1s
  36. **.sctp_client.sctpApp[0].stopTime = 500s
  37. **.sctp_client.sctpApp[0].numRequestsPerSession = 100000000
  38. **.sctp_client.sctpApp[0].queueSize = 100
  39. **.sctp_server.numSctpApps = 1
  40. **.sctp_server.sctpType="SCTP"
  41. **.sctp_server.sctpApp[0].typename = "SCTPServer"
  42. **.sctp_server.sctpApp[0].localAddress = "10.1.3.1 10.2.3.1"
  43. **.sctp_server.sctpApp[0].localPort = 6666
  44. **.sctp_server.sctpApp[*].queueSize = 0 #Size of sendQueue before App is notified to send new data
  45. **.sctp_server.sctpApp[*].numPacketsToSendPerClient = 0
  46. **.sctp_server.sctpApp[*].numPacketsToReceivePerClient = 0
  47. **.finishEndSimulation = true
  48. # sctp settings
  49. **.sctp.sctpAlgorithmClass = "SCTPAlg"
  50. %#--------------------------------------------------------------------------------------------------------------
  51. %contains-regex: stdout
  52. Association 1: number of Fast RTX=[1-9][0-9][0-9]*, number of Timer-Based RTX=[1-9]*
  53. %contains-regex: results/General-0.sca
  54. scalar multihomed.sctp_server.sctp[ \t]*"Number of Bytes received from 3:10.2.1.1"[ \t]*[1-9][0-9]*
  55. %#--------------------------------------------------------------------------------------------------------------