Core logic of the method that performs the lookup. .. warning:: If the method itself fails to function an exception will be raised! (for instance, if some command arguments are invalid, or there's an internal error with the command, or a bug in the
(self, arg)
| 342 | |
| 343 | # TODO: automatically clean MAC on return |
| 344 | def get(self, arg): # type: (str) -> Optional[str] |
| 345 | """ |
| 346 | Core logic of the method that performs the lookup. |
| 347 | |
| 348 | .. warning:: |
| 349 | If the method itself fails to function an exception will be raised! |
| 350 | (for instance, if some command arguments are invalid, or there's an |
| 351 | internal error with the command, or a bug in the code). |
| 352 | |
| 353 | Args: |
| 354 | arg (str): What the method should get, such as an IP address |
| 355 | or interface name. In the case of default_iface methods, |
| 356 | this is not used and defaults to an empty string. |
| 357 | |
| 358 | Returns: |
| 359 | Lowercase colon-separated MAC address, or None if one could |
| 360 | not be found. |
| 361 | """ |
| 362 | pass # pragma: no cover |
| 363 | |
| 364 | @classmethod |
| 365 | def __str__(cls): # type: () -> str |
no outgoing calls