renamed list_componets to list_nodes. Fixed params
authorTony Mack <tmack@cs.princeton.edu>
Wed, 11 Feb 2009 18:54:38 +0000 (18:54 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 11 Feb 2009 18:54:38 +0000 (18:54 +0000)
geni/util/geniclient.py

index ffd1440..2e93543 100644 (file)
@@ -246,9 +246,9 @@ class GeniClient():
     ## list components
     #
     # 
-    def list_components(self, cred):
+    def list_nodes(self, cred, format):
         
-        result = self.server.list_components(cred.save_to_string(save_parents=True))
+        result = self.server.list_nodes(cred.save_to_string(save_parents=True), format)
         return result
 
     ## list resources