PHP Class DataSift\Storyplayer\HostLib\PhysicalHost

Inheritance: implements DataSift\Storyplayer\HostLib\SupportedHost
Exibir arquivo Open project: datasift/storyplayer

Protected Properties

Property Type Description
$st DataSift\Storyplayer\PlayerLib\StoryTeller

Public Methods

Method Description
__construct ( StoryTeller $st )
createHost ( PhysicalHostDetails $vmDetails, array $provisioningVars = [] ) : void
destroyHost ( PhysicalHostDetails $vmDetails ) : void
determineHostname ( PhysicalHostDetails $vmDetails ) : string
determineIpAddress ( PhysicalHostDetails $vmDetails ) : string
isRunning ( PhysicalHostDetails $vmDetails ) : boolean
powerOffHost ( PhysicalHostDetails $vmDetails ) : void
restartHost ( PhysicalHostDetails $vmDetails ) : void
runCommandAgainstHostManager ( PhysicalHostDetails $vmDetails, $command ) : void
runCommandViaHostManager ( PhysicalHostDetails $vmDetails, $command ) : void
startHost ( PhysicalHostDetails $vmDetails ) : void
stopHost ( PhysicalHostDetails $vmDetails ) : void

Method Details

__construct() public method

public __construct ( StoryTeller $st )
$st DataSift\Storyplayer\PlayerLib\StoryTeller

createHost() public method

public createHost ( PhysicalHostDetails $vmDetails, array $provisioningVars = [] ) : void
$vmDetails PhysicalHostDetails
$provisioningVars array
return void

destroyHost() public method

public destroyHost ( PhysicalHostDetails $vmDetails ) : void
$vmDetails PhysicalHostDetails
return void

determineHostname() public method

public determineHostname ( PhysicalHostDetails $vmDetails ) : string
$vmDetails PhysicalHostDetails
return string

determineIpAddress() public method

public determineIpAddress ( PhysicalHostDetails $vmDetails ) : string
$vmDetails PhysicalHostDetails
return string

isRunning() public method

public isRunning ( PhysicalHostDetails $vmDetails ) : boolean
$vmDetails PhysicalHostDetails
return boolean

powerOffHost() public method

public powerOffHost ( PhysicalHostDetails $vmDetails ) : void
$vmDetails PhysicalHostDetails
return void

restartHost() public method

public restartHost ( PhysicalHostDetails $vmDetails ) : void
$vmDetails PhysicalHostDetails
return void

runCommandAgainstHostManager() public method

public runCommandAgainstHostManager ( PhysicalHostDetails $vmDetails, $command ) : void
$vmDetails PhysicalHostDetails
return void

runCommandViaHostManager() public method

public runCommandViaHostManager ( PhysicalHostDetails $vmDetails, $command ) : void
$vmDetails PhysicalHostDetails
return void

startHost() public method

public startHost ( PhysicalHostDetails $vmDetails ) : void
$vmDetails PhysicalHostDetails
return void

stopHost() public method

public stopHost ( PhysicalHostDetails $vmDetails ) : void
$vmDetails PhysicalHostDetails
return void

Property Details

$st protected_oe property

protected StoryTeller,DataSift\Storyplayer\PlayerLib $st
return DataSift\Storyplayer\PlayerLib\StoryTeller