Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page