aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/bts_sysmo.py
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-11-28 15:50:02 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2017-12-05 15:06:52 +0100
commit8a3a7b514654a473e3f5884a8a7e48b70c97d2a7 (patch)
tree6490994adbfbba9c70860ec2ac048b0b931f2ad3 /src/osmo_gsm_tester/bts_sysmo.py
parent05314b463367390c58a42e829bf6fb5c6fc79c44 (diff)
bts_*: Add incrementing bvci and rac values
Diffstat (limited to 'src/osmo_gsm_tester/bts_sysmo.py')
-rw-r--r--src/osmo_gsm_tester/bts_sysmo.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/bts_sysmo.py b/src/osmo_gsm_tester/bts_sysmo.py
index 812a247..1d2dbf6 100644
--- a/src/osmo_gsm_tester/bts_sysmo.py
+++ b/src/osmo_gsm_tester/bts_sysmo.py
@@ -31,7 +31,9 @@ class SysmoBts(log.Origin):
remote_env = None
remote_dir = None
lac = None
+ rac = None
cellid = None
+ bvci = None
proc_bts = None
_pcu = None
@@ -166,8 +168,12 @@ class SysmoBts(log.Origin):
config.overlay(values, config.get_defaults('osmo_bts_sysmo'))
if self.lac is not None:
config.overlay(values, { 'location_area_code': self.lac })
+ if self.rac is not None:
+ config.overlay(values, { 'routing_area_code': self.rac })
if self.cellid is not None:
config.overlay(values, { 'cell_identity': self.cellid })
+ if self.bvci is not None:
+ config.overlay(values, { 'bvci': self.bvci })
config.overlay(values, self.conf)
sgsn_conf = {} if self.sgsn is None else self.sgsn.conf_for_client()
@@ -190,7 +196,13 @@ class SysmoBts(log.Origin):
def set_lac(self, lac):
self.lac = lac
+ def set_rac(self, rac):
+ self.rac = rac
+
def set_cellid(self, cellid):
self.cellid = cellid
+ def set_bvci(self, bvci):
+ self.bvci = bvci
+
# vim: expandtab tabstop=4 shiftwidth=4