Grab members of a given DRS affinity Hostgroup
Open
Nobody has claimed this yet.
question
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I have created a DRS affinity host group in my cluster called "windows_licensed" and I am trying to grab the esx hosts in there. I think it has to do with vim.cluster.HostGroup but I haven't been able to figure it out.
Tried the property collector but it seems this isn't a supported view_type.
Any kickstart would be appreciated.
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the vim.cluster.HostGroup API and the property collector behavior described in the issue. Determine whether ESX hosts in the named DRS affinity host group can be retrieved through pyvmomi, and document or test the supported approach if one exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100