ec.register_connection(reboot_app, gw_node)\r
\r
ec.register_condition(reboot_app, ResourceAction.START, load_app, \r
- ResourceState.STOPPED, time="20s") \r
+ ResourceState.STOPPED, time="300s") \r
\r
hosts = hosts.split(",")\r
\r
ec.set(node, "gatewayUser", gateway_username)\r
ec.set(node, "cleanExperiment", True)\r
ec.register_condition(node, ResourceAction.DEPLOY, reboot_app, \r
- ResourceState.STOPPED, time="30s") \r
+ ResourceState.STOPPED, time="300s") \r
\r
app = ec.register_resource("linux::Application")\r
ec.set(app, "command", "modprobe ath5k && ip a | grep wlan0 && service omf_rc restart")\r
\r
apps.append(app)\r
\r
+print "This might take time..."\r
+\r
ec.deploy(wait_all_ready=False)\r
\r
ec.wait_finished(apps)\r