vcd-cli icon indicating copy to clipboard operation
vcd-cli copied to clipboard

Implement 'vdc list-compute-policies'.

Open odraghi opened this issue 2 years ago • 0 comments

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

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

  • is_default
  • is_sizing
  • is_vm_placement

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 [email protected]

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

  • (Required) Short description of changes in the PR topic line

  • (Required) Detailed description of changes include tests and documentation. If the pull request contains multiple commits with detailed messages, refer to those instead

  • (Optional) Names of reviewers using @ sign + name

odraghi avatar Oct 05 '22 02:10 odraghi