A library containing standardized resource class names in the Placement service.
Go to file
Eric Fried 2d4672e5f3 Add normalize_name utility
The normalize_name utility provides consumers of os-resource-classes
with a way of generating a known-good name for a custom resource class.
This is equivalent to the os-traits utility of the same name [1].

[1] 9eab06df2f/os_traits/__init__.py (L113)

Change-Id: Id5557d65f11ed4dee10c8df2a42a4c485bfd65d1
2019-02-01 08:41:58 -06:00
doc Tune up documentation to be more useful 2018-12-13 12:26:43 +00:00
os_resource_classes Add normalize_name utility 2019-02-01 08:41:58 -06:00
releasenotes Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
.coveragerc Initial tuning from cookiecutter start 2018-09-14 14:37:15 -06:00
.gitignore Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
.gitreview Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
.stestr.conf Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
.zuul.yaml Initial automated testing for os-resource-classes 2018-12-11 17:49:45 +00:00
CONTRIBUTING.rst Tune up documentation to be more useful 2018-12-13 12:26:43 +00:00
HACKING.rst Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
LICENSE Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
README.rst Tune up documentation to be more useful 2018-12-13 12:26:43 +00:00
requirements.txt Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
setup.cfg Update author-email in setup.cfg 2019-01-07 00:14:34 +00:00
setup.py Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
test-requirements.txt Initial Cookiecutter Commit. 2018-09-14 14:28:48 -06:00
tox.ini Don't use upper-constraints when installing package 2019-01-04 13:55:54 +00:00

README.rst

os-resource-classes

A list of standardized resource classes for OpenStack.

A resource class is a distinct type of inventory that exists in a cloud environment, for example VCPU, DISK_GB. They are upper case with underscores. They often include a unit in their name.

This package provides a collection of symbols representing those standard resource classes which are expected to be available in any OpenStack deployment.

There also exists a concept of custom resource classes. These are countable types that are custom to a particular environment. The OpenStack placement API provides a way to create these. A custom resource class always begins with a CUSTOM_ prefix.