summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/bts_octphy.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_octphy.py
parent05314b463367390c58a42e829bf6fb5c6fc79c44 (diff)
bts_*: Add incrementing bvci and rac values
Diffstat (limited to 'src/osmo_gsm_tester/bts_octphy.py')
-rw-r--r--src/osmo_gsm_tester/bts_octphy.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/bts_octphy.py b/src/osmo_gsm_tester/bts_octphy.py
index 90eeb40..1953e85 100644
--- a/src/osmo_gsm_tester/bts_octphy.py
+++ b/src/osmo_gsm_tester/bts_octphy.py
@@ -32,7 +32,9 @@ class OsmoBtsOctphy(log.Origin):
pcu_sk_tmp_dir = None
values = None
lac = None
+ rac = None
cellid = None
+ bvci = None
proc_bts = None
_pcu = None
@@ -169,8 +171,12 @@ class OsmoBtsOctphy(log.Origin):
config.overlay(values, config.get_defaults('osmo_bts_octphy'))
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()
@@ -193,7 +199,13 @@ class OsmoBtsOctphy(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