fix bug shell_version should be plshell_version
authorTony Mack <tmack@cs.princeton.edu>
Fri, 29 May 2009 16:53:17 +0000 (16:53 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 29 May 2009 16:53:17 +0000 (16:53 +0000)
geni/util/nodes.py

index 673d918..a372cb5 100644 (file)
@@ -182,7 +182,7 @@ class Nodes(SimpleStorage):
 
         if self.api.plshell_version in ['4.2']:
             interfaces = self.api.plshell.GetNodeNetworks(self.api.plauth, interface_ids)
-        elif self.api.shell_version in ['4.3']:
+        elif self.api.plshell_version in ['4.3']:
             interfaces = self.api.plshell.GetInterfaces(self.api.plauth, interface_ids)
         else:
             raise GeniAPIError, "Unsupported plcapi version ", \