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

Add dns_servers option to vcd_nsxt_network_dhcp resource #830

Merged
merged 13 commits into from
Apr 29, 2022

Conversation

mikeletux
Copy link
Contributor

@mikeletux mikeletux commented Apr 21, 2022

This PR relays on vmware/go-vcloud-director#465

Description

On issue #753 it is suggested to implement DNS servers to vcd_nsxt_network_dhcp, as it is available from VCD 10.3.1.

Detailed description

This PR introduces the possibility of adding dns_servers to the vcd_nsxt_network_dhcpresource.
Since dns_servers is a feature introduced on VCD 10.3.1 (API v36.1), if these are set and the VCD version the user is working on is below that, it will error.

Successfully tested on VCD 10.3.2 with system administrator as well as org administrator

Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

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

LGTM!

Miguel Sama added 9 commits April 27, 2022 10:48
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Miguel Sama added 2 commits April 27, 2022 10:48
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
@mikeletux mikeletux self-assigned this Apr 27, 2022
Signed-off-by: Miguel Sama <msama@vmware.com>
@mikeletux mikeletux merged commit b159280 into vmware:main Apr 29, 2022
@mikeletux mikeletux deleted the feature-nsxt-dhcp-dns branch April 29, 2022 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants