Commit e7034686 authored by aninhacostaribeiro's avatar aninhacostaribeiro
Browse files
parents 54d3e7f2 00272a7f
green.cloudtechnology = openstack
xmpp.jid = green-sitter.example.com
xmpp.password = tellNoOne
xmpp.host = localhost
xmpp.port = 1023
openstack.endpoint = http://novacompute.endpoint.com/v2.0
openstack.username = fogbow
openstack.username = admin
openstack.password = itIsASecret
openstack.tenant = fogbow-project
openstack.tenant = admin
greenstrategy.gracetime = 1800
greenstrategy.expirationtime = 300
......
......@@ -200,7 +200,7 @@ public class DefaultGreenStrategy implements GreenStrategy {
return;
}
if (host.getAvailableRAM() >= minRAM) {
this.scc.wakeUpHost(host.getName());
this.scc.wakeUpHost(host.getMacAddress());
this.sleepingHosts.remove(host);
LOGGER.info("Waked " + host);
}
......@@ -227,4 +227,4 @@ public class DefaultGreenStrategy implements GreenStrategy {
}
}, 0, threadTime, TimeUnit.SECONDS);
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment