Change the name of ip4 and prefix4 into endpoint_ip and endpoint_prefix
[nepi.git] / test / resources / linux / tun.py
index 5a02be7..1f50158 100755 (executable)
@@ -46,8 +46,8 @@ class LinuxTunTestCase(unittest.TestCase):
         ec.set(node, "cleanProcesses", True)
 
         tun = ec.register_resource("LinuxTun")
-        ec.set(tun, "ip4", "%s.1" % self.netblock)
-        ec.set(tun, "prefix4", 24)
+        ec.set(tun, "endpoint_ip", "%s.1" % self.netblock)
+        ec.set(tun, "endpoint_prefix", 24)
         ec.register_connection(tun, node)
 
         app = ec.register_resource("LinuxApplication")