All Classes and Interfaces
Class
Description
Owns how many "limited builds" each vSphere agent has done, so that the agent can be recycled once it reaches its
limit.
The outcome and the usage of the agent right after.
What happened when a run asked to be counted.
What to do when a run that may have been counted is over.
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.
Works out the inventory folder for a clone from the folder of its source, for inventories that group
VMs in per-host folders: the source's folder path has an element named after the source's host, and
the clone's folder is the same path with that element replaced by the name of the clone's host.
Minimal amounts of free resources a host must have right now to be a candidate for a new VM
at all (see
VSphereHostSelection.limitShortfall(org.jenkinsci.plugins.vsphere.tools.VSphereHostSelection.HostCandidate, org.jenkinsci.plugins.vsphere.tools.HostLimits)), as opposed to HostWeights, which
only decide which of the candidates is preferred.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.Told that host selection found no host to use at the moment; see
HostSelectionOptions.withWaitListener(org.jenkinsci.plugins.vsphere.tools.HostSelectionOptions.Listener, boolean).Adapts a pipeline's
hostSelectionWaitNotification to the HostSelectionOptions.Listener
that host selection tells.Why automatic host selection found no host to place a new VM on at the moment, which is when
hostSelectionWaitSeconds comes into play.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.
Counts the Pipeline runs that use a
vSphereCloudSlave, which vSphereCloudRunListener cannot see:
the Run itself is owned by a flyweight executor on the controller and only the Queue.Task of each
node {} block is executed on the agent.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.
What one look at the cluster's hosts found: either the hosts that may be given the new VM, or, if
there are none, the
reason why not and a description for the log.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 ..
Waits for a while;
Thread.sleep(long) in real life.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.