Change in osmo-gsm-tester[master]: Allow to access imsi/ki from the OsmoMobile instances

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/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Fri Aug 31 14:21:05 UTC 2018


Holger Freyther has submitted this change and it was merged. ( https://gerrit.osmocom.org/10683 )

Change subject: Allow to access imsi/ki from the OsmoMobile instances
......................................................................

Allow to access imsi/ki from the OsmoMobile instances

Change-Id: Ib1b5f51e93d67e1dbde6f1ab4701e539d3cabec0
---
M src/osmo_ms_driver/starter.py
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, but someone else must approve
  Pau Espin Pedrol: Looks good to me, approved



diff --git a/src/osmo_ms_driver/starter.py b/src/osmo_ms_driver/starter.py
index bab468c..86ad446 100644
--- a/src/osmo_ms_driver/starter.py
+++ b/src/osmo_ms_driver/starter.py
@@ -73,6 +73,12 @@
         self._ev_server_path = ev_server_path
         self._imsi, self._ki = next(self._imsi_ki_generator)
 
+    def imsi(self):
+        return self._imsi
+
+    def ki(self):
+        return self._ki
+
     def write_lua_cfg(self):
         lua_support = os.path.join(os.path.dirname(__file__), 'lua')
         cfg = {

-- 
To view, visit https://gerrit.osmocom.org/10683
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1b5f51e93d67e1dbde6f1ab4701e539d3cabec0
Gerrit-Change-Number: 10683
Gerrit-PatchSet: 3
Gerrit-Owner: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180831/ebfd4247/attachment.htm>


More information about the gerrit-log mailing list