Change the name of ip4 and prefix4 into endpoint_ip and endpoint_prefix
[nepi.git] / test / resources / planetlab / tap.py
index 2d90707..3c46513 100755 (executable)
@@ -50,8 +50,8 @@ class PlanetlabTapTestCase(unittest.TestCase):
         ec.set(node, "cleanProcesses", True)
 
         tap = ec.register_resource("PlanetlabTap")
-        ec.set(tap, "ip4", "%s.1" % self.netblock)
-        ec.set(tap, "prefix4", 24)
+        ec.set(tap, "endpoint_ip", "%s.1" % self.netblock)
+        ec.set(tap, "endpoint_prefix", 24)
         ec.register_connection(tap, node)
 
         app = ec.register_resource("LinuxApplication")