Changing ResourceManager naming for platform::ResourceName
[nepi.git] / examples / omf / testing / nepi_omf5_plexus_stdin.py
index f856c1b..fc3a428 100644 (file)
@@ -48,7 +48,7 @@ import time
 ec = ExperimentController()
 
 # Create and Configure the Nodes
-node1 = ec.register_resource("OMFNode")
+node1 = ec.register_resource("omf::Node")
 ec.set(node1, 'hostname', 'omf.plexus.wlab17')
 ec.set(node1, 'xmppServer', "nepi")
 ec.set(node1, 'xmppUser', "xmpp-plexus.onelab.eu")
@@ -57,7 +57,7 @@ ec.set(node1, 'xmppPassword', "1234")
 ec.set(node1, 'version', "5")
 
 # Create and Configure the Application
-app1 = ec.register_resource("OMFApplication")
+app1 = ec.register_resource("omf::Application")
 ec.set(app1, 'appid', "robot")
 ec.set(app1, 'command', "/root/CTRL_test.rb coord.csv")
 ec.set(app1, 'env', "DISPLAY=localhost:10.0 XAUTHORITY=/root/.Xauthority")