diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-10-15 17:16:22 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-10-22 19:38:53 +0000 |
commit | 2c3ff8c81bcbf284da40dc7b3828bf878bf1be89 (patch) | |
tree | 6b9ac69b32218148cd5a61fe5c2787ae356c4445 /doc | |
parent | dec38c141694412f7c114bcbf01cf71beacb73e0 (diff) |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/Makefile.am | 4 | ||||
-rw-r--r-- | doc/examples/osmo-stp-multihome.cfg | 22 |
2 files changed, 24 insertions, 2 deletions
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 |