Change in osmo-gsm-tester[master]: epc_srs: add run function to EPC

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

srs_andre gerrit-no-reply at lists.osmocom.org
Wed May 27 16:53:19 UTC 2020


srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18536 )


Change subject: epc_srs: add run function to EPC
......................................................................

epc_srs: add run function to EPC

this allows, for example, to run a ping originating from the core to the UE

Change-Id: Id86c61cbccd41b77f94f125d8d127e2ab5e46cd9
---
M src/osmo_gsm_tester/obj/epc_srs.py
1 file changed, 8 insertions(+), 0 deletions(-)



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

diff --git a/src/osmo_gsm_tester/obj/epc_srs.py b/src/osmo_gsm_tester/obj/epc_srs.py
index 2ee486f..4c6ae72 100644
--- a/src/osmo_gsm_tester/obj/epc_srs.py
+++ b/src/osmo_gsm_tester/obj/epc_srs.py
@@ -210,4 +210,12 @@
     def tun_addr(self):
         return '172.16.0.1'
 
+    def run_wait(self, name, popen_args):
+        if self._run_node.is_local():
+            proc = process.Process(name, self.run_dir, popen_args)
+        else:
+            proc = self.rem_host.RemoteProcess(name, popen_args)
+        proc.launch_sync()
+        return proc
+
 # vim: expandtab tabstop=4 shiftwidth=4

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18536
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Id86c61cbccd41b77f94f125d8d127e2ab5e46cd9
Gerrit-Change-Number: 18536
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200527/c94f49ff/attachment.htm>


More information about the gerrit-log mailing list