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
/
ovs_ping_3switches_line.py
diff --git
a/examples/openvswitch/ovs_ping_3switches_line.py
b/examples/openvswitch/ovs_ping_3switches_line.py
index
6adc924
..
0dd1783
100644
(file)
--- a/
examples/openvswitch/ovs_ping_3switches_line.py
+++ b/
examples/openvswitch/ovs_ping_3switches_line.py
@@
-59,10
+59,10
@@
def add_port(ec, port_name, ovs):
ec.register_connection(port, ovs)
return port
ec.register_connection(port, ovs)
return port
-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)