

def pm_get(self, node, port, pool):
    'Returns a single F5 PoolMember'
    try:
        pm = f5.PoolMember.factory.create((node, port, pool), self)[0]
        pm.refresh()
    except ServerError as e:
        if ('was not found.' in str(e)):
            raise PoolMemberNotFound((node, port, pool))
        else:
            raise
    return pm

dataset/ETHPy150Open tdevelioglu/python-f5/f5/lb.py Lb.pm_get/original