def gen_mac(prefix='AC:DE:48'):
    return '{0}:{1:02X}:{2:02X}:{3:02X}'.format(prefix,
                                                random.randint(0, 0xff),
                                                random.randint(0, 0xff),
                                                random.randint(0, 0xff))
Creates a :class:`QuerySet` of the published root pages.
dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/gen_mac--crossover with--dataset/ETHPy150Open batiste/django-page-cms/pages/managers.py/PageManager.navigation