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
2018-09-14 14:28:48 -06:00
2018-09-14 14:28:48 -06:00
2018-09-14 14:28:48 -06:00
2018-09-14 14:28:48 -06:00
2018-09-14 14:28:48 -06:00
2018-09-14 14:28:48 -06:00
2018-09-14 14:28:48 -06:00
2019-01-07 00:14:34 +00:00
2018-09-14 14:28:48 -06:00

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.

Description
A library containing standardized resource class names in the Placement service.
Readme 583 KiB
Languages
Python 100%