Skip to content
Success

Changes

Summary

  1. Create Pcu abstract class and make OsmoPcu inherit from it (details)
  2. bts_osmo.py: ready_for_pcu is of public access from tests, move it (details)
  3. Create Bts abstract class and make OsmoBts inherit from it (details)
  4. pcu.py: Introduce PcuDummy class (details)
  5. Introduce PowerSupply interface and PowerSupplySispm (details)
  6. Introduce ip.access nanobts support (details)
  7. default-suites.conf: Add nanobts related tests (details)
  8. nanobts: Bind to specific addr instead of specific iface (details)
Commit 150abb48d0a96e5c5a4adf2cc46d686b043daf67 by Pau Espin Pedrol
Create Pcu abstract class and make OsmoPcu inherit from it
This base class will be used to describe the required accessors for all
PCU objects.
It is introduced in this commit and will be further used in the future
when adding a Dummy PCU object which will be used by NanoBts object.
Change-Id: Ia3fd4551d1f2932362f99f7d44d65f8ae4fd1979
The file was modifiedsrc/osmo_gsm_tester/pcu_osmo.py
The file was addedsrc/osmo_gsm_tester/pcu.py
Commit 4fbdc35e952717068e667e501d7f6c5c9701610c by Pau Espin Pedrol
bts_osmo.py: ready_for_pcu is of public access from tests, move it
accordingly
Change-Id: Ie8978854404897ae5de7e3100d55d86c7a5c1df1
The file was modifiedsrc/osmo_gsm_tester/bts_osmo.py
Commit 52ad3a66d2f79ea366379b69cb16db9ae50b9664 by Pau Espin Pedrol
Create Bts abstract class and make OsmoBts inherit from it
This base class will be used to describe the required accessors for all
BTS objects, be it an osmocom BTS or not.
It is introduced in this commit and will be further used in the future
when adding a NanoBts object.
Change-Id: Ic13133e61abda73a8b507c1a1bd7b98c677460f9
The file was modifiedsrc/osmo_gsm_tester/bts_osmo.py
The file was addedsrc/osmo_gsm_tester/bts.py
Commit 651cdc9b0f0cdf36e636ffb8a1fd90877dc569df by Pau Espin Pedrol
pcu.py: Introduce PcuDummy class
It will be used in later commits by BTS without proper PCU control such
as NanoBts.
Change-Id: I37ba38f7d81134e5f0ca28fa684fdb09c753bb04
The file was modifiedsrc/osmo_gsm_tester/pcu.py
Commit 19c508c3047c0a4e40507583bbf75ba1aea53037 by Pau Espin Pedrol
Introduce PowerSupply interface and PowerSupplySispm
File powersupply.py defines the interface to be used by child classes
implementing it. It also provides helpers to allocate a child class
based on configuration provided ('type' field).
File powersupply_sispm.py is an implementation using pysispm [1], as
it's the one used to control the programmable power socket we have right
now.
This kind of class will be used in later commits by Nanobts class, as we
want to poweroff the Nanobts completelly when not in use.
Using it requires the following extra dependencies:
$ apt-get install python3-usb
$ pip3 install pysispm
Related: OS#3040
[1] https://github.com/xypron/pysispm
Change-Id: I981c260eca1a61657147e6d83b4226618088223c
The file was addedsrc/osmo_gsm_tester/powersupply_sispm.py
The file was addedsrc/osmo_gsm_tester/powersupply.py
Commit 1b28a584eda2d2292ec0b73094bfaecb96b0c49f by Pau Espin Pedrol
Introduce ip.access nanobts support
Change-Id: Ibaea025b3a503dfe897d36701234445de6d49f82
The file was modifiedexample/resources.conf.rnd
The file was addedsrc/osmo_gsm_tester/bts_nanobts.py
The file was modifiedexample/resources.conf.prod
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/suite.py
The file was addedexample/scenarios/nanobts.conf
Commit 807d865ebe39963a8e6b1a67c149c0407706ca49 by Pau Espin Pedrol
default-suites.conf: Add nanobts related tests
Change-Id: I054db78e6a71514133e4e3c3158342b74af44201
The file was modifiedexample/default-suites.conf
Commit a238ed99316d0ac8bc4ddbfac1cb1a1a46ffafbc by Pau Espin Pedrol
nanobts: Bind to specific addr instead of specific iface
This way root access is not required.
Change-Id: I02f6fc9e1cb1ea1e1d950eafe22c231a18100f98
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedexample/resources.conf.rnd
The file was modifiedsrc/osmo_gsm_tester/util.py
The file was modifiedexample/resources.conf.prod
The file was modifiedsrc/osmo_gsm_tester/bts_nanobts.py