vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
163 stars 104 forks source link

Implement 'vdc list-compute-policies'. #577

Open odraghi opened 1 year ago

odraghi commented 1 year ago

Option '--show-id' to show compute policy id.

The command show compute policies of the VDC and some details:

Tech note: Notice that I have used a private function _do_request_prim(). We should use class VcdClient and method client.call_api() but rehydrate_from_token() need to be surgarged to work proprely. I have a pending pull request to fix that in pyvcloud.

Signed-off-by: Olivier DRAGHI odraghi@gmail.com

To help us process your pull request efficiently, please include: