osmo-gsm-tester/src/osmo_gsm_tester
Neels Hofmeyr 896f08f6ab fix: refresh dbus object when interfaces have changed
This solves the KeyError problems when we attempt to use new Interfaces that
have come up. The solution is to get a fresh pydbus object when interfaces have
been added.

Another key solution is to not completely discard and unregister all signals
every time. This is racy and may cause signals getting lost. If an interface
was not removed, it is not harmful to have it subscribed using an older pydbus
object. These older objects may linger until the specific signal subscriptions
are disconnected. It is important to fetch a new dbus object for subscribing to
signals on interfaces that have just been added.

Put signal subscription and property watching in a separate class
ModemDbusInteraction. This class may also be used without signals or a modem
config, in anticipation of the IMSI discovery patch that's coming up.

Related: OS#2233
Change-Id: Ia36b881c25976d7e69dbb587317dd139169ce3d9
2017-05-29 04:30:34 +02:00
..
templates fix osmo-bts-trx: add config: 'osmotrx tx-attenuation oml' 2017-05-29 00:29:50 +02:00
__init__.py initial import 2017-03-28 12:37:17 +02:00
bts_model.py core implementation 2017-04-08 15:43:19 +02:00
bts_osmotrx.py bts: add remote_addr() function 2017-05-29 00:18:43 +02:00
bts_sysmo.py bts: add remote_addr() function 2017-05-29 00:18:43 +02:00
config.py config: resolve real paths from symlinks, add paths debug logging 2017-05-04 20:56:48 +00:00
event_loop.py event_loop: Create a global event loop to poll and wait for events 2017-05-25 17:25:09 +00:00
log.py log: change 'log_all_origins' from bool to a list of levels to apply to 2017-05-28 22:26:23 +00:00
ofono_client.py fix: refresh dbus object when interfaces have changed 2017-05-29 04:30:34 +02:00
osmo_bsc.py MSC+BSC: add test api to run OsmoMSC and OsmoBSC with AoIP 2017-05-29 00:19:45 +02:00
osmo_ctrl.py trying to get sysmobts to work and various details 2017-04-10 05:09:23 +02:00
osmo_hlr.py MSC+BSC: add test api to run OsmoMSC and OsmoBSC with AoIP 2017-05-29 00:19:45 +02:00
osmo_mgcpgw.py MSC+BSC: add test api to run OsmoMSC and OsmoBSC with AoIP 2017-05-29 00:19:45 +02:00
osmo_msc.py MSC+BSC: add test api to run OsmoMSC and OsmoBSC with AoIP 2017-05-29 00:19:45 +02:00
osmo_nitb.py config: nitb template: move ip_address to nitb.ip_address 2017-05-29 00:18:43 +02:00
pcap_recorder.py pcap_recorder: use self.filters instead of gen_filter 2017-05-15 15:01:15 +02:00
process.py event_loop: Create a global event loop to poll and wait for events 2017-05-25 17:25:09 +00:00
report.py Add JUnit XML reports; refactor test reporting 2017-05-19 14:22:39 +02:00
resource.py fix: free resources when a suite run is done 2017-05-29 03:03:39 +02:00
schema.py core implementation 2017-04-08 15:43:19 +02:00
suite.py fix: free resources when a suite run is done 2017-05-29 03:03:39 +02:00
template.py core implementation 2017-04-08 15:43:19 +02:00
test.py event_loop: Create a global event loop to poll and wait for events 2017-05-25 17:25:09 +00:00
trial.py log: change 'log_all_origins' from bool to a list of levels to apply to 2017-05-28 22:26:23 +00:00
util.py util: simplify listdict 2017-05-11 12:33:00 +02:00