heat.common.short_id module

heat.common.short_id module

Utilities for creating short ID strings based on a random UUID.

The IDs each comprise 12 (lower-case) alphanumeric characters.


Generate a short (12 character), random id.


Derive a short (12 character) id from a random UUID.

The supplied UUID must be a version 4 UUID object.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.