<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def device_uuid(self):
 """Return device UUID."""

        if self._device:
            return self._device
        return GEN_ID_FORMAT.format(self.src_ip)