Change in osmo-gsm-tester[master]: epc: 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/.

pespin gerrit-no-reply at lists.osmocom.org
Wed Jun 10 11:27:01 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18536 )

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

epc: 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.py
1 file changed, 9 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/src/osmo_gsm_tester/obj/epc.py b/src/osmo_gsm_tester/obj/epc.py
index 177e662..dfeba74 100644
--- a/src/osmo_gsm_tester/obj/epc.py
+++ b/src/osmo_gsm_tester/obj/epc.py
@@ -76,6 +76,15 @@
 
         return  epc_class(testenv, run_node)
 
+    def run_wait(self, name, popen_args):
+        ''' Execute process on EPC node, useful for MT traffic '''
+        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
+
 ###################
 # PUBLIC (test API included)
 ###################

-- 
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: 5
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200610/de0aaadc/attachment.htm>


More information about the gerrit-log mailing list