diff options
authorHolger Hans Peter Freyther <>2018-12-16 14:34:09 +0000
committerHolger Freyther <>2018-12-30 12:31:29 +0000
commit82feeff1c504dbcd2cd516848a961206a74aca02 (patch)
parent4db8bb68c11a320bafc70d751f9ea6a3f1bbd1c4 (diff)
mobile: Switch from removed cli option to vty port
Bind the mobile's to a random (chosen by the kernel) VTY port. The CLI option was removed and I added a new VTY command to be able to specify the port in addition to the address. Change-Id: Ie40a2ba156ba5674d37a15eb30e5b2527e75fbe7
2 files changed, 3 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/templates/osmo-mobile.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-mobile.cfg.tmpl
index 395d6f4..0a2cd6d 100644
--- a/src/osmo_gsm_tester/templates/osmo-mobile.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-mobile.cfg.tmpl
@@ -1,3 +1,5 @@
+line vty
+ bind 0
no gps enable
no hide-default
ms ${test.ms_number}
diff --git a/src/osmo_ms_driver/ b/src/osmo_ms_driver/
index bf7727f..dd3aac5 100644
--- a/src/osmo_ms_driver/
+++ b/src/osmo_ms_driver/
@@ -121,7 +121,7 @@ class OsmoMobile(Launcher):
self.log("Starting mobile")
# Let the kernel pick an unused port for the VTY.
- args = [self._binary, "-c", mob_filename, "--vty-port=0"]
+ args = [self._binary, "-c", mob_filename]
self._omob_proc = process.Process(, self._tmp_dir,
args, env=self._env)
if suite_run: