Changeset 79045 in vbox
- Timestamp:
- Jun 7, 2019 7:41:20 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131203
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r76553 r79045 1511 1511 oNic.hostInterface = sName; 1512 1512 except: 1513 reporter.errorXcpt('failed to set the hostInterface property on slot %s to "%s" for VM "%s"' \1514 % (iNic, sName, self.sName));1513 reporter.errorXcpt('failed to set the hostInterface property on slot %s to "%s" for VM "%s"' 1514 % (iNic, sName, self.sName,)); 1515 1515 return False; 1516 1516 elif eAttachmentType == vboxcon.NetworkAttachmentType_HostOnly: … … 1521 1521 oNic.hostInterface = sName; 1522 1522 except: 1523 reporter.errorXcpt('failed to set the internalNetwork property on slot %s to "%s" for VM "%s"' \1524 % (iNic, sName, self.sName));1523 reporter.errorXcpt('failed to set the internalNetwork property on slot %s to "%s" for VM "%s"' 1524 % (iNic, sName, self.sName,)); 1525 1525 return False; 1526 1526 elif eAttachmentType == vboxcon.NetworkAttachmentType_Internal: … … 1528 1528 oNic.internalNetwork = sName; 1529 1529 except: 1530 reporter.errorXcpt('failed to set the internalNetwork property on slot %s to "%s" for VM "%s"' \1531 % (iNic, sName, self.sName));1530 reporter.errorXcpt('failed to set the internalNetwork property on slot %s to "%s" for VM "%s"' 1531 % (iNic, sName, self.sName,)); 1532 1532 return False; 1533 1533 elif eAttachmentType == vboxcon.NetworkAttachmentType_NAT: … … 1535 1535 oNic.NATNetwork = sName; 1536 1536 except: 1537 reporter.errorXcpt('failed to set the NATNetwork property on slot %s to "%s" for VM "%s"' \1538 % (iNic, sName, self.sName));1537 reporter.errorXcpt('failed to set the NATNetwork property on slot %s to "%s" for VM "%s"' 1538 % (iNic, sName, self.sName,)); 1539 1539 return False; 1540 1540 finally: … … 1549 1549 """ 1550 1550 Sets the MAC address of the specified NIC. 1551 1552 The sMacAddr parameter is a string supplying the tail end of the MAC 1553 address, missing quads are supplied from a constant byte (2), the IPv4 1554 address of the host, and the NIC number. 1555 1551 1556 Returns True on success and False on failure. Error information is logged. 1552 1557 """
Note:
See TracChangeset
for help on using the changeset viewer.