Change in osmo-gsm-tester[master]: mobile: Switch from removed cli option to vty port

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
Sat Dec 29 03:38:53 UTC 2018


Holger Freyther has uploaded this change for review. ( https://gerrit.osmocom.org/12445


Change subject: mobile: Switch from removed cli option to vty port
......................................................................

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.

DO NOT SUBMIT: Wait for the mobile and libosmocore patch to be submitted
before.

Change-Id: Ie40a2ba156ba5674d37a15eb30e5b2527e75fbe7
---
M src/osmo_gsm_tester/templates/osmo-mobile.cfg.tmpl
M src/osmo_ms_driver/starter.py
2 files changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/45/12445/1

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 127.0.0.1 0
 no gps enable
 no hide-default
 ms ${test.ms_number}
diff --git a/src/osmo_ms_driver/starter.py b/src/osmo_ms_driver/starter.py
index bf7727f..dd3aac5 100644
--- a/src/osmo_ms_driver/starter.py
+++ b/src/osmo_ms_driver/starter.py
@@ -121,7 +121,7 @@
 
         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.name(), self._tmp_dir,
                                           args, env=self._env)
         if suite_run:

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie40a2ba156ba5674d37a15eb30e5b2527e75fbe7
Gerrit-Change-Number: 12445
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <holger at freyther.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181229/8c3dc1c0/attachment.htm>


More information about the gerrit-log mailing list