X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fopenvswitch%2Fovs_ping.py;h=7f50846881d20f3d342d23e302212d25e0228edd;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hp=becd61cfd6fea93fc050027bd274c51ec68871ff;hpb=e55924b6886bd7382a28e1ae235c4810f852e163;p=nepi.git diff --git a/examples/openvswitch/ovs_ping.py b/examples/openvswitch/ovs_ping.py index becd61cf..7f508468 100644 --- a/examples/openvswitch/ovs_ping.py +++ b/examples/openvswitch/ovs_ping.py @@ -32,6 +32,8 @@ # $ PYTHONPATH=$PYTHONPATH:src/ python examples/openvswitch/ovs_ping.py -n "192.168.3.0/24" -s -i /~/.ssh/id_rsa # +from __future__ import print_function + from nepi.execution.ec import ExperimentController import os @@ -153,9 +155,7 @@ ec.wait_finished([app]) # Retreive ping results and save them in a file ping = ec.trace(app, "stdout") -print ping +print(ping) # Delete the overlay network ec.shutdown() - -