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
This commit is contained in:
Andre Puschmann 2020-06-16 16:29:27 +02:00
parent 219ec75aa9
commit 0957e9e095
1 changed files with 3 additions and 0 deletions

View File

@ -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
########################