sctp_failover.test 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. %description:
  2. Testing SCTP failover: Client and server are multi-homed. When the connection to the server is lost,
  3. the client will retransmit the data and finally switch to the second path. Thus there will be timer-based
  4. retransmissions, but still the expected amount of data.
  5. %#--------------------------------------------------------------------------------------------------------------
  6. %#--------------------------------------------------------------------------------------------------------------
  7. %inifile: omnetpp.ini
  8. [General]
  9. network=failover
  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. **.scenarioManager.script = xmldoc("../../lib/sctp_scenario.xml")
  22. # udp app (off)
  23. **.numUdpApps = 0
  24. **.udpType = ""
  25. **.numTcpApps = 0
  26. **.tcpType = "TCP"
  27. # sctp apps
  28. **.sctp_client.numSctpApps = 1
  29. **.sctp_client.sctpType="SCTP"
  30. **.sctp_client.sctpApp[0].typename = "SCTPClient"
  31. **.sctp_client.sctpApp[*].localAddress = "10.1.1.1 10.2.1.1"
  32. **.sctp_client.sctpApp[0].localAddress = "10.1.1.1 10.2.1.1"
  33. **.sctp_client.sctpApp[0].connectAddress = "10.1.3.1"
  34. **.sctp_client.sctpApp[0].primaryPath = "10.1.3.1"
  35. **.sctp_client.sctpApp[0].connectPort = 6666
  36. **.sctp_client.sctpApp[0].requestLength= 1452
  37. **.sctp_client.sctpApp[0].startTime = truncnormal(1s,0.2s)
  38. **.sctp_client.sctpApp[0].stopTime = -1s
  39. **.sctp_client.sctpApp[0].numRequestsPerSession = 50
  40. **.sctp_client.sctpApp[0].queueSize = 0
  41. **.sctp_server.numSctpApps = 1
  42. **.sctp_server.sctpType="SCTP"
  43. **.sctp_server.sctpApp[0].typename = "SCTPServer"
  44. **.sctp_server.sctpApp[*].localAddress = "10.1.3.1 10.2.3.1"
  45. **.sctp_server.sctpApp[0].localPort = 6666
  46. **.sctp_server.sctpApp[*].queueSize = 0 #Size of sendQueue before App is notified to send new data
  47. **.sctp_server.sctpApp[*].numPacketsToSendPerClient = 0
  48. **.sctp_server.sctpApp[*].numPacketsToReceivePerClient = 50
  49. # sctp settings
  50. **.sctp.sctpAlgorithmClass = "SCTPAlg"
  51. %#--------------------------------------------------------------------------------------------------------------
  52. %contains-regex: stdout
  53. Association 1: number of Fast RTX=0, number of Timer-Based RTX=[1-9][0-9]*
  54. %contains: stdout
  55. Association 1: sent bytes=72600, acked bytes=72600
  56. %#--------------------------------------------------------------------------------------------------------------