PHP 클래스 Scalr\Modules\Platforms\Openstack\OpenstackPlatformModule

상속: extends Scalr\Modules\Platforms\AbstractOpenstackPlatformModule, implements Scalr\Modules\PlatformModuleInterface
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$instancesDetailsCache
$instancesListCache

공개 메소드들

메소드 설명
CheckServerSnapshotStatus ( BundleTask $BundleTask )
ClearCache ( )
CreateServerSnapshot ( BundleTask $BundleTask )
GetPlatformAccessData ( Scalr_Environment $environment, DBServer $DBServer )
GetServerCloudLocation ( DBServer $DBServer )
GetServerConsoleOutput ( DBServer $DBServer )
GetServerExtendedInformation ( DBServer $DBServer, $extended = false )
GetServerID ( DBServer $DBServer )
GetServerIPAddresses ( DBServer $DBServer )
GetServerRealStatus ( DBServer $DBServer )
GetServersList ( Scalr_Environment $environment, $cloudLocation, $skipCache = false )
IsServerExists ( DBServer $DBServer, $debug = false )
LaunchServer ( DBServer $DBServer, Scalr_Server_LaunchOptions $launchOptions = null )
PutAccessData ( DBServer $DBServer, Scalr_Messaging_Msg $message )
RebootServer ( DBServer $DBServer, $soft = true )
RemoveServerSnapshot ( Image $image )
ResumeServer ( DBServer $DBServer )
SuspendServer ( DBServer $DBServer )
TerminateServer ( DBServer $DBServer )
__construct ( string $platform = SERVER_PLATFORMS::OPENSTACK ) Constuctor
determineServerIps ( OpenStack $client, $server )
getEndpointUrl ( Scalr_Environment $env, string $group = null ) : string Gets endpoint url for private clouds
getHttpClient ( DBServer $dbServer ) : RestClient
getInstanceIdPropertyName ( )
getInstanceTypes ( Scalr_Environment $env = null, $cloudLocation = null, $details = false )
getLocations ( Scalr_Environment $environment = null )
getOsClient ( Scalr_Environment $environment, $cloudLocation ) : OpenStack
hasCloudPrices ( Scalr_Environment $env )

보호된 메소드들

메소드 설명
ApplyAccessData ( Scalr_Messaging_Msg $msg )

비공개 메소드들

메소드 설명
GetServerAvailZone ( DBServer $DBServer, OpenStack $client, Scalr_Server_LaunchOptions $launchOptions ) Gets Avail zone for the specified DB server
GetServerSecurityGroupsList ( DBServer $DBServer, OpenStack $osClient, Scalr_Governance $governance = null )

메소드 상세

ApplyAccessData() 보호된 메소드

protected ApplyAccessData ( Scalr_Messaging_Msg $msg )
$msg Scalr_Messaging_Msg

CheckServerSnapshotStatus() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::CheckServerSnapshotStatus()
public CheckServerSnapshotStatus ( BundleTask $BundleTask )
$BundleTask BundleTask

ClearCache() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::ClearCache()
public ClearCache ( )

CreateServerSnapshot() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::CreateServerSnapshot()
public CreateServerSnapshot ( BundleTask $BundleTask )
$BundleTask BundleTask

GetPlatformAccessData() 공개 메소드

public GetPlatformAccessData ( Scalr_Environment $environment, DBServer $DBServer )
$environment Scalr_Environment
$DBServer DBServer

GetServerCloudLocation() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::GetServerCloudLocation()
public GetServerCloudLocation ( DBServer $DBServer )
$DBServer DBServer

GetServerConsoleOutput() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::GetServerConsoleOutput()
public GetServerConsoleOutput ( DBServer $DBServer )
$DBServer DBServer

GetServerExtendedInformation() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::GetServerExtendedInformation()
public GetServerExtendedInformation ( DBServer $DBServer, $extended = false )
$DBServer DBServer

GetServerID() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::GetServerID()
public GetServerID ( DBServer $DBServer )
$DBServer DBServer

GetServerIPAddresses() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::GetServerIPAddresses()
public GetServerIPAddresses ( DBServer $DBServer )
$DBServer DBServer

GetServerRealStatus() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::GetServerRealStatus()
public GetServerRealStatus ( DBServer $DBServer )
$DBServer DBServer

GetServersList() 공개 메소드

public GetServersList ( Scalr_Environment $environment, $cloudLocation, $skipCache = false )
$environment Scalr_Environment

IsServerExists() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::IsServerExists()
public IsServerExists ( DBServer $DBServer, $debug = false )
$DBServer DBServer

LaunchServer() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::LaunchServer()
public LaunchServer ( DBServer $DBServer, Scalr_Server_LaunchOptions $launchOptions = null )
$DBServer DBServer
$launchOptions Scalr_Server_LaunchOptions

PutAccessData() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::PutAccessData()
public PutAccessData ( DBServer $DBServer, Scalr_Messaging_Msg $message )
$DBServer DBServer
$message Scalr_Messaging_Msg

RebootServer() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::RebootServer()
public RebootServer ( DBServer $DBServer, $soft = true )
$DBServer DBServer

RemoveServerSnapshot() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::RemoveServerSnapshot()
public RemoveServerSnapshot ( Image $image )
$image Scalr\Model\Entity\Image

ResumeServer() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::ResumeServer()
public ResumeServer ( DBServer $DBServer )
$DBServer DBServer

SuspendServer() 공개 메소드

public SuspendServer ( DBServer $DBServer )
$DBServer DBServer

TerminateServer() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::TerminateServer()
public TerminateServer ( DBServer $DBServer )
$DBServer DBServer

__construct() 공개 메소드

Constuctor
public __construct ( string $platform = SERVER_PLATFORMS::OPENSTACK )
$platform string The name of the openstack based platform

determineServerIps() 공개 메소드

public determineServerIps ( OpenStack $client, $server )
$client Scalr\Service\OpenStack\OpenStack

getEndpointUrl() 공개 메소드

Gets endpoint url for private clouds
public getEndpointUrl ( Scalr_Environment $env, string $group = null ) : string
$env Scalr_Environment The scalr environment object
$group string optional The group name for eucaliptus
리턴 string Returns endpoint url for private clouds.

getHttpClient() 공개 메소드

또한 보기: PlatformModuleInterface::getgetClientByDbServer()
public getHttpClient ( DBServer $dbServer ) : RestClient
$dbServer DBServer
리턴 Scalr\Service\OpenStack\Client\RestClient

getInstanceIdPropertyName() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::getInstanceIdPropertyName()

getInstanceTypes() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::getInstanceTypes()
public getInstanceTypes ( Scalr_Environment $env = null, $cloudLocation = null, $details = false )
$env Scalr_Environment

getLocations() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::getLocations()
public getLocations ( Scalr_Environment $environment = null )
$environment Scalr_Environment

getOsClient() 공개 메소드

public getOsClient ( Scalr_Environment $environment, $cloudLocation ) : OpenStack
$environment Scalr_Environment
리턴 Scalr\Service\OpenStack\OpenStack

hasCloudPrices() 공개 메소드

또한 보기: Scalr\Modules\PlatformModuleInterface::hasCloudPrices()
public hasCloudPrices ( Scalr_Environment $env )
$env Scalr_Environment

프로퍼티 상세

$instancesDetailsCache 공개적으로 프로퍼티

public $instancesDetailsCache

$instancesListCache 공개적으로 프로퍼티

public $instancesListCache