'generate random mac for prefix'

@staticmethod
def randomMacAddress(prefix):

    for _ in xrange((6 - len(prefix))):
        prefix.append(randint(0, 127))
    return ':'.join((('%02x' % x) for x in prefix))
