public class SmartOSHostController extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SmartOSHostController.HostException  | 
static class  | 
SmartOSHostController.NoResponseException  | 
| Modifier and Type | Field and Description | 
|---|---|
protected SshClient | 
_connection  | 
protected com.google.common.base.Supplier<Credentials> | 
creds  | 
protected String | 
hostname  | 
protected Json | 
json  | 
protected SshClient.Factory | 
sshClientFactory  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
SmartOSHostController(com.google.common.base.Supplier<URI> provider,
                     com.google.common.base.Supplier<Credentials> creds,
                     SshClient.Factory sshFactory,
                     Json json)  | 
| Modifier and Type | Method and Description | 
|---|---|
VM | 
createVM(VmSpecification specification)  | 
void | 
destroyHost(UUID uuid)  | 
String | 
exec(String cmd)  | 
Iterable<DataSet> | 
getAvailableImages()
What remotely available images are there in the cloud? 
 | 
protected SshClient | 
getConnection()  | 
DataSet | 
getDataSet(UUID imageId)  | 
String | 
getDescription()  | 
String | 
getHostname()  | 
Iterable<DataSet> | 
getLocalDatasets()  | 
SshClient.Factory | 
getSshClientFactory()  | 
VM | 
getVM(UUID serverId)  | 
Map<String,String> | 
getVMIpAddresses(UUID vmId)  | 
Iterable<VM> | 
getVMs()  | 
void | 
rebootHost(UUID uuid)  | 
void | 
startHost(UUID uuid)  | 
void | 
stopHost(UUID uuid)  | 
String | 
vmList()  | 
protected final String hostname
protected final com.google.common.base.Supplier<Credentials> creds
protected final SshClient.Factory sshClientFactory
protected final Json json
protected transient SshClient _connection
@Inject protected SmartOSHostController(com.google.common.base.Supplier<URI> provider, com.google.common.base.Supplier<Credentials> creds, SshClient.Factory sshFactory, Json json)
public String getDescription()
public String getHostname()
public SshClient.Factory getSshClientFactory()
protected SshClient getConnection()
public String vmList()
public Iterable<DataSet> getAvailableImages()
public VM createVM(VmSpecification specification)
public void destroyHost(UUID uuid)
public void rebootHost(UUID uuid)
public void stopHost(UUID uuid)
public void startHost(UUID uuid)
Copyright © 2009-2013 jclouds. All Rights Reserved.