git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the traces and add some tests and examples
[nepi.git]
/
examples
/
omf
/
nepi_omf6_plexus_ping.py
diff --git
a/examples/omf/nepi_omf6_plexus_ping.py
b/examples/omf/nepi_omf6_plexus_ping.py
index
6674c21
..
96ac2ef
100644
(file)
--- a/
examples/omf/nepi_omf6_plexus_ping.py
+++ b/
examples/omf/nepi_omf6_plexus_ping.py
@@
-63,11
+63,11
@@
ec.set(chan, 'channel', "6")
# Create and Configure the Application
app1 = ec.register_resource("OMFApplication")
# Create and Configure the Application
app1 = ec.register_resource("OMFApplication")
-ec.set(app1, 'command', '/bin/ping 192.168.0.49')
+ec.set(app1, 'command', '/bin/ping
-c5
192.168.0.49')
ec.set(app1, 'env', "")
app2 = ec.register_resource("OMFApplication")
ec.set(app1, 'env', "")
app2 = ec.register_resource("OMFApplication")
-ec.set(app2, 'command', '/bin/ping 192.168.0.12')
+ec.set(app2, 'command', '/bin/ping
-c5
192.168.0.12')
ec.set(app2, 'env', "")
ec.set(app2, 'env', "")