Simple library and CLI for explore the clouds.yaml
Project description
Simple library and CLI to explore the clouds.yaml
If you manage a big OpenStack cloud, you may find yourself in a situation with a lot of entries in your clouds.yaml file.
The problem is that you need to configure a separate cloud for each project.
Moreover, they multiplied by the count of regions in your deployment.
The cloudsyaml
package, which provides simple clouds
utility will simplify exploring such a yaml-based database.
List configured clouds
$ clouds list
admin
octavia
octavia-testos
Filter clouds by keywords
$ clouds list --grep octavia --grep testos
octavia-testos
List configured clouds in format of export command for shell
$ clouds list --eval
export OS_CLOUD=admin
export OS_CLOUD=octavia
export OS_CLOUD=octavia-testos
Get info about one cloud
$ clouds show admin
admin:
auth:
auth_url: https://cloud.example.com:5000
password: '******'
project_domain_name: Default
project_name: admin
user_domain_name: Default
username: admin
identity_api_verion: '3'
region_name: SPB
List configuration files used by SDK
$ clouds files
+-------------+--------------------------------------------------+
| name | path |
+-------------+--------------------------------------------------+
| clouds.yaml | /Users/igor.tiunov/.config/openstack/clouds.yaml |
| secure.yaml | /Users/igor.tiunov/.config/openstack/secure.yaml |
+-------------+--------------------------------------------------+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloudsyaml-0.10.0.tar.gz
(7.1 kB
view details)
File details
Details for the file cloudsyaml-0.10.0.tar.gz
.
File metadata
- Download URL: cloudsyaml-0.10.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f411ed517718b56df341ad5ea7cfccd10e47c4326051a33451e70c1aff6cdb6 |
|
MD5 | 2a23676f67b70d6830d5b732d469eb5f |
|
BLAKE2b-256 | 8a7d0a4bd1eb8da878bc6c235f1a26684f24adb94710c0aa8a7111bdaffd8acb |