#NEWLINE# def list_nodes_min( kwargs = None , call = None ) : #NEWLINE# #INDENT# '\n    Return a list of the nodes in the provider, with no details\n    ' #NEWLINE# ret = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# conn = get_conn ( ) #NEWLINE# property_names = [ 'name' ] #NEWLINE# result = conn . _retrieve_properties_traversal ( property_names = result , obj_type = 'VirtualMachine' ) #NEWLINE# for r in result : #NEWLINE# #INDENT# for p in r . PropSet : #NEWLINE# #INDENT# if ( p . Name == 'name' ) : #NEWLINE# #INDENT# ret [ p . Val ] = True #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return ret