def _build_pxe_config(pxe_options, template, root_tag, disk_ident_tag):
    tmpl_path, tmpl_file = os.path.split(template)
    env = jinja2.Environment(loader=jinja2.FileSystemLoader(tmpl_path))
    template = env.get_template(tmpl_file)
    return template.render({'pxe_options': pxe_options,
                            'ROOT': root_tag,
                            'DISK_IDENTIFIER': disk_ident_tag,
                            })
This method adds pop-up information to the canvas.  This information
dataset/ETHPy150Open openstack/ironic/ironic/common/pxe_utils.py/_build_pxe_config--crossover with--dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/canvas.py/Canvas.set_pop_up