

def get_server_object(self, name, wait=True):
    'Create Server object for container.'
    ip = self.get_ip(name)
    if self.config.get('forward_ssh', False):
        server = self._get_updated_server(port=wait.get_port(ip))
    else:
        server = self._get_updated_server(host=ip)
    if wait:
        server.ssh.wait(timeout=300)
    return server

dataset/ETHPy150Open openstack/rally/rally/deployment/serverprovider/providers/lxc.py LxcHost.get_server_object/VarMisuse@49/71 `self`->`wait`