def stop_shellinabox_console(node_uuid):

    try:
        _stop_console(node_uuid)
    except exception.NoConsolePid:
        LOG.warning(_LW("No console pid found for node %s while trying to "
                        "stop shellinabox console."), node_uuid)
Close the serial console for a node.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/console_utils.py/stop_shellinabox_console