'Converts a MAC address byte string to text string.
Converts a MAC byte string \'xxxxxxxxxxxx\' to a text string
\'aa:aa:aa:aa:aa:aa\'
Args:
hwaddr: a byte string containing the MAC address to convert.
Returns:
A text string.'

@staticmethod
def mac_binary_to_string(hwaddr):

    return ('%02x:%02x:%02x:%02x:%02x:%02x' % tuple(map(ord, hwaddr)))
