public class Hypervisor
extends hudson.slaves.Cloud
| Modifier and Type | Class and Description |
|---|---|
static class |
Hypervisor.DescriptorImpl |
| Constructor and Description |
|---|
Hypervisor(String hypervisorType,
String hypervisorHost,
int hypervisorSshPort,
String hypervisorSystemUrl,
String username) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvision(hudson.model.Label label) |
Hypervisor.DescriptorImpl |
getDescriptor() |
Map<String,org.libvirt.Domain> |
getDomains() |
String |
getHypervisorDescription() |
String |
getHypervisorHost() |
int |
getHypervisorSshPort() |
String |
getHypervisorSystemUrl() |
String |
getHypervisorType() |
String |
getHypervisorURI() |
String |
getUsername() |
List<VirtualMachine> |
getVirtualMachines()
Returns a
List of VMs configured on the hypervisor. |
Collection<hudson.slaves.NodeProvisioner.PlannedNode> |
provision(hudson.model.Label label,
int i) |
String |
toString() |
all, checkPermission, getACL, getDisplayName, getSearchUrl, hasPermissionpublic String getHypervisorHost()
public int getHypervisorSshPort()
public String getHypervisorType()
public String getHypervisorSystemUrl()
public String getUsername()
public String getHypervisorDescription()
public Map<String,org.libvirt.Domain> getDomains() throws org.libvirt.LibvirtException
org.libvirt.LibvirtExceptionpublic List<VirtualMachine> getVirtualMachines()
List of VMs configured on the hypervisor. This method always retrieves the current list of
VMs to ensure that newly available instances show up right away.public Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label, int i)
provision in class hudson.slaves.Cloudpublic boolean canProvision(hudson.model.Label label)
canProvision in class hudson.slaves.Cloudpublic Hypervisor.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.slaves.Cloud>getDescriptor in class hudson.slaves.Cloudpublic String getHypervisorURI()
Copyright © 2004-2013 Byte-Code. All Rights Reserved.