#NEWLINE# def list_nodes( self ) : #NEWLINE# #INDENT# '\n        List all VS\n\n        :rtype: ``list`` of :class:`OnAppNode`\n        ' #NEWLINE# response = self . connection . request ( '/virtual_machines.json' ) #NEWLINE# nodes = [ ] #NEWLINE# for vm in response . object : #NEWLINE# #INDENT# nodes . append ( self . _to_node ( vm [ 'virtual_machine' ] ) ) #NEWLINE# #UNINDENT# return nodes