summaryrefslogtreecommitdiff
path: root/ironic/drivers/fake.py
diff options
context:
space:
mode:
authorGhe Rivero <ghe.rivero@hp.com>2014-02-10 22:39:28 +0000
committerMichael Davies <michael@the-davies.net>2014-02-27 11:39:57 +1030
commitccb4267f4245c3e659cf818c093f7200baeaec62 (patch)
treee1823555257ab35aa34cdd11bcd808f3f8774bdc /ironic/drivers/fake.py
parentbdd96dcd3b37f3ee7de744f44be092d5f91b32da (diff)
downloadironic-ccb4267f4245c3e659cf818c093f7200baeaec62.tar.gz
Move ipminative _set_boot_device to VendorPassthru
_set_boot_device must be exposed via vendor_passthru, allowing operators to manually change it, and force to boot from net when performing a pxe deploy. Until now, it was just a private method of the power driver. Change-Id: Iac3a7183db4c3486bd6a2aa1ba36bf33e11722a9 Partial-Bug: #1264596
Diffstat (limited to 'ironic/drivers/fake.py')
-rw-r--r--ironic/drivers/fake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/drivers/fake.py b/ironic/drivers/fake.py
index ab3f3404c..ec8d55346 100644
--- a/ironic/drivers/fake.py
+++ b/ironic/drivers/fake.py
@@ -71,4 +71,4 @@ class FakeIPMINativeDriver(base.BaseDriver):
def __init__(self):
self.power = ipminative.NativeIPMIPower()
self.deploy = fake.FakeDeploy()
- self.vendor = self.power
+ self.vendor = ipminative.VendorPassthru()