def _get_pxe_mac_path(mac, delimiter=None):
    if delimiter is None:
        delimiter = '-'

    mac_file_name = mac.replace(':', delimiter).lower()
    if not CONF.pxe.ipxe_enabled:
        mac_file_name = '01-' + mac_file_name

    return os.path.join(get_root_dir(), PXE_CFG_DIR_NAME, mac_file_name)
Convert a MAC address into a PXE config file name.
dataset/ETHPy150Open openstack/ironic/ironic/common/pxe_utils.py/_get_pxe_mac_path