public function getLocations(Scalr_Environment $environment = null)
{
$retval = [];
if ($environment && $environment->isPlatformEnabled($this->platform)) {
try {
$cs = $environment->cloudstack($this->platform);
foreach ($cs->zone->describe() as $zone) {
$retval[$zone->name] = ucfirst($this->platform) . " / {$zone->name}";
}
} catch (Exception $e) {
}
}
return $retval;
}