osmo-gsm-tester[master]: ofono_client: Discover modem path from imsi

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon May 22 12:25:57 UTC 2017


Patch Set 3:

> The main issue is that it's a chicken-egg problem.

I think it is sufficient to store the modem path with those modems that are currently reserved.

* get a listing of modem paths from ofono;
* read the state file and see if any of those paths are currently reserved;
* check only those paths that do not appear in the state.

If modems are re-connected, those paths may change on the fly, so we shouldn't have too long state about the modem paths. If we re-connect a modem bank during a test run, that test run will probably fail. As soon as it frees its modem paths, the state about IMSI<->ofono-path is cleared and things are refreshed autmagically.

-- 
To view, visit https://gerrit.osmocom.org/2676
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib9f4de81abc18e8db0c15df965e4811b6513e1b1
Gerrit-PatchSet: 3
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-HasComments: No



More information about the gerrit-log mailing list