Openstack
Official cli client
- https://opendev.org/openstack/python-openstackclient
- https://docs.openstack.org/python-openstackclient/latest/
sudo pacman -S python-openstackclient
Completion
- openstack complete command
- Only supports bash completion
- For zsh completion:
wget https://gist.githubusercontent.com/philipsd6/aea968e80342973fd8d3aeeda343dae5/raw/aadf29fd9e499070860dd8fbf05dc6a100562511/_openstack \
-O ~/.zsh/completion/_openstack
Configuration
Done in:
~/.config/openstack/clouds.yaml
~/.config/openstack/clouds-public.yaml
Usage
openstack --os-cloud=otc_admin project list
Remove all resources from project
Leaves some resources behind / doesn't work at all ? :
openstack project purge --keep-project --project eu-de_terratest
OpenTelecomCloud extensions
https://python-otcextensions.readthedocs.io/en/latest/
pip3 install otcextensions python-openstackclient --user
OTC extension usage
openstack cce cluster list