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
Review at https://gerrit.osmocom.org/2490
suite.py: add function to get several modems in a list
Will be used in the upcoming 'debug' suite.
Change-Id: Ia1156f523cff18196c88604ce3079b9532187427
---
M src/osmo_gsm_tester/suite.py
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/90/2490/1
diff --git a/src/osmo_gsm_tester/suite.py b/src/osmo_gsm_tester/suite.py
index 74c8b28..e3feede 100644
--- a/src/osmo_gsm_tester/suite.py
+++ b/src/osmo_gsm_tester/suite.py
@@ -233,6 +233,12 @@
def modem(self):
return modem_obj(self.reserved_resources.get(resource.R_MODEM))
+ def modems(self, count):
+ l = []
+ for i in range(count):
+ l.append(self.modem())
+ return l
+
def msisdn(self):
msisdn = self.resources_pool.next_msisdn(self.origin)
self.log('using MSISDN', msisdn)
--
To view, visit https://gerrit.osmocom.org/2490
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1156f523cff18196c88604ce3079b9532187427
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>