net/templates/osmo-bsc: modernize
* Write explicit role & sctp-role fields in ASP
* Use new mgw node
Change-Id: I0051ba7f8116ea29380d3f438fd3a0af15d9d12f
diff --git a/net/templates/osmo-bsc-0.cfg b/net/templates/osmo-bsc-0.cfg
index 8150307..7f0d6d6 100644
--- a/net/templates/osmo-bsc-0.cfg
+++ b/net/templates/osmo-bsc-0.cfg
@@ -8,9 +8,14 @@
point-code ${BSC0_PC}
asp asp-clnt-bsc-0 2905 0 m3ua
remote-ip ${STP_RAN_IP}
+ role asp
+ sctp-role client
msc 0
- mgw remote-ip ${MGW4BSC0_IP}
- mgw remote-port ${MGW4BSC0_PORT}
- mgw endpoint-domain bsc0
codec-list ${BSC0_CODEC_LIST}
+
+network
+ mgw 0
+ remote-ip ${MGW4BSC0_IP}
+ remote-port ${MGW4BSC0_PORT}
+ endpoint-domain bsc0
diff --git a/net/templates/osmo-bsc-1.cfg b/net/templates/osmo-bsc-1.cfg
index d559571..2ee1c6e 100644
--- a/net/templates/osmo-bsc-1.cfg
+++ b/net/templates/osmo-bsc-1.cfg
@@ -8,16 +8,19 @@
point-code ${BSC1_PC}
asp asp-clnt-bsc-1 2905 0 m3ua
remote-ip ${STP_RAN_IP}
+ role asp
+ sctp-role client
msc 0
- mgw remote-ip ${MGW4BSC1_IP}
- mgw remote-port ${MGW4BSC1_PORT}
- mgw endpoint-domain bsc1
codec-list ${BSC1_CODEC_LIST}
network
bts 1
gprs mode none
+ mgw 0
+ remote-ip ${MGW4BSC1_IP}
+ remote-port ${MGW4BSC1_PORT}
+ endpoint-domain bsc1
ctrl
bind ${BSC1_IP}