'List all VS
:rtype: ``list`` of :class:`OnAppNode`'

def list_nodes(self):

    response = self.connection.request('/virtual_machines.json')
    nodes = []
    for vm in response.object:
        nodes.append(self._to_node(vm['virtual_machine']))
    return nodes
