A library containing standardized resource class names in the Placement service.
Go to file
Chris Dent a9e988bf28 Don't use upper-constraints when installing package
We only want to use upper-constraints when installing dependencies, not
the os-resource-classes package itself, otherwise we get:

   Could not satisfy constraints for 'os-resource-classes':
   installation from path or url cannot be constrained to a version

Change-Id: I5360e041b6b81c5686e2700aa89de8514a69dd9a
Closes-Bug: #1809401
2019-01-04 13:55:54 +00:00
doc Tune up documentation to be more useful 2018-12-13 12:26:43 +00:00
os_resource_classes Sync STANDARDS with placement/nova rc_fields 2018-12-12 18:15:48 -05: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 Initial tuning from cookiecutter start 2018-09-14 14:37:15 -06: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.