def vs_get(self, name):
        """Returns a single F5 VirtualServer"""
        try:
            vs = f5.VirtualServer.factory.create([name], self)[0]
            vs.refresh()
        except ServerError as e:
            if 'was not found.' in str(e):
                raise VirtualServerNotFound(name)
            else:
                raise

        return vs
dataset/ETHPy150Open tdevelioglu/python-f5/f5/lb.py/Lb.vs_get/original