aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester
diff options
context:
space:
mode:
authorAndre Puschmann <andre@softwareradiosystems.com>2020-06-16 16:29:27 +0200
committerAndre Puschmann <andre@softwareradiosystems.com>2020-06-23 16:41:00 +0200
commit0957e9e09570c9d9bd977dde742a6acc9ee96e7a (patch)
tree00978e6e55807a79193e777251b6e9cf296167a1 /src/osmo_gsm_tester
parent219ec75aa976a322558b43c20f7459104dea7c15 (diff)
enb: add getter for number of cells of an eNB
In order to set up the channel emulator we need to calculate the total number of RF channels that a eNB has from within a test. Change-Id: If641993033eb5dcdc6e2d6afdc8426ed322241ca
Diffstat (limited to 'src/osmo_gsm_tester')
-rw-r--r--src/osmo_gsm_tester/obj/enb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/obj/enb.py b/src/osmo_gsm_tester/obj/enb.py
index 4a151d7..d9fe1a5 100644
--- a/src/osmo_gsm_tester/obj/enb.py
+++ b/src/osmo_gsm_tester/obj/enb.py
@@ -130,6 +130,9 @@ class eNodeB(log.Origin, metaclass=ABCMeta):
return 1
return 2
+ def num_cells(self):
+ return self._num_cells
+
########################
# PUBLIC - INTERNAL API
########################