Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r/dpm_host_override: New resource #503

Merged
merged 7 commits into from
May 8, 2018

Conversation

vancluever
Copy link
Contributor

This contains the code, tests, and docs for the vsphere_dpm_host override resource, which allows one to override settings for a host within a vsphere_comptue_cluster resource.

vancluever added 7 commits May 2, 2018 17:42
This is literally a copy/paste/search+replace of
vsphere_drs_vm_override. It builds, but will not work in its current
form.
Ie: Remove "default" from ha_vm_restart_priority and
ha_vm_restart_timeout, ensuring that the expanders/flatteners can be
re-used in the vsphere_ha_vm_override resource.
Resource CRUD is now done, will be working on tests and docs shortly.
One of the more interesting parts here is that this override needs to be
an Edit operation instead of an Add operation for update, or else you
get an invalid parameter fault.
resourceVSphereHaVMOverride is now resourceVSphereHAVMOverride, and its
capitalized particle has been corrected in the same way. This is to make
it consistent with other overrides.
Also added a missing cluster default for ha_vm_restart_timeout.
This contains the code, tests, and docs for the vsphere_dpm_host
override resource, which allows one to override settings for a host
within a vsphere_comptue_cluster resource.
@vancluever vancluever added enhancement Type: Enhancement new-resource Feature: New Resource labels May 5, 2018
@vancluever vancluever requested a review from a team May 5, 2018 16:46
Copy link
Contributor

@bill-rich bill-rich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vancluever vancluever merged commit 28aeb30 into master May 8, 2018
@bill-rich bill-rich deleted the f-vsphere-dpm-host-override-resource branch August 7, 2018 22:30
@ghost ghost locked and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Type: Enhancement new-resource Feature: New Resource
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants