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 support for including/excluding resource pools by Managed Object ID (MOID) #882

Open
atc0005 opened this issue Aug 8, 2023 · 0 comments
Assignees
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Aug 8, 2023

Overview

Similar to the support for including/excluding Folder values based on Managed Object ID (MOID), we can provide the same support for including/excluding ResourcePool values.

This would allow excluding the Resources parent pool from another cluster or host in the same datacenter.

Context

I recently encountered a scenario where a new offsite host (ComputeResource) was added to an existing vSphere Datacenter that was not made part of the same existing cluster (ClusterComputeResource). This added another "parent" resource pool to the mix also named Resources.

Datacenter (ExampleDC)
	- Hosts & Clusters (hostFolder property)
		- HostSystem (192.168.2.200)
		- Cluster (XYZ-Hosted)

If we try to exclude the Resources pool by name we could end up matching both the Resources pool in the cluster and the Resources pool associated with the new non-clustered host.

Once support is available for filtering based on ResourcePool MOID we can reliably exclude the host-based Resources pool.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant