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

vmware_guest_network: Fix to port group changes to work properly #401

Merged

Conversation

sky-joker
Copy link
Collaborator

@sky-joker sky-joker commented Sep 24, 2020

SUMMARY

Fix to port group changes to work properly.
The vmware_guest_network module has been an error that occurs or can't change the port group when changing the port group.
The cause of the error is each object type didn't compare well, wronged object structure.
This PR is to fix that bug.
And NSX-T port group supported.

fixes: #88 #204 #339 #352

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

plugins/modules/vmware_guest_network.py

ADDITIONAL INFORMATION

tested on vCenter/ESXi 7.0/6.7 and NSX-T 3.0

@mariolenz
Copy link
Collaborator

LGTM

Copy link
Member

@Akasurde Akasurde left a comment

Choose a reason for hiding this comment

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

LGTM

@Akasurde
Copy link
Member

@mariolenz Do you think we can go ahead and merge this? Thanks.

@mariolenz
Copy link
Collaborator

@Akasurde

Do you think we can go ahead and merge this? Thanks.

I successfully ran some test playbooks in our environment and the code changes make sense to me. So I'd say: Yes, go ahead.

@Akasurde Akasurde added the gate label Sep 30, 2020
@Akasurde
Copy link
Member

@mariolenz Thanks for the heads-up and feedback.

@ansible-zuul ansible-zuul bot merged commit c1a375e into ansible-collections:main Sep 30, 2020
@sky-joker
Copy link
Collaborator Author

Thank you @mariolenz @Akasurde !

@sky-joker sky-joker deleted the vmware_guest_network_patch branch September 30, 2020 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vmware_guest_network: Add network adapter to vm
3 participants