def get_server_object(self, name, wait=True):
        ip = self.get_ip(name)
        if self.config.get("forward_ssh", False):
            server = self._get_updated_server(port=self.get_port(ip))
        else:
            server = self._get_updated_server(host=ip)
        if wait:
            server.ssh.wait(timeout=300)
        return server
Create Server object for container.
dataset/ETHPy150Open openstack/rally/rally/deployment/serverprovider/providers/lxc.py/LxcHost.get_server_object