Changing ResourceManager naming for platform::ResourceName
[nepi.git] / test / resources / planetlab / tun.py
index aa0def2..6c727f1 100755 (executable)
@@ -42,19 +42,19 @@ class PlanetlabTunTestCase(unittest.TestCase):
 
         ec = ExperimentController(exp_id = "test-un-create")
         
-        node = ec.register_resource("PlanetlabNode")
+        node = ec.register_resource("planetlab::Node")
         ec.set(node, "hostname", host)
         ec.set(node, "username", user)
         ec.set(node, "identity", identity)
-        ec.set(node, "cleanHome", True)
+        ec.set(node, "cleanExperiment", True)
         ec.set(node, "cleanProcesses", True)
 
-        tun = ec.register_resource("PlanetlabTun")
+        tun = ec.register_resource("planetlab::Tun")
         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")
+        app = ec.register_resource("linux::Application")
         cmd = "ping -c3 %s.1" % self.netblock
         ec.set(app, "command", cmd)
         ec.register_connection(app, node)