def get_pxe_mac_path(mac):
 return os.path.join(CONF.baremetal.tftp_root, 'pxelinux.cfg', ('01-' + mac.replace(':', '-').lower()))

def get_pxe_mac_path ( mac ) : return os . path . join ( CONF . baremetal . tftp_root , 'pxelinux.cfg' , ( '01-' + mac . replace ( ':' , '-' ) . lower ( ) ) )
convert a mac address into a pxe config file name .