mirror of https://gerrit.osmocom.org/osmo-dev
Make STP_CN_IP and STP_RAN_IP configurable. If they are not set to the same IP, run a second OsmoSTP and OsmoBSCNAT to connect both OsmoSTP. Related: OS#2545 Change-Id: I8bfbd00bfeeebc6e1b87a8cd6333212db4380653changes/68/26668/2
parent
8fd5098f3f
commit
a3a1a0d94a
@ -0,0 +1,21 @@ |
||||
${include(common_template_warning)} |
||||
cs7 instance 0 |
||||
point-code ${BSCNAT_CN_PC} |
||||
asp asp-clnt-OsmoBSCNAT-CN 2905 0 m3ua |
||||
remote-ip ${STP_CN_IP} |
||||
local-ip ${BSCNAT_CN_IP} |
||||
|
||||
cs7 instance 1 |
||||
point-code ${BSCNAT_RAN_PC} |
||||
asp asp-clnt-OsmoBSCNAT-RAN 2905 0 m3ua |
||||
remote-ip ${STP_RAN_IP} |
||||
local-ip ${BSCNAT_RAN_IP} |
||||
|
||||
bsc-nat |
||||
cs7-instance-cn 0 |
||||
cs7-instance-ran 1 |
||||
|
||||
${foreach(LOG_OUTPUT)} |
||||
log ${LOG_OUTPUTn_TYPE} |
||||
${include(common_logging)} |
||||
${foreach_end} |
@ -0,0 +1,24 @@ |
||||
${include(common_template_warning)} |
||||
|
||||
# By default, osmo-dev starts one osmo-stp with this config. If STP_CN_IP and |
||||
# STP_RAN_IP are changed to be different, osmo-dev starts two osmo-stp, one |
||||
# with this config and another one with osmo-stp-ran.cfg. |
||||
|
||||
line vty |
||||
bind ${STP_CN_IP} |
||||
|
||||
cs7 instance 0 |
||||
xua rkm routing-key-allocation dynamic-permitted |
||||
listen m3ua 2905 |
||||
accept-asp-connections dynamic-permitted |
||||
local-ip ${STP_CN_IP} |
||||
|
||||
${foreach(LOG_OUTPUT)} |
||||
log ${LOG_OUTPUTn_TYPE} |
||||
${include(common_logging)} |
||||
logging level linp notice |
||||
logging level lss7 notice |
||||
logging level lsccp notice |
||||
logging level lsua notice |
||||
logging level lm3ua notice |
||||
${foreach_end} |
@ -1,8 +1,16 @@ |
||||
${include(common_template_warning)} |
||||
|
||||
# This file does not get used by default, only if STP_CN_IP and STP_RAN_IP are |
||||
# changed to be different! |
||||
|
||||
line vty |
||||
bind ${STP_RAN_IP} |
||||
|
||||
cs7 instance 0 |
||||
xua rkm routing-key-allocation dynamic-permitted |
||||
listen m3ua 2905 |
||||
accept-asp-connections dynamic-permitted |
||||
local-ip ${STP_RAN_IP} |
||||
|
||||
${foreach(LOG_OUTPUT)} |
||||
log ${LOG_OUTPUTn_TYPE} |
Loading…
Reference in new issue