Flavor Manager
Overview
The OpenStack Flavor Manager manages the creation, modification, and removal of flavors. It operates as a facilitator that orchestrates compute flavors in alignment with the standard SCS-0100: Flavor Naming by utilizing YAML files provided by the SCS project.
Installation
The OpenStack Flavor Manager can be used via the OSISM CLI. This is the preferred way to use it.
No installation is then required. It is used via osism manage flavors
.
For use independent of OSISM install the openstack-flavor-manager
package with pip. It is likely
that additional dependencies such as pkg-config
or libssl-dev
must be installed in advance.
$ pip install openstack-flavor-manager
Or clone the repository osism/openstack-flavor-manager and use the OpenStack Flavor Manager from source with tox.
$ tox -- --help
Usage
There must be a clouds.yml
and a secure.yml
file in the directory where the OpenStack Flavor Manager
will be executed. When using the OSISM CLI, the files are expected in environments/openstack
in your configuration repository.
The cloud profile to be used can be specified via the optional --cloud
parameter.
By default the cloud profile with the name admin
is used. It must be possible to create and delete
flavors with the used cloud credentials.
$ openstack-flavor-manager --help
Usage: openstack-flavor-manager [OPTIONS]
╭─ Options ────────────────────────────────────────────────────────────────────────────────────╮
│ --name TEXT Name of flavor definitions. [default: scs] │
│ --debug Enable debug logging. │
│ --cloud TEXT Cloud name in clouds.yaml. [default: admin] │