The 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.

heat.common.short_id.generate_id()[source]

Generate a short (12 character), random id.

heat.common.short_id.get_id(source_uuid)[source]

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

The supplied UUID must be a version 4 UUID object.

This Page