uuidutils¶
UUID related utilities and helper functions.
New in version 1.1.
-
oslo_utils.uuidutils.
generate_uuid
()¶ Creates a random uuid string.
Returns: string
-
oslo_utils.uuidutils.
is_uuid_like
(val)¶ Returns validation of a value as a UUID.
Parameters: val (string) – Value to verify Returns: bool Changed in version 1.1.1: Support non-lowercase UUIDs.