Changing ResourceManager naming for platform::ResourceName
[nepi.git] / examples / omf / testing / nepi_omf6_plexus_hostname.py
index 5f58e95..4734d48 100644 (file)
@@ -30,7 +30,7 @@ ec = ExperimentController()
 
 # Create and Configure the Nodes
 
-node1 = ec.register_resource("OMFNode")
+node1 = ec.register_resource("omf::Node")
 ec.set(node1, 'hostname', 'wlab12')
 ec.set(node1, 'xmppServer', "xmpp-plexus.onelab.eu")
 ec.set(node1, 'xmppUser', "nepi")
@@ -38,15 +38,15 @@ ec.set(node1, 'xmppPort', "5222")
 ec.set(node1, 'xmppPassword', "1234")
 
 # Create and Configure the Application
-app1 = ec.register_resource("OMFApplication")
+app1 = ec.register_resource("omf::Application")
 ec.set(app1, 'command', '/bin/hostname -f')
 ec.set(app1, 'env', "")
 
-app2 = ec.register_resource("OMFApplication")
+app2 = ec.register_resource("omf::Application")
 ec.set(app2, 'command', '/bin/date')
 ec.set(app2, 'env', "")
 
-app3 = ec.register_resource("OMFApplication")
+app3 = ec.register_resource("omf::Application")
 ec.set(app3, 'command', '/bin/hostname -f')
 ec.set(app3, 'env', "")