sctp_pktdrop.test 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. %description:
  2. Testing SCTP Packet Drop Reporting
  3. Flow Control is simulated. If the advertised receiver window drops to zero packet drop
  4. reports should be sent.
  5. %#--------------------------------------------------------------------------------------------------------------
  6. %#--------------------------------------------------------------------------------------------------------------
  7. %inifile: omnetpp.ini
  8. [General]
  9. network=SCTPFeatureTest
  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"
  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(60s,1s)
  37. **.sctp_client.sctpApp[0].numRequestsPerSession = 100000
  38. **.sctp_client.sctpApp[0].queueSize = 100
  39. **.sctp_client.sctpApp[0].outboundStreams = 1
  40. **.sctp_client.sctp.swsLimit=3000
  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[*].queueSize = 0 #Size of sendQueue before App is notified to send new data
  47. **.sctp_server.sctpApp[*].numPacketsToSendPerClient = 10000
  48. **.sctp_server.sctpApp[*].numPacketsToReceivePerClient = 0
  49. **.sctp_server.sctpApp[*].outboundStreams = 1
  50. **.sctp_server.sctpApp[0].messagesToPush = 1
  51. **.sctp_server.sctpApp[0].readingInterval = 1000ms
  52. **.sctp_server.sctp.swsLimit=3000
  53. # sctp settings
  54. **.sctp.sctpAlgorithmClass = "SCTPAlg"
  55. **.packetDrop = true
  56. **.sctp.RTXMethod = 2
  57. # NIC configuration
  58. #**.ppp[*].queueType = "DropTailQueue" # in routers
  59. #**.ppp[*].queue.frameCapacity = 100 # in routers
  60. #**.ppp[*].ppp.mtu = 1500 B
  61. #**.vector-recording = false
  62. %#--------------------------------------------------------------------------------------------------------------
  63. %contains-regex: results/General-0.sca
  64. scalar SCTPFeatureTest.sctp_server.sctp[ \t]*"Drops Because New TSN Greater Than Highest TSN"[ \t]*[1-9][0-9]*
  65. %contains-regex: results/General-0.sca
  66. scalar SCTPFeatureTest.sctp_server.sctp[ \t]*"Number of PacketDrop Reports"[ \t]*[1-9][0-9]*
  67. %#--------------------------------------------------------------------------------------------------------------