/** * {@inheritDoc} */ public function __construct(OpenStack $conn, $serviceName, $serviceRegion, $urltype) { $this->getLogger()->info('Initializing Orchestration...'); parent::__construct($conn, 'orchestration', $serviceName, $serviceRegion, $urltype); }
/** * Called when creating a new Compute service object * * _NOTE_ that the order of parameters for this is *different* from the * parent Service class. This is because the earlier parameters are the * ones that most typically change, whereas the later ones are not * modified as often. * * @param \OpenCloud\Identity $conn - a connection object * @param string $serviceRegion - identifies the region of this Compute * service * @param string $urltype - identifies the URL type ("publicURL", * "privateURL") * @param string $serviceName - identifies the name of the service in the * catalog */ public function __construct(OpenStack $conn, $serviceName, $serviceRegion, $urltype) { $this->debug(_('initializing Orchestration...')); parent::__construct($conn, 'orchestration', $serviceName, $serviceRegion, $urltype); }
/** * Main service constructor. * * @access public * @param OpenStack $connection * @param mixed $serviceName * @param mixed $serviceRegion * @param mixed $urlType * @return void */ public function __construct(OpenStack $connection, $serviceName, $serviceRegion, $urlType) { parent::__construct($connection, 'rax:monitor', $serviceName, $serviceRegion, $urlType); }
/** * Called when creating a new Compute service object * * _NOTE_ that the order of parameters for this is *different* from the * parent Service class. This is because the earlier parameters are the * ones that most typically change, whereas the later ones are not * modified as often. * * @param \OpenCloud\Identity $conn - a connection object * @param string $serviceRegion - identifies the region of this Compute * service * @param string $urltype - identifies the URL type ("publicURL", * "privateURL") * @param string $serviceName - identifies the name of the service in the * catalog */ public function __construct(OpenStack $conn, $serviceType, $serviceName, $serviceRegion, $urltype) { parent::__construct($conn, $serviceType, $serviceName, $serviceRegion, $urltype); $this->_url = Lang::noslash(parent::Url()); $this->getLogger()->info(Lang::translate('Initializing Nova...')); }
/** * creates a new DNS object * * @param \OpenCloud\OpenStack $conn connection object * @param string $serviceName the name of the service * @param string $serviceRegion (not currently used; DNS is regionless) * @param string $urltype the type of URL */ public function __construct(OpenStack $connection, $serviceName, $serviceRegion, $urltype) { $this->getLogger()->info('Initializing DNS...'); parent::__construct($connection, 'rax:dns', $serviceName, $serviceRegion, $urltype); }
/** * Called when creating a new Autoscale service object * * _NOTE_ that the order of parameters for this is *different* from the * parent Service class. This is because the earlier parameters are the * ones that most typically change, whereas the later ones are not * modified as often. * * @param OpenStack $conn - a connection object * @param string $serviceRegion - identifies the region of this Compute * service * @param string $urltype - identifies the URL type ("publicURL", * "privateURL") * @param string $serviceName - identifies the name of the service in the * catalog */ public function __construct(OpenStack $conn, $serviceName, $serviceRegion, $urltype, $customEndpoint = null) { parent::__construct($conn, 'rax:autoscale', $serviceName, $serviceRegion, $urltype, $customEndpoint); $this->getLogger()->info('Initializing Autoscale...'); }
/** * Called when creating a new Autoscale service object * * _NOTE_ that the order of parameters for this is *different* from the * parent Service class. This is because the earlier parameters are the * ones that most typically change, whereas the later ones are not * modified as often. * * @param OpenStack $conn - a connection object * @param string $serviceRegion - identifies the region of this Compute * service * @param string $urltype - identifies the URL type ("publicURL", * "privateURL") * @param string $serviceName - identifies the name of the service in the * catalog */ public function __construct(OpenStack $conn, $serviceName, $serviceRegion, $urltype) { $this->debug(_('initializing Autoscale...')); parent::__construct($conn, 'rax:autoscale', $serviceName, $serviceRegion, $urltype); }
/** * creates a new DNS object * * @param \OpenCloud\OpenStack $conn connection object * @param string $serviceName the name of the service * @param string $serviceRegion (not currently used; DNS is regionless) * @param string $urltype the type of URL */ public function __construct(OpenStack $connection, $serviceName, $serviceRegion, $urltype) { $this->debug(Lang::translate('initializing DNS...')); parent::__construct($connection, 'rax:dns', $serviceName, $serviceRegion, $urltype); }
/** * Called when creating a new Compute service object * * _NOTE_ that the order of parameters for this is *different* from the * parent Service class. This is because the earlier parameters are the * ones that most typically change, whereas the later ones are not * modified as often. * * @param \OpenCloud\Identity $conn - a connection object * @param string $serviceRegion - identifies the region of this Compute * service * @param string $urltype - identifies the URL type ("publicURL", * "privateURL") * @param string $serviceName - identifies the name of the service in the * catalog */ public function __construct(OpenStack $conn, $serviceType, $serviceName, $serviceRegion, $urltype) { $this->debug(Lang::translate('initializing Nova...')); parent::__construct($conn, $serviceType, $serviceName, $serviceRegion, $urltype); $this->_url = Lang::noslash(parent::Url()); }