def _build_pxe_config_options(task, pxe_info):
    ironic_api = (CONF.conductor.api_url or
                  keystone.get_service_url()).rstrip('/')

    agent_config_opts = {
        'deployment_aki_path': pxe_info['deploy_kernel'][1],
        'deployment_ari_path': pxe_info['deploy_ramdisk'][1],
        'rootfs-url': _create_rootfs_link(task),
        'deployment_id': task.node.uuid,
        'api-url': ironic_api,
    }

    return agent_config_opts
Builds the pxe config options for booting agent.
dataset/ETHPy150Open openstack/bareon/contrib/ironic/ironic-fa-deploy/ironic_fa_deploy/modules/fuel_agent.py/_build_pxe_config_options