All Classes and Interfaces
Class
Description
How we decide what template to create the next agent on.
There's a delay between when we give a bunch of nodes to Jenkins (when
it asks us to provision some) and when those nodes appear in vSphere and in
Jenkins, so we need to keep a record of what's in progress so we don't
over-commit.
Utility class that works out what agents we should start up in response to
Jenkins asking us to start things.
Parameter used for selecting a vSphere cloud from a dropdown box.
Startup sanity check: Jenkins identifies a
Cloud by its name, so two clouds sharing
one (as every vSphere cloud did historically, and as a hand-edited config.xml may again)
make URLs like /manage/cloud/<name>/ and "Save" on the second one act on the first.Tells administrators that
DuplicateCloudNameFixer had to rename vSphere clouds at startup
because several clouds shared one name (typically after hand-editing config.xml,
or from before the plugin generated unique names).Expose guest info for the named VM as environmental variables.
Created by igreenfi on 11/30/2016.
Optional refinements for automatic host selection (see
VSphereHostSelection), already
resolved from cloud-level defaults and call-site overrides, so VSphere only has to apply
them.How much each of four measures of a host's free resources counts towards its score when
automatically choosing the "most available" host (see
VSphereHostSelection.rank(java.util.List<org.jenkinsci.plugins.vsphere.tools.VSphereHostSelection.HostCandidate>, org.jenkinsci.plugins.vsphere.tools.HostWeights)):
free CPU in MHz (absolute: a big host with the same load percentage has more to give),
free CPU as a share of the host's CPU capacity (relative: how idle the host is),
free memory in MB (absolute),
free memory as a share of the host's memory (relative).Knows which Ethernet address ranges vSphere reserves for what, so that an address that vCenter is going to
refuse can be flagged up front and explained (JENKINS-34001).
Where an address falls, as far as vSphere's allocation scheme is concerned.
Generated localization support class.
Generated localization support class.
Generated localization support class.
Generated localization support class.
Generated localization support class.
A
NodeProvisioner.Strategy that immediately provisions capacity to meet demand.Utility class for checking security permissions.
Define a base class for all Reconfigure Acion steps.
Sends a reconfiguration to vCenter.
What to do with one step when building the reconfiguration.
JENKINS-69035: runOnceCloud is not unique.
The optional CPU and memory settings a VM is to be created with, in the same operation that
creates it, instead of being reconfigured afterwards.
Define a base class for all vSphere build steps.
Retains a cloud computer until it has been idle for
VSphereCloudRetentionStrategy.getIdleMinutes() minutes (that part
is delegated straight to CloudRetentionStrategy), OR -- optionally -- until it has existed
for VSphereCloudRetentionStrategy.getLifespanMinutes() minutes in total, whichever happens first.Saving the configuration of an agent replaces its
Node (and thereby its launchers) while a
connected SlaveComputer carries on.Maintains a single long-lived vSphere session for one
vSphereCloud instance,
eliminating the per-operation login/logout overhead that occurs when every API call
creates and destroys its own session.Keeps
VSphereConnectionPool instances honest across two events that Jenkins
core has no dedicated "cloud replaced/removed" hook for:
Saving the Jenkins configuration (e.g.Represents a name/value pair that's sent to a vSphere virtual machine's
"guestinfo" object.
Pure, yavijava-free logic for picking a "best" ESXi host out of a
cluster's members, given per-host stats and an optional admin-supplied
allow-list.
Describes one candidate host's name, availability and current load,
as needed to decide whether/how favourably it can be used for a new
clone.
A candidate host with its availability score (0 worst ..
Offline because the plugin set it offline rather than anyone else.
A
AsyncPeriodicWork that pre-provisions nodes to meet insntanceMin template value.The vSphere invocation step for the Jenkins workflow plugin.