def completeOptions(self): # Remove skipped VMs from the test list. for sVM in self.asSkipVMs: try: self.asTestVMs.remove(sVM); except: pass; # Resolve any names we've been given. self.sLocalIP = base.tryGetHostByName(self.sLocalName); self.sRemoteIP = base.tryGetHostByName(self.sRemoteName); self.sGuestIP = base.tryGetHostByName(self.sGuestName); reporter.log('Local IP : %s' % (self.sLocalIP)); reporter.log('Remote IP: %s' % (self.sRemoteIP)); if self.sGuestIP is None: reporter.log('Guest IP : use tst-guest2guest'); else: reporter.log('Guest IP : %s' % (self.sGuestIP)); return vbox.TestDriver.completeOptions(self);
def completeOptions(self): # Remove skipped VMs from the test list. for sVM in self.asSkipVMs: try: self.asTestVMs.remove(sVM); except: pass; # Resolve any names we've been given. self.sLocalIP = base.tryGetHostByName(self.sLocalName); self.sRemoteIP = base.tryGetHostByName(self.sRemoteName); self.sGuestIP = base.tryGetHostByName(self.sGuestName); reporter.log('Local IP : %s' % (self.sLocalIP)); reporter.log('Remote IP: %s' % (self.sRemoteIP)); if self.sGuestIP is None: reporter.log('Guest IP : use tst-guest2guest'); else: reporter.log('Guest IP : %s' % (self.sGuestIP)); return vbox.TestDriver.completeOptions(self);