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
Change the name of ip4 and prefix4 into endpoint_ip and endpoint_prefix
[nepi.git]
/
examples
/
openvswitch
/
ping_over_udpTapTunnel_performance_test_triangleTopo.py
diff --git
a/examples/openvswitch/ping_over_udpTapTunnel_performance_test_triangleTopo.py
b/examples/openvswitch/ping_over_udpTapTunnel_performance_test_triangleTopo.py
index
e85da45
..
f5941f1
100644
(file)
--- a/
examples/openvswitch/ping_over_udpTapTunnel_performance_test_triangleTopo.py
+++ b/
examples/openvswitch/ping_over_udpTapTunnel_performance_test_triangleTopo.py
@@
-50,10
+50,10
@@
def add_node(ec, host, user):
ec.set(node, "cleanProcesses", True)
return node
ec.set(node, "cleanProcesses", True)
return node
-def add_tap(ec,
ip4, prefix4
, pointopoint, node):
+def add_tap(ec,
endpoint_ip, endpoint_prefix
, pointopoint, node):
tap = ec.register_resource("PlanetlabTap")
tap = ec.register_resource("PlanetlabTap")
- ec.set(tap, "
ip4", ip4
)
- ec.set(tap, "
prefix4", prefix4
)
+ ec.set(tap, "
endpoint_ip", endpoint_ip
)
+ ec.set(tap, "
endpoint_prefix", endpoint_prefix
)
ec.set(tap, "pointopoint", pointopoint)
ec.set(tap, "up", True)
ec.register_connection(tap, node)
ec.set(tap, "pointopoint", pointopoint)
ec.set(tap, "up", True)
ec.register_connection(tap, node)