UUID related utilities and helper functions.
New in version 1.1.
oslo_utils.uuidutils.generate_uuid(dashed=True)¶Creates a random uuid string.
dashed (bool) – Generate uuid with dashes or not
string
oslo_utils.uuidutils.is_uuid_like(val)¶Returns validation of a value as a UUID.
val (string) – Value to verify
bool
Changed in version 1.1.1: Support non-lowercase UUIDs.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.