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 e2a279317e773769e42a2d21773a5f48c579944e 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 337236b72fa8a9721783a8d0d787ac8b74d786f8 by Pau Espin Pedrol
Introduce ip.access nanobts support
Change-Id: Ibaea025b3a503dfe897d36701234445de6d49f82
The file was modifiedexample/defaults.conf
The file was modifiedexample/resources.conf.prod
The file was addedsrc/osmo_gsm_tester/bts_nanobts.py
The file was modifiedexample/resources.conf.rnd
The file was modifiedsrc/osmo_gsm_tester/suite.py
The file was addedexample/scenarios/nanobts.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
Commit a6d427a7aef6effbe5d942813ef5c26fb03b31d6 by Pau Espin Pedrol
default-suites.conf: Add nanobts related tests
Change-Id: I054db78e6a71514133e4e3c3158342b74af44201
The file was modifiedexample/default-suites.conf