code: def get_node(conn, name):
      '''
      Return a libcloud node for the named VM
      '''
      nodes = conn.list_nodes()
      for node in nodes:
          if node.name == name:
              __utils__['cloud.cache_node'](salt.utils.data.simple_types_filter(node.__dict__), __active_provider_name__, __opts__)
              return nodf get_node(conn, name):
      '''
      Return a libcloud node for the named VM
      '''
      nodes = conn.list_nodes()
      for node in nodes:
          if node.name == name:
              __utils__['cloud.cache_node'](salt.utils.data.simple_types_filter(node.__dict__), __active_provider_name__, __opts__)
              return node
docs: Return a libcloud node for the named VM