def start_console(self, task):

        driver_info = _parse_driver_info(task.node)
        telnet_port = get_telnet_port(driver_info)
        chassis_ip = urlparse.urlparse(driver_info['api_endpoint']).netloc

        seamicro_cmd = ("/:%(uid)s:%(gid)s:HOME:telnet %(chassis)s %(port)s"
                        % {'uid': os.getuid(),
                           'gid': os.getgid(),
                           'chassis': chassis_ip,
                           'port': telnet_port})

        console_utils.start_shellinabox_console(driver_info['uuid'],
                                                driver_info['port'],
                                                seamicro_cmd)
Convert the cross-product into a join whenever possible.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/seamicro.py/ShellinaboxConsole.start_console--crossover with--dataset/ETHPy150Open uwescience/raco/raco/algebra.py/CrossProduct.add_equijoin_condition