From 2c3ff8c81bcbf284da40dc7b3828bf878bf1be89 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 15 Oct 2019 17:16:22 +0200 Subject: tests: Introduce test for multi-homing STP features Config file sets omo-stp instance to bind on 2 IP addresses, and then the test verfies through linux /proc/net/sctp/* that binding is done correctly and that it can be reached from another remote address to one of the configured addresses. Change-Id: Ifa11b1fc882dff415405f62024e94bed67228866 --- doc/examples/Makefile.am | 4 ++-- doc/examples/osmo-stp-multihome.cfg | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 doc/examples/osmo-stp-multihome.cfg (limited to 'doc') diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index a8e9991..ed92f24 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -1,7 +1,7 @@ examples_stpdir = $(docdir)/examples/osmo-stp -examples_stp_DATA = osmo-stp.cfg +examples_stp_DATA = osmo-stp.cfg osmo-stp-multihome.cfg osmoconfdir = $(sysconfdir)/osmocom osmoconf_DATA = osmo-stp.cfg -EXTRA_DIST = osmo-stp.cfg +EXTRA_DIST = osmo-stp.cfg osmo-stp-multihome.cfg diff --git a/doc/examples/osmo-stp-multihome.cfg b/doc/examples/osmo-stp-multihome.cfg new file mode 100644 index 0000000..dcdc19e --- /dev/null +++ b/doc/examples/osmo-stp-multihome.cfg @@ -0,0 +1,22 @@ +! +! osmo-stp (0.0.6.3.179-b248) configuration saved from vty +!! +! +log stderr + logging filter all 1 + logging color 1 + logging print category 1 + logging timestamp 0 + logging level lss7 debug + logging level lsccp debug + logging level lsua debug + logging level lm3ua debug +line vty + no login +! +cs7 instance 0 + xua rkm routing-key-allocation dynamic-permitted + listen m3ua 2905 + accept-asp-connections dynamic-permitted + local-ip 127.0.0.2 + local-ip 127.0.0.1 -- cgit v1.2.3