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

[WIP] Make find_obj() a PyVmomi method #2318

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

mariolenz
Copy link
Collaborator

@mariolenz mariolenz commented Feb 16, 2025

SUMMARY

I think we should make find_obj() a method of the PyVmomi class.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • plugins/module_utils/vmware.py
  • vmware_custom_attribute_manager
  • vmware_dvswitch_info
  • vmware_guest
  • vmware_guest_disk
  • vmware_host_datastore
  • vmware_host_facts
  • vmware_host_snmp
  • vmware_object_custom_attributes_info
  • vmware_object_role_permission
  • vmware_object_role_permission_info
  • vmware_vm_config_option
ADDITIONAL INFORMATION

eddiehavila#1

@mariolenz
Copy link
Collaborator Author

recheck

@mariolenz
Copy link
Collaborator Author

recheck

Copy link

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/d7367959dee04a479c982730065841e0

✔️ ansible-tox-linters SUCCESS in 5m 11s
✔️ build-ansible-collection SUCCESS in 7m 50s
✔️ ansible-test-cloud-integration-vcenter7_only-stable218 SUCCESS in 21m 58s
✔️ ansible-test-cloud-integration-vcenter7_2esxi-stable218 SUCCESS in 18m 12s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable218_1_of_2 SUCCESS in 59m 02s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable218_2_of_2 SUCCESS in 1h 11m 31s
✔️ ansible-galaxy-importer SUCCESS in 4m 26s

@mariolenz
Copy link
Collaborator Author

I'm not sure what to do about vmware_guest_cross_vc_clone and vmware_guest_instant_clone. Those two modules look tricky to me :-/

@ihumster Do you have a good idea? I don't have one ATM...

@mariolenz
Copy link
Collaborator Author

@ihumster I might have an idea about vmware_guest_cross_vc_clone and vmware_guest_instant_clone, but I'm not sure yet. Let me work a bit on this...

softwarefactory-project-zuul bot pushed a commit that referenced this pull request Feb 21, 2025
SUMMARY
It feels wrong that this module uses vmware.connect_to_api directly. I think it would be better to inherit from / sub-class PyVmomi
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
vmware_migrate_vmk
ADDITIONAL INFORMATION
#2318
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Feb 23, 2025
SUMMARY
It feels wrong that this module uses vmware.connect_to_api directly. I think it would be better to inherit from / sub-class PyVmomi
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
vmware_vm_vss_dvs_migrate
ADDITIONAL INFORMATION
#2318
#2324
Copy link

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/e34ffc86424843218512a1dea84a458b

✔️ ansible-tox-linters SUCCESS in 4m 53s
✔️ build-ansible-collection SUCCESS in 5m 54s
✔️ ansible-galaxy-importer SUCCESS in 5m 38s

Copy link

Pull request merge failed: Resource not accessible by integration, You may need to manually rebase your PR and retry.

@mariolenz mariolenz added WIP Work in progress and removed mergeit labels Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant