public function OnHostUp(HostUpEvent $event) { if (!in_array($event->DBServer->platform, array(\SERVER_PLATFORMS::CLOUDSTACK, \SERVER_PLATFORMS::IDCF))) { return; } //CloudstackHelper::setStaticNatForServer($event->DBServer); }