osmith has uploaded this change for review.

View Change

net/templates/osmo-bsc: modernize

* Write explicit role & sctp-role fields in ASP
* Use new mgw node

Change-Id: I0051ba7f8116ea29380d3f438fd3a0af15d9d12f
---
M net/templates/osmo-bsc-0.cfg
M net/templates/osmo-bsc-1.cfg
2 files changed, 26 insertions(+), 6 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/62/33462/1
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}

To view, visit change 33462. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I0051ba7f8116ea29380d3f438fd3a0af15d9d12f
Gerrit-Change-Number: 33462
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange