def stop_console(self, task):

        console_utils.stop_shellinabox_console(task.node.uuid)
Stop the remote console session for the node.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/ssh.py/ShellinaboxConsole.stop_console