epc: add run function to EPC
this allows, for example, to run a ping originating from the core to the UE Change-Id: Id86c61cbccd41b77f94f125d8d127e2ab5e46cd9
This commit is contained in:
parent
61d150b115
commit
aa7b5b7751
|
@ -76,6 +76,15 @@ class EPC(log.Origin, metaclass=ABCMeta):
|
|||
|
||||
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)
|
||||
###################
|
||||
|
|
Loading…
Reference in New Issue