Change in osmo-gsm-tester[master]: enb: add getter for number of cells of an eNB

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

srs_andre gerrit-no-reply at lists.osmocom.org
Tue Jun 16 14:57:09 UTC 2020


srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18867 )


Change subject: enb: add getter for number of cells of an eNB
......................................................................

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
---
M src/osmo_gsm_tester/obj/enb.py
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/67/18867/1

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 @@
             return 1
         return 2
 
+    def num_cells(self):
+        return self._num_cells
+
 ########################
 # PUBLIC - INTERNAL API
 ########################

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18867
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: If641993033eb5dcdc6e2d6afdc8426ed322241ca
Gerrit-Change-Number: 18867
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200616/53dddbc0/attachment.htm>


More information about the gerrit-log mailing list