aboutsummaryrefslogtreecommitdiffstats
path: root/stp/STP_Tests_M3UA.ttcn
AgeCommit message (Collapse)AuthorFilesLines
2020-10-09stp: Add TC_rapid_init_shutdown()laforge/bvc-resetHarald Welte1-0/+36
Change-Id: I3d37cd80acfaf042b60f1590ee12a0e26d8853b5 Related: OS#4625
2020-08-27stp: Support testing multi-home SCTP features with IPv4+IPv6Pau Espin Pedrol1-7/+64
The IP addr module parameter is split now, IPA module has its own set of configurable addresses, and M3UA its own. Moreover, in M3UA the single address is transformed to be an array of addresses, to support multi-homing with both IPv4 and IPv6 addresses. Related: SYS#4915 Change-Id: Ib1925ed1df5cea3fa66f28b5625532d454a2c338
2020-08-21stp: Bind to free SCTP port instead of hardcoded 9999Pau Espin Pedrol1-1/+1
TTCN3 transforms -1 internally to 9999. We don't care about the src port here since we are a client, so let's simple take a randomly free one. Change-Id: I6665e628c5f1db31731d092f58d0bd2520f65ee6
2020-08-21stp: Fix ttcn3 parser error on some Titan versionsPau Espin Pedrol1-2/+2
It is a known bug that some verisons of titan don't support having several alt cases without any separator. This is already fixed in master, but it doesn't hurt adding them to have them compile on other versions. Change-Id: I999d4cc5c1c26b8bbdf8b30ad8dfdc8f55ca433b
2020-06-13Add test whether we accept DATA without Routing Context IEHarald Welte1-0/+20
There are some M3UA implementations out there who use a routing context during the ASPAC procedure, but who then don't use it in subsequent DATA transmission. Let's add a test case for that. Change-Id: Iaf95f8eafa53cff94910d89584eef95f1b474c7f Related: OS#4594
2019-12-01stp: Add TC_clnt_asp_act_tmt_loadshare()Harald Welte1-0/+15
This test case checks if the traffic-mode is communicated to the SG if we operate in ASP mode. Change-Id: If7d84b73b36a91fb697daf6263ec93b8672cbdc2 Related: OS#4285
2019-12-01stp: M3UA client-side tests: Expect routing context IE in ASPACHarald Welte1-3/+3
Change-Id: I7011480fed2492add28bbd64a27c0ad71609cb32 Related: OS#4285
2019-11-12stp: Make sure all AS are shutdown when test finishesPau Espin Pedrol1-0/+50
This way traffic modes set dynamically by peers are cleared and can be reset by next tests easily. Change-Id: I177441b2d43298b3836ccf78fe11267333e80665
2019-11-12stp: Add tests for running STP in M3UA ASP roleHarald Welte1-3/+140
Change-Id: Ifec443858256ad79fbe29e26c609322809dd07b1 Related: OS#2005
2019-11-12STP_Tests_M3UA.TC_tmt_loadshare: Clarify log message in failure caseHarald Welte1-2/+2
Change-Id: I28a86f0ea0f8df28d8d22732a8647a07a936c100
2019-11-12STP_Tests_M3UA.TC_tmt_{loadshare,override}: Fix double-ASPUPHarald Welte1-2/+0
Change-Id: I3acf1ce18d1a232c9ce457a19a6d36be380c42dd
2019-11-12stp: Introduce STP_Tests*.ttcn for testing OsmoSTPHarald Welte1-0/+451
In the past, we were automatically running [large parts of] the nplab M3UA and SUA test suites, but those implement only a fraction of the functionality. Particularly, they don't cover the non-standard IPA behavior, and they don't cover RKM (routing key management). Let's introduce an initial set of STP tests with this patch. We try to not duplicate nplab here, and implement bits not covered there. Change-Id: I628a87385cac0dfe708a0d74a5088fbd5a4790cd