added 'host_rootkey' to fields
Tony Mack [Fri, 18 Apr 2008 00:34:57 +0000 (00:34 +0000)]
qaapi/qa/PLCs.py

index 2d26bbd..034a932 100644 (file)
@@ -12,7 +12,7 @@ class PLC(dict, Remote):
        'ip':   '127.0.0.1',                            # IP
        'chroot': None,                                 # Path to the chroot
        'vserver': None,                                # Vserver where this PLC lives
-       'rootkey': None,                                # Root Key
+       'host_rootkey': None,                           # Root Key
        'api_path': '/PLCAPI/',                         # PLCAPI path 
        'port': '443'                                   # PLCAPI port
        
@@ -37,7 +37,7 @@ class PLC(dict, Remote):
        except:
            ip = "127.0.0.1"
        self['ip'] = ip.strip() 
-       
+       return self['ip']       
 
     def update_api(self):
        # Set up API acccess