vcd-cli
vcd-cli copied to clipboard
System account usage of vdc list or edge list w/o one org scope
Hello,
Once logged in as a System account, one should be able to list all vdc or edges for instance of the whole VCD platform. Right now, we have to scope it to a particular org, which is not the use case for System account usage of vcd-cli. In the same vain, we should be able to pass a regexp for orgs scoping.
Example of use-cases :
- listing all vApps of all orgs w/ ACME in orgName
- listing all tenants edges / vDC
This is something that could be accomplish easily using Query API filters and some filtering afterward.
Ideally, all listing of edgeGateway, orgVdc, orgVdcNetwork (and so on) should displays attributes available from the QueryApi return Records, and not a subset of them as this is the case currently with org list
.
Keep the good work!
Thanks @flamby. I have marked this as a requested enhancement and we'll add it to our backlog.
If you or anyone else would like to contribute pull requests to move this along we will gladly consider them. For those interested in contributing on this feature we recommend working through the design via this issue before getting into coding.
This seems to be still a problem today.
I created two separate related issues: https://github.com/vmware/vcd-cli/issues/436 and https://github.com/vmware/vcd-cli/issues/437