os-resource-classes(1)

OS-RESOURCE-CLASSES(1) os-resource-classes OS-RESOURCE-CLASSES(1)

NAME

os-resource-classes - os-resource-classes 1.1.0

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.

  • Free software: Apache license
  • Documentation: https://docs.openstack.org/os-resource-classes/latest
  • Source: https://opendev.org/openstack/os-resource-classes
  • Bugs: https://storyboard.openstack.org/#!/project/openstack/os-resource-classes

INSTALLATION GUIDE

os-resource-classes is availabe on PyPI and may be installed using pip:

pip install os-resource-classes


See Usage for how to use it once it is installed.

USAGE

To use os-resource-classes in a project:

import os_resource_classes as orc
vcpu = orc.VPCU


CONTRIBUTING

If you would like to contribute to the development of OpenStack, you must follow the steps in this page:

http://docs.openstack.org/infra/manual/developers.html

If you already have a good understanding of how the system works and your OpenStack accounts are set up, you can skip to the development workflow section of this documentation to learn how changes to OpenStack should be submitted for review via the Gerrit tool:

http://docs.openstack.org/infra/manual/developers.html#development-workflow

Pull requests submitted through GitHub will be ignored.

Bugs should be filed on StoryBoard:

https://storyboard.openstack.org/#!/project/openstack/os-resource-classes

Developers of os-resource-classes can be found in the #openstack-nova IRC channel on the webchat.oftc.net.

SEARCH

Search Page

AUTHOR

unknown

COPYRIGHT

2023, OpenStack Developers

February 19, 2023 1.1.0