<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_int_or_uuid(value):
 """Check if a value is valid as UUID or an integer. This method is mainly used to convert floating IP id to the appropriate type. For floating IP id, integer is used in Nova's original implementation, but UUID is used in Neutron based one. """

    try:
        uuid.UUID(value)
        return value
    except (ValueError, AttributeError):
        return int(value)