stp: Introduce STP_Tests*.ttcn for testing OsmoSTP
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
diff --git a/stp/osmo-stp.cfg b/stp/osmo-stp.cfg
new file mode 100644
index 0000000..d5eccba
--- /dev/null
+++ b/stp/osmo-stp.cfg
@@ -0,0 +1,63 @@
+!
+! OsmoSTP (1.1.0.2-3884) configuration saved from vty
+!!
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category-hex 1
+ logging print category 1
+ logging timestamp 0
+ logging print file 1
+ logging level lglobal notice
+ logging level llapd notice
+ logging level linp notice
+ logging level lmux notice
+ logging level lmi notice
+ logging level lmib notice
+ logging level lsms notice
+ logging level lctrl notice
+ logging level lgtp notice
+ logging level lstats notice
+ logging level lgsup notice
+ logging level loap notice
+ logging level lss7 debug
+ logging level lsccp debug
+ logging level lsua debug
+ logging level lm3ua debug
+ logging level lmgcp notice
+ logging level ljibuf notice
+ logging level lrspro notice
+!
+stats interval 5
+!
+line vty
+ no login
+!
+cs7 instance 0
+ point-code format 24
+ asp asp-sender 9999 2905 m3ua
+ local-ip 127.0.0.1
+ remote-ip 127.0.0.1
+ asp asp-receiver0 10000 2905 m3ua
+ local-ip 127.0.0.1
+ remote-ip 127.0.0.1
+ asp asp-receiver1 10001 2905 m3ua
+ local-ip 127.0.0.1
+ remote-ip 127.0.0.1
+ as as-sender m3ua
+ asp asp-sender
+ routing-key 1023 23
+ as as-receiver m3ua
+ asp asp-receiver0
+ routing-key 1042 42
+ as mahlzeit ipa
+ routing-key 0 5
+ point-code override dpc 23
+ route-table system
+ update route 23 16777215 linkset as-sender
+ update route 42 16777215 linkset as-receiver
+ listen m3ua 2905
+ accept-asp-connections dynamic-permitted
+ listen ipa 5000
+ accept-asp-connections dynamic-permitted