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]
/
test
/
resources
/
planetlab
/
udptunnel.py
diff --git
a/test/resources/planetlab/udptunnel.py
b/test/resources/planetlab/udptunnel.py
index
da07718
..
1254d19
100755
(executable)
--- a/
test/resources/planetlab/udptunnel.py
+++ b/
test/resources/planetlab/udptunnel.py
@@
-53,8
+53,8
@@
class PlanetlabUdpTunnelTestCase(unittest.TestCase):
ec.set(node1, "cleanProcesses", True)
tap1 = ec.register_resource("PlanetlabTap")
ec.set(node1, "cleanProcesses", True)
tap1 = ec.register_resource("PlanetlabTap")
- ec.set(tap1, "
ip4
", "%s.1" % self.netblock)
- ec.set(tap1, "
prefix4
", 24)
+ ec.set(tap1, "
endpoint_ip
", "%s.1" % self.netblock)
+ ec.set(tap1, "
endpoint_prefix
", 24)
ec.register_connection(tap1, node1)
node2 = ec.register_resource("PlanetlabNode")
ec.register_connection(tap1, node1)
node2 = ec.register_resource("PlanetlabNode")
@@
-66,8
+66,8
@@
class PlanetlabUdpTunnelTestCase(unittest.TestCase):
ec.set(node2, "cleanProcesses", True)
tap2 = ec.register_resource("PlanetlabTap")
ec.set(node2, "cleanProcesses", True)
tap2 = ec.register_resource("PlanetlabTap")
- ec.set(tap2, "
ip4
", "%s.2" % self.netblock)
- ec.set(tap2, "
prefix4
", 24)
+ ec.set(tap2, "
endpoint_ip
", "%s.2" % self.netblock)
+ ec.set(tap2, "
endpoint_prefix
", 24)
ec.register_connection(tap2, node2)
udptun = ec.register_resource("LinuxUdpTunnel")
ec.register_connection(tap2, node2)
udptun = ec.register_resource("LinuxUdpTunnel")
@@
-109,8
+109,8
@@
class PlanetlabUdpTunnelTestCase(unittest.TestCase):
ec.set(node1, "cleanProcesses", True)
tun1 = ec.register_resource("PlanetlabTun")
ec.set(node1, "cleanProcesses", True)
tun1 = ec.register_resource("PlanetlabTun")
- ec.set(tun1, "
ip4
", "%s.1" % self.netblock)
- ec.set(tun1, "
prefix4
", 24)
+ ec.set(tun1, "
endpoint_ip
", "%s.1" % self.netblock)
+ ec.set(tun1, "
endpoint_prefix
", 24)
ec.register_connection(tun1, node1)
node2 = ec.register_resource("PlanetlabNode")
ec.register_connection(tun1, node1)
node2 = ec.register_resource("PlanetlabNode")
@@
-122,8
+122,8
@@
class PlanetlabUdpTunnelTestCase(unittest.TestCase):
ec.set(node2, "cleanProcesses", True)
tun2 = ec.register_resource("PlanetlabTun")
ec.set(node2, "cleanProcesses", True)
tun2 = ec.register_resource("PlanetlabTun")
- ec.set(tun2, "
ip4
", "%s.2" % self.netblock)
- ec.set(tun2, "
prefix4
", 24)
+ ec.set(tun2, "
endpoint_ip
", "%s.2" % self.netblock)
+ ec.set(tun2, "
endpoint_prefix
", 24)
ec.register_connection(tun2, node2)
udptun = ec.register_resource("LinuxUdpTunnel")
ec.register_connection(tun2, node2)
udptun = ec.register_resource("LinuxUdpTunnel")