sctp_streams.test 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. %description:
  2. Testing SCTP: Use of several streams using the fair bandwidth scheduler
  3. %#--------------------------------------------------------------------------------------------------------------
  4. %#--------------------------------------------------------------------------------------------------------------
  5. %inifile: omnetpp.ini
  6. [General]
  7. network=SCTPFeatureTest
  8. cmdenv-event-banners=false
  9. cmdenv-express-mode = false
  10. tkenv-plugin-path = ../../../etc/plugins
  11. ned-path = .;../../../../src;../../lib
  12. #omnetpp 5.0 - 5.1 compatibility:
  13. eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
  14. output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
  15. output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
  16. snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
  17. **.testing = false
  18. **.testTimeout = 0
  19. # udp app (off)
  20. **.numUdpApps = 0
  21. **.udpType = ""
  22. **.numTcpApps = 0
  23. **.tcpType = "TCP"
  24. # sctp apps
  25. **.sctp_client.numSctpApps = 1
  26. **.sctp_client.sctpType="SCTP"
  27. **.sctp_client.sctpApp[0].typename = "SCTPClient"
  28. **.sctp_client.sctpApp[0].localAddress = "10.1.1.1"
  29. **.sctp_client.sctpApp[0].connectAddress = "10.1.3.1"
  30. **.sctp_client.sctpApp[0].primaryPath = "10.1.3.1"
  31. **.sctp_client.sctpApp[0].connectPort = 6666
  32. **.sctp_client.sctpApp[0].requestLength= 1452
  33. **.sctp_client.sctpApp[0].startTime = truncnormal(1s,0.2s)
  34. **.sctp_client.sctpApp[0].stopTime = truncnormal(60s,2s)
  35. **.sctp_client.sctpApp[0].numRequestsPerSession = 100000000
  36. **.sctp_client.sctpApp[0].queueSize = 100
  37. **.sctpApp[0].outboundStreams = 4
  38. **.sctpApp[0].inboundStreams = 4
  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"
  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. # sctp settings
  48. **.sctp.sctpAlgorithmClass = "SCTPAlg"
  49. **.sctp.ssModule=4 # 0=ROUND_ROBIN 1=ROUND_ROBIN_PACKET 2=RANDOM_SCHEDULE 3=RANDOM_SCHEDULE_PACKET
  50. #4=FAIR_BANDWITH 5=FAIR_BANDWITH_PACKET 6=PRIORITY 7=FCFS 8=PATH_MANUAL 9=PATH_MAP_TO_PATH = 9
  51. # NIC configuration
  52. #**.ppp[*].queueType = "DropTailQueue" # in routers
  53. #**.ppp[*].queue.frameCapacity = 100 # in routers
  54. #**.ppp[*].ppp.mtu = 1500 B
  55. #**.vector-recording = false
  56. %#--------------------------------------------------------------------------------------------------------------
  57. %contains-regex: results/General-0.sca
  58. scalar SCTPFeatureTest.sctp_server.sctp[ \t]*"Bytes received on stream 0 of assoc 3"[ \t]*[1-9][0-9]*
  59. scalar SCTPFeatureTest.sctp_server.sctp[ \t]*"Bytes received on stream 1 of assoc 3"[ \t]*[1-9][0-9]*
  60. scalar SCTPFeatureTest.sctp_server.sctp[ \t]*"Bytes received on stream 2 of assoc 3"[ \t]*[1-9][0-9]*
  61. scalar SCTPFeatureTest.sctp_server.sctp[ \t]*"Bytes received on stream 3 of assoc 3"[ \t]*[1-9][0-9]*
  62. %#--------------------------------------------------------------------------------------------------------------