Changeset 92199 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Nov 3, 2021 7:27:28 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r92175 r92199 2950 2950 continue; 2951 2951 sAdpName = self.getNetworkAdapterNameFromType(oNic); 2952 sKey = 'VBoxInternal/Devices/%s/%d/LUN#0/Config/LocalhostReachable' % (sAdpName, iSlot);2953 2952 if oNic.attachmentType == vboxcon.NetworkAttachmentType_NAT: 2954 reporter.log2('Enabling "LocalhostReachable" (NAT) for network adapter "%s" in slot %d (key: %s)' % \ 2955 (sAdpName, iSlot, sKey)); 2956 self.oVBox.setExtraData(sKey, '1'); 2953 reporter.log2('Enabling "LocalhostReachable" (NAT) for network adapter "%s" in slot %d' % \ 2954 (sAdpName, iSlot)); 2955 oNatEngine = oNic.NATEngine; 2956 oNatEngine.LocalhostReachable = True; 2957 2957 else: 2958 2958 # Other attachments will fail if 'LocalhostReachable' extra data override is present 2959 ## @todo r=andy Is this still needed, as we now have the API (see above) in place? 2960 sKey = 'VBoxInternal/Devices/%s/%d/LUN#0/Config/LocalhostReachable' % (sAdpName, iSlot); 2959 2961 reporter.log2('Disabling "LocalhostReachable" (NAT) for network adapter "%s" in slot %d (key: %s)' % \ 2960 2962 (sAdpName, iSlot, sKey));
Note:
See TracChangeset
for help on using the changeset viewer.