-
Notifications
You must be signed in to change notification settings - Fork 76
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 VM.GetEnvironment() to retrieve OVF Environment #528
Conversation
Signed-off-by: Olivier DRAGHI <[email protected]>
Thanks for this contribution.
|
Signed-off-by: Olivier DRAGHI <[email protected]>
Signed-off-by: Olivier DRAGHI <[email protected]>
Signed-off-by: Olivier DRAGHI <[email protected]>
Signed-off-by: Olivier DRAGHI <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
The new test passed for me in 10.4.1 and 10.3.0.
Just a couple of comments/suggestions/changes:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Tidying error messages).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
Signed-off-by: Olivier DRAGHI <[email protected]>
@odraghi , |
@Didainius you're welcome, let me know if you need me to change something |
I have tried to run tests in such combination:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contributing!
Thanks @odraghi , this is in |
Signed-off-by: Olivier DRAGHI [email protected]
Description
I need a way for a service running inside a VM to query cloud director as an OrgAdmin and find itself.
I think about checking the VM moref that is available with vmtools :
vmtoolsd --cmd "info-get guestinfo.ovfenv" | grep "ve:vCenterId" | cut -d'"' -f2
Unfortunately getting ovfenv ( Environment ) was not implemeted in govdc.
Related issue: (#526)