Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

odraghi
Copy link

@odraghi odraghi commented Oct 5, 2022

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

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]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant