X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fopenvswitch%2Fovs_ping_3_switches.py;h=c97b3a77ead16f11c74cc3f672cbc2e3bd7f99db;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hp=335d877bd3cfe2e24a131897f74823f0fef62b2a;hpb=e55924b6886bd7382a28e1ae235c4810f852e163;p=nepi.git diff --git a/examples/openvswitch/ovs_ping_3_switches.py b/examples/openvswitch/ovs_ping_3_switches.py index 335d877b..c97b3a77 100644 --- a/examples/openvswitch/ovs_ping_3_switches.py +++ b/examples/openvswitch/ovs_ping_3_switches.py @@ -32,7 +32,7 @@ # $ PYTHONPATH=$PYTHONPATH:src/ python examples/openvswitch/ovs_ping_3_switches.py -n "192.168.3.0/24" -C "1.1.1.1" -s -i /~/.ssh/id_rsa # - +from __future__ import print_function from nepi.execution.ec import ExperimentController @@ -241,11 +241,9 @@ ec.wait_finished(apps.values()) # collect results for key, app in apps.iteritems(): stdout = ec.trace(app, "stdout") - print "***************************", key, "************************" - print stdout - print "\n" + print("***************************", key, "************************") + print(stdout) + print("\n") # Delete the overlay network ec.shutdown() - -