Added new actions:
vsphere.vm_hw_hdds_get
- Retrieve a list of HDD information from the given VMvsphere.vm_hw_scsi_controllers_get
- Retrieve a list of SCSI controllers on the given VM
Contributed by John Schoewe (Encore Technologies).
Added new action:
vsphere.vm_snapshots_get
- Returns detailed information about the snapshots.
Contributed by Lionel Seydoux (SPIE ICS).
Updated host_get action to get all hosts if not are given. Added tests for action.
Contributed by Bradley Bishop (Encore Technologies).
Added action and tests to rename a VM
Contributed by Bradley Bishop (Encore Technologies).
Fixed bug in action vsphere.vm_snapshots_delete
. Where if there were special charaters
in the snapshot name vmware automatically encodes them which was causing the action to fail.
Contributed by Bradley Bishop (Encore Technologies).
Fixed bug in action vsphere.custom_attr_get
. It now ignores datastores that are in
"maintenance mode" if the datastore name is set to "automatic".
Contributed by Nick Maludy (Encore Technologies).
Added new action:
vsphere.custom_attr_get
- Return the value of the given Custom Attribute on an object
Contributed by John Schoewe (Encore Technologies).
Added new action:
vsphere.tag_id_get
- Retrieves the ID of a tag with the given category and name
Modified action:
vsphere.get_objects_with_tag
- Added ability to get objects with category and tag names
Contributed by John Schoewe (Encore Technologies).
Modified action:
vsphere.get_vms
- Added VM operating systems to the result
Contributed by John Schoewe (Encore Technologies).
- Minor linting fixes triggered by updated flake8 versions in CI
Added new action:
vsphere.vm_networks_get
- Retrieve a list of network names that the given VM is on
Contributed by John Schoewe (Encore Technologies).
Added new action:
vsphere.vm_config_info_get
- Retrieve Config Info for given Virtual Machines
Contributed by John Schoewe (Encore Technologies).
Added new actions:
vsphere.vm_snapshots_delete
- Removes any snapshots older than the specified age. Ignores any snapshots with names that match the given rexex patternsvsphere.vm_bestfit
- Determines the best host and datastore to provision a new VM to on a given cluster
Contributed by John Schoewe (Encore Technologies).
Updated actions:
vsphere.get_moid
- Returns an error if objects aren't found in vSphere
Contributed by John Schoewe (Encore Technologies).
Added new actions:
vsphere.get_tag_value_from_object
- Return the value of a tag with a given object ID and categoryvsphere.vm_resource_pool_get
- Return the MOID of a given VM's containing resource pool
Contributed by John Schoewe (Encore Technologies).
Added new tagging.py actions file to vmwarelib.
Added new actions:
vsphere.tag_attach_or_create
- Attach a tag to a given object and create the tag and category if they don't existvsphere.tag_category_create
- Create a vsphere tag categoryvsphere.tag_category_delete
- Delete a tag category from vSpherevsphere.tag_category_list
- List all tag categories from vSpherevsphere.tag_create
- Create a vSphere tag with the given categoryvsphere.tag_delete
- Delete a tag from vSpherevsphere.tag_list
- List all tags from a given category or all tags if no category is givenvsphere.custom_attr_assign
- Assign a custom attribute in vSpherevsphere.custom_attr_assign_or_create
- Assign a custom attribute in vSphere and create one if it doesn't exist
Added get_vim_type function to vmwarelib/actions.py
Updated actions to use vmwarelib/tagging functions:
vsphere.get_objects_with_tag
vsphere.get_tags_on_object
Renamed action:
vsphere.tags_attach_to_object
->vsphere.tags_attach_by_id
Contributed by John Schoewe (Encore Technologies).
Added new action:
vsphere.vm_tools_options_update
- Update VM tools information
Updated action:
-
vsphere.vm_check_tools
- returns Tools Config as well as tools statusContributed by Bradley Bishop (Encore Technologies).
Added new actions:
vsphere.custom_attr_assign
- Assign a custom attribute to a given objectvsphere.tags_attach_to_object
- Attach a list of tags to a given object
Contributed by John Schoewe (Encore Technologies).
- guest_process_run was missing the workflow file
-
Unit tests fixes for python3 updates
Contributed by Nick Maludy (Encore Technologies).
- Disable flake8 on W503 vs W504 line
- Minor linting changes
Added new actions:
vsphere.affinity_rule_delete
- Deletes an affinity rulevsphere.affinity_rule_create
- Creates an affinity rule and sets the proper informaiton
Contributed by Bradley Bishop (Encore Technologies).
- Bumped version to fix tagging issue. No code changes.
- Added a method in vmwarelib/actions.py to connect to the REST API.
- Added new actions:
vsphere.get_objects_with_tag
- return a list of objects with a given vmware tagvsphere.get_tags_on_object
- return a list of vmware tags on a given object
Contributed by John Schoewe (Encore Technologies).
Added a new action actions:
vsphere.host_get
- retrieves the Summary information for an ESX host.vsphere.host_network_hints_get
- retrieves the Network Hints for an ESX host.vsphere.vm_guest_info_get
- retrieves the Guest information for a VM.vsphere.vm_runtime_info_get
- retrieves the Runtime information for a VM.
Contributed by Nick Maludy (Encore Technologies).
Minor linting fixes
Enabled to specify IP Address for each NetworkAdapters in the 'vm_create_from_template' action
Fixed the problem to looking over the task state checking in the action library
Changed to be able to handle all vim Objects that pyvmomi prepared
Fixed non-unique position parameters
Updated action runner_type
from run-python
to python-script
Removed config.yaml
, and updated README to remove references to legacy config support. Pack already supports config.schema.yaml
Minor linting errors
Addition of DataCenter imput field for VM creation action and workflow. Fall back continues to function as present Although this should be provided if Multiple Datacenters are under a single Vsphere instance.
Update the TaskInfoSensor
to enable handling uncompleted Tasks.
Update config.schema.yaml to support any name for vcenters
Added schema file to apply the configuration schema to this pack.
Added 'taskinfo_sensor' to monitor the tasks which is executed on specified vSphere environment.
Added 'get_moid' action that enables to get object-id named MOID(Managed Object Reference ID) which is the identifier that uniquely identifies an object in vSphere from object-name and object-type.
Added global ssl_verify configuration option to disable SSL certificate verification when connecting to vSphere servers.
Added custom JSON Encoder class to serialize VM summary (vsphere.vm_hw_details_get
) output, hence, allowing results to be a list of dicts instead of strings. Makes it easier to access the results later in the workflows or action chains.
Update nic actions to factor in Distributed Port Groups. When setting a network the DPG will be used over a standard port group of the same name.
Updates to actions to factor in ST2 V2 changes forcing string conversions for output and publish variable syntax changes. vm_basic_build workflow introduction of 12 seconds delay between elements to support parrallel action load balancing
Improved error message around Connection/Configuration details. Addition of item get action.
Introduction of Multi Endpoint Configuration.
Clean up of duplicate actions. Addition of moid retrieval function.
Addition of vm_hw atomic actions to create basic Virtual Machine.