def _set_boot_device(ssh_obj, driver_info, device):
    cmd_to_exec = driver_info['cmd_set'].get('set_boot_device')
    if cmd_to_exec:
        node_name = _get_hosts_name_for_node(ssh_obj, driver_info)
        base_cmd = driver_info['cmd_set']['base_cmd']
        cmd_to_exec = cmd_to_exec.replace('{_NodeName_}', node_name)
        cmd_to_exec = cmd_to_exec.replace('{_BootDevice_}', device)
        cmd_to_exec = cmd_to_exec.replace('{_BaseCmd_}', base_cmd)
        _ssh_execute(ssh_obj, cmd_to_exec)
    else:
        raise NotImplementedError()
A simple-minded attempt to catch RTs that aren't flagged
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/ssh.py/_set_boot_device--crossover with--dataset/ETHPy150Open gwu-libraries/social-feed-manager/sfm/ui/models.py/TwitterUserItem.is_retweet