-
Notifications
You must be signed in to change notification settings - Fork 95
Why using govc CLI instead of govmomi? #1586
Comments
One advantage of using the CLI vs. govmomi is the test code is simpler from not having to traverse the object hierarchy and hence more code to fetch data. At least that part of the test code is really small now with only command invocation and output parsing in use. |
yeah, but it does screen scraping, , doesn't it ? Or does govc spit out xml or json ? |
Json format is what we do today for the few commands used. |
In addition to #1586 (comment) (Thanks @govint ) .. the reason behind leveraging govc to keep in sync with other CLI approaches; we are using docker CLI, admin CLI so thought it would be better and lighter to use govc CLI. |
As per my understanding importing Please feel free to correct me about adding entry to |
|
Closing this as per above discussion - we don't have strong motivation to switch to govmomi as of now. |
This question was raised in a PR review discussion: #1585 (comment)
Why are we not using govmomi directly? Is it because govc CLI is easier to integrate with?
@shuklanirdesh82 @msterin
The text was updated successfully, but these errors were encountered: