sctp_addip_setPrimary.test 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. %description:
  2. Testing Add-IP: Start with a multihomed network. After 10s the server
  3. asks the client to set the primary address to the second path.
  4. Retransmissions should then be visible on the second path.
  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 = truncnormal(1s,0.2s)
  36. **.sctp_client.sctpApp[0].stopTime = truncnormal(20s,2s)
  37. **.sctp_client.sctpApp[0].numRequestsPerSession = 100000000
  38. **.sctp_client.sctpApp[0].queueSize = 100
  39. **.sctp_client.sctpApp[0].outboundStreams = 1
  40. **.sctp_client.sctp.chunks = "ASCONF,ASCONF_ACK"
  41. **.sctp_client.sctp.addAddress = ""
  42. **.sctp_client.sctp.addIpType = "0"
  43. **.sctp_client.sctp.addTime = 0s
  44. **.sctp_server.numSctpApps = 1
  45. **.sctp_server.sctpType="SCTP"
  46. **.sctp_server.sctpApp[0].typename = "SCTPServer"
  47. **.sctp_server.sctpApp[*].localAddress = "10.1.3.1 10.2.3.1"
  48. **.sctp_server.sctpApp[0].localPort = 6666
  49. **.sctp_server.sctpApp[*].queueSize = 0 #Size of sendQueue before App is notified to send new data
  50. **.sctp_server.sctpApp[*].numPacketsToSendPerClient = 0
  51. **.sctp_server.sctpApp[*].numPacketsToReceivePerClient = 0
  52. **.sctp_server.sctpApp[*].outboundStreams = 1
  53. **.sctp_server.sctp.chunks = "ASCONF,ASCONF_ACK"
  54. **.sctp_server.sctp.addAddress = "10.2.3.1"
  55. **.sctp_server.sctp.addIpType = "49156"
  56. #NONE = 0, SET_PRIMARY_ADDRESS= 49156, ADAPTATION_LAYER_INDICATION= 49158, SUPPORTED_EXTENSIONS= 32776,
  57. #ADD_IP_ADDRESS = 49153, DELETE_IP_ADDRESS= 49154, ERROR_CAUSE_INDICATION= 49155, SUCCESS_INDICATION= 49157
  58. **.sctp_server.sctp.addTime = 10s
  59. # sctp settings
  60. **.sctp.sctpAlgorithmClass = "SCTPAlg"
  61. **.sctp.addIP = true
  62. %#--------------------------------------------------------------------------------------------------------------
  63. %contains-regex: results/General-0.sca
  64. scalar multihomed.sctp_client.sctp "Number of Fast Retransmissions 1:10.1.3.1" [1-9][0-9]*
  65. %#--------------------------------------------------------------------------------------------------------------