Example #1
0
 def __init__(self):
     if not importutils.try_import('iboot'):
         raise exception.DriverLoadError(
             driver=self.__class__.__name__,
             reason=_("Unable to import iboot library"))
     self.power = iboot.IBootPower()
     self.deploy = fake.FakeDeploy()
Example #2
0
File: pxe.py Project: mat128/ironic
 def __init__(self):
     if not importutils.try_import('iboot'):
         raise exception.DriverLoadError(
             driver=self.__class__.__name__,
             reason=_("Unable to import iboot library"))
     self.power = iboot.IBootPower()
     self.boot = pxe.PXEBoot()
     self.deploy = iscsi_deploy.ISCSIDeploy()
     self.vendor = iscsi_deploy.VendorPassthru()
 def __init__(self):
     if not importutils.try_import('iboot'):
         raise exception.DriverLoadError(
             driver=self.__class__.__name__,
             reason=_("Unable to import iboot library"))
     self.power = iboot.IBootPower()
     self.boot = pxe.PXEBoot()
     self.deploy = agent.AgentDeploy()
     self.vendor = agent.AgentVendorInterface()