Skip to content
Failed

Changes

Summary

  1. Introduce PowerSupply interface and PowerSupplySispm (details)
  2. Introduce ip.access nanobts support (details)
  3. default-suites.conf: Add nanobts related tests (details)
Commit 12fed404f70eeac7991d518a050da6db3c0b658d 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.py
The file was addedsrc/osmo_gsm_tester/powersupply_sispm.py
Commit bdd94f441230c685fb0b99b155fe0a14507731b2 by Pau Espin Pedrol
Introduce ip.access nanobts support
Change-Id: Ibaea025b3a503dfe897d36701234445de6d49f82
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was addedexample/scenarios/nanobts.conf
The file was modifiedexample/resources.conf.prod
The file was addedsrc/osmo_gsm_tester/bts_nanobts.py
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/suite.py
The file was modifiedexample/resources.conf.rnd
Commit d5b0f0470df67dce7f631157b91262c47f376506 by Pau Espin Pedrol
default-suites.conf: Add nanobts related tests
Change-Id: I054db78e6a71514133e4e3c3158342b74af44201
The file was modifiedexample/default-suites.conf