Lines Matching refs:iPort

1589     def attachDvd(self, sImage = None, sController = "IDE Controller", iPort = 1, iDevice = 0):
1637 self.o.machine.attachDevice(sController, iPort, iDevice, vboxcon.DeviceType_DVD, oImage);
1639 self.o.machine.attachDevice(sController, iPort, iDevice, vboxcon.DeviceType_DVD, sImageUuid);
1642 % (sController, iPort, iDevice, sImageUuid, self.sName) );
1649 def attachHd(self, sHd, sController = "IDE Controller", iPort = 0, iDevice = 0, fImmutable = True, fForceResource = True):
1696 self.o.machine.attachDevice(sController, iPort, iDevice, vboxcon.DeviceType_HardDisk, oHd);
1698 self.o.machine.attachDevice(sController, iPort, iDevice, vboxcon.DeviceType_HardDisk, oHd.id);
1701 % (sController, iPort, iDevice, oHd.id, self.sName) );
1749 iPort = 0, iDevice = 0, fImmutable = True):
1778 self.o.machine.attachDevice(sController, iPort, iDevice, vboxcon.DeviceType_HardDisk, oHd);
1780 self.o.machine.attachDevice(sController, iPort, iDevice, vboxcon.DeviceType_HardDisk, oHd.id);
1783 % (sController, iPort, iDevice, oHd.id, self.sName) );
1802 def detachHd(self, sController = "IDE Controller", iPort = 0, iDevice = 0):
1815 oHd = self.o.machine.getMedium(sController, iPort, iDevice);
1819 reporter.log('No HD attached (to %s %s:%s)' % (sController, iPort, iDevice));
1822 % (iPort, iDevice, sController)), None);
1825 self.o.machine.detachDevice(sController, iPort, iDevice);
1828 % (sController, iPort, iDevice, self.sName) ), None);
1829 reporter.log('detached HD ("%s",%s,%s) from %s' % (sController, iPort, iDevice, self.sName));
1832 def attachFloppy(self, sFloppy, sController = "Floppy Controller", iPort = 0, iDevice = 0):
1872 self.o.machine.attachDevice(sController, iPort, iDevice, vboxcon.DeviceType_Floppy, oFloppy);
1874 self.o.machine.attachDevice(sController, iPort, iDevice, vboxcon.DeviceType_Floppy, oFloppy.id);
1877 % (sController, iPort, iDevice, oFloppy.id, self.sName) );