VirtualBox

Changeset 92242 in vbox for trunk


Ignore:
Timestamp:
Nov 5, 2021 3:35:28 PM (3 years ago)
Author:
vboxsync
Message:

Validation Kit/testdriver: Implemented oSessionWrapper::setNicLocalhostReachable(), which in turn uses the session object to configure localhost reachability [build fix]. ​bugref:9896

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r92241 r92242  
    16471647                return True;
    16481648        except:
    1649             return reporter.errorXcpt('NIC adapter type failed for "%s"' % (iNic, self.sName,));
     1649            return reporter.errorXcpt('NIC adapter type (%s) failed for "%s"' % (iNic, self.sName,));
    16501650
    16511651        reporter.log('Setting "LocalhostReachable" for network adapter "%s" in slot %d to %s' % (sAdpName, iNic, fReachable));
     
    16541654            oNatEngine = oNic.NATEngine;
    16551655        except:
    1656             return reporter.errorXcpt('Getting NIC NAT engine failed for "%s"' % (iNic, self.sName,));
     1656            return reporter.errorXcpt('Getting NIC NAT engine (%s) failed for "%s"' % (iNic, self.sName,));
    16571657
    16581658        try:
    16591659            oNatEngine.LocalhostReachable = fReachable;
    16601660        except:
    1661             return reporter.errorXcpt('LocalhostReachable failed for "%s"' % (iNic, self.sName,));
     1661            return reporter.errorXcpt('LocalhostReachable (%s) failed for "%s"' % (iNic, self.sName,));
    16621662
    16631663        return True;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette