def get_node(conn, name):
    nodes = conn.list_nodes()
    for node in nodes:
        if node.name == name:
            salt.utils.cloud.cache_node(salt.utils.cloud.simple_types_filter(node.__dict__), __active_provider_name__, __opts__)
            return node
Return a libcloud node for the named VM
dataset/ETHPy150Open saltstack/salt/salt/cloud/libcloudfuncs.py/get_node