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

Feature to interact with existing Host Groups/Host DRS Rules. #176

Open
3 tasks done
jake2184 opened this issue Aug 5, 2019 · 3 comments
Open
3 tasks done

Feature to interact with existing Host Groups/Host DRS Rules. #176

jake2184 opened this issue Aug 5, 2019 · 3 comments

Comments

@jake2184
Copy link

jake2184 commented Aug 5, 2019

Environment

  • sdk package version:

nsx-vmc-aws-integration-python-sdk==2.3.0.0.3.13851140
nsx-vmc-policy-python-sdk==2.3.0.0.3.13851140
pyvmomi==6.7.1.2018.12
vapi-client-bindings==3.0.0
vapi-common-client==2.12.0
vapi-runtime==2.12.0
vmc-client-bindings==1.9.0
vSphere-Automation-SDK==1.3.0

  • python version:

Python 3.7.3

  • vSphere version:

  • Operating System/Shell (used to run SDK-based apps):
    Fedora 30

Feature Request

Hi,
I am using the SDK to automate creation of VMs, and everything is successful except adding the VM to an existing Host Group, to apply a DRS rule that applies to that host group.

I am unable to find a way to do this using the SDK documentation, source code or provided samples. I initially thought I had found it with compute_policy_workflow, but this does not seem the thing - the existing host group/rule is not related to tags at all, and the examples/documentation do not seem to provide a way to list existing policies, only create new ones. Docs used here

If this functionality exists, please can you point me at an example for adding a VM to an existing Host Group? If not, can this functionalilty be added?

@jobingeo
Copy link
Contributor

jobingeo commented Dec 6, 2019

Do you mean , moving this VM to a host group (Cluster). If so, this is not currently supported in this SDK bindings.
And this may be supported in future releases. Whenever available, we can provide sample code.

@jobingeo jobingeo closed this as completed Dec 6, 2019
@jobingeo jobingeo reopened this Dec 6, 2019
@jake2184
Copy link
Author

jake2184 commented Dec 6, 2019

Ok, thansk for the answer. I am trying to use this as a cross-platform replacement for powershell my team to be able to deploy new VMs. Is there an expectation or a timeframe for this SDK to wrap 'most' features in the VMWare API?

@anusha94
Copy link
Contributor

@jake2184
Can you please confirm if the latest SDK supports this feature or not?

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

3 participants