@expose.expose(ConsoleInfo, types.uuid_or_name)
    def get(self, node_ident):
        rpc_node = api_utils.get_rpc_node(node_ident)
        topic = pecan.request.rpcapi.get_topic_for(rpc_node)
        try:
            console = pecan.request.rpcapi.get_console_information(
                pecan.request.context, rpc_node.uuid, topic)
            console_state = True
        except exception.NodeConsoleNotEnabled:
            console = None
            console_state = False

        return ConsoleInfo(console_enabled=console_state, console_info=console)
Get connection information about the console.
dataset/ETHPy150Open openstack/ironic/ironic/api/controllers/v1/node.py/NodeConsoleController.get