hnbgw: add CN pool tests
docker-playground.git needs a config file change to be committed at the
same time as this patch, see 'Related'.
Depends: osmo-ttcn3-hacks I94aa0b2adfc48b98cb4b1efe595c2432fc603d6c
Change-Id: I027a059faed3f140f8801f84338956cd004043b5
diff --git a/hnbgw/osmo-hnbgw.cfg b/hnbgw/osmo-hnbgw.cfg
index f11f613..3ccc28d 100644
--- a/hnbgw/osmo-hnbgw.cfg
+++ b/hnbgw/osmo-hnbgw.cfg
@@ -15,21 +15,97 @@
line vty
no login
!
+
cs7 instance 0
point-code 0.23.5
- sccp-address msc
- routing-indicator PC
+
+ sccp-address msc-naught
point-code 0.23.4
- sccp-address sgsn
- routing-indicator PC
+
+ sccp-address msc-one
+ point-code 0.0.2
+
+ sccp-address msc-two
+ point-code 0.0.3
+
+ sccp-address msc-three
+ point-code 0.0.4
+
+ sccp-address sgsn-naught
point-code 0.23.1
+
+ sccp-address sgsn-one
+ point-code 0.1.2
+
+ sccp-address sgsn-two
+ point-code 0.1.3
+
+ sccp-address sgsn-three
+ point-code 0.1.4
+
hnbgw
log-prefix hnb-id
iuh
local-ip 127.0.0.1
local-port 29169
hnbap-allow-tmsi 1
+ # don't spam RANAP RESET messages for up to eight CN links across all tests
+ timer hnbgw T4 60
+
+msc 0
+ remote-addr msc-naught
+
+msc 1
+ remote-addr msc-one
+
+msc 2
+ remote-addr msc-two
+
+msc 3
+ remote-addr msc-three
+
+sgsn 0
+ remote-addr sgsn-naught
+
+sgsn 1
+ remote-addr sgsn-one
+
+sgsn 2
+ remote-addr sgsn-two
+
+sgsn 3
+ remote-addr sgsn-three
+
+hnbgw
iucs
- remote-addr msc
+ nri bitlen 10
+ # a NULL NRI that is outside the NRI ranges used by the MSCs:
+ nri null add 0
+ # a NULL NRI that is also used by an MSC:
+ nri null add 1
+msc 0
+ nri add 1 255
+msc 1
+ nri add 256 511
+msc 2
+ nri add 512 767
+ # range 768-1000 is not assigned to any MSC on purpose
+msc 3
+ nri add 1001 1023
+
+hnbgw
iups
- remote-addr sgsn
+ nri bitlen 10
+ # a NULL NRI that is outside the NRI ranges used by the SGSNs:
+ nri null add 0
+ # a NULL NRI that is also used by an SGSN:
+ nri null add 1
+sgsn 0
+ nri add 1 255
+sgsn 1
+ nri add 256 511
+sgsn 2
+ nri add 512 767
+ # range 768-1000 is not assigned to any SGSN on purpose
+sgsn 3
+ nri add 1001 1023