

def node_get(self, name):
    'Returns a single F5 Node'
    try:
        node = f5.Node.factory.create([name], self)[0]
        node.refresh()
    except ServerError as e:
        if ('was not found.' in str(e)):
            raise NodeNotFound(name)
        else:
            raise
    return node

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