Functions | |
def | gateway_basename |
def | is_uuid_postfixed |
Variables | |
tuple | valid_uuid_pattern = re.compile("^[0-9a-f]{32}$") |
Methods. |
def rocon_gateway_utils.uuid.gateway_basename | ( | gateway_name | ) |
def rocon_gateway_utils.uuid.is_uuid_postfixed | ( | name | ) |
A not very reliable way to check if the last 32 characters of a string are a uuid postfix. Not reliable because if the prefix characters are [0-9a-f] then it will accept shorter combinations of strings. Practical because who will give a gateway a uuid style name?
tuple rocon_gateway_utils::uuid::valid_uuid_pattern = re.compile("^[0-9a-f]{32}$") |