def get_boot_option(node):
    capabilities = parse_instance_info_capabilities(node)
    return capabilities.get('boot_option', 'netboot').lower()
Wrap a deferred returned from a pb method in another deferred that
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/deploy_utils.py/get_boot_option--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/spread/publish.py/whenReady