Esempio n. 1
0
 def __init__(self):
     if not importutils.try_import('proliantutils'):
         raise exception.DriverLoadError(
                 driver=self.__class__.__name__,
                 reason=_("Unable to import proliantutils library"))
     self.power = ilo_power.IloPower()
     self.deploy = fake.FakeDeploy()
Esempio n. 2
0
 def __init__(self):
     if not importutils.try_import('proliantutils'):
         raise exception.DriverLoadError(
             driver=self.__class__.__name__,
             reason=_("Unable to import proliantutils library"))
     self.power = ilo_power.IloPower()
     self.deploy = ilo_deploy.IloPXEDeploy()
     self.vendor = ilo_deploy.IloPXEVendorPassthru()
     self.console = ilo_deploy.IloConsoleInterface()
     self.management = ilo_management.IloManagement()
Esempio n. 3
0
File: ilo.py Progetto: skw0rm/ironic
    def __init__(self):
        if not importutils.try_import('proliantutils'):
            raise exception.DriverLoadError(
                driver=self.__class__.__name__,
                reason=_("Unable to import proliantutils library"))

        self.power = power.IloPower()
        self.deploy = deploy.IloVirtualMediaAgentDeploy()
        self.console = deploy.IloConsoleInterface()
        self.management = management.IloManagement()
        self.vendor = agent.AgentVendorInterface()
Esempio n. 4
0
    def __init__(self):
        if not importutils.try_import('proliantutils'):
            raise exception.DriverLoadError(
                    driver=self.__class__.__name__,
                    reason=_("Unable to import proliantutils library"))

        self.power = power.IloPower()
        self.deploy = deploy.IloVirtualMediaIscsiDeploy()
        self.console = ipmitool.IPMIShellinaboxConsole()
        self.management = ipmitool.IPMIManagement()
        self.vendor = deploy.VendorPassthru()
Esempio n. 5
0
    def __init__(self):

        if not importutils.try_import('proliantutils'):
            raise exception.DriverLoadError(
                driver=self.__class__.__name__,
                reason=_("Unable to import proliantutils library"))

        self.power = power.IloPower()
        self.deploy = None
        self.rescue = None
        self.console = None
        self.vendor = None
Esempio n. 6
0
    def __init__(self):
        if not importutils.try_import('proliantutils'):
            raise exception.DriverLoadError(
                driver=self.__class__.__name__,
                reason=_("Unable to import proliantutils library"))

        self.power = power.IloPower()
        self.boot = boot.IloVirtualMediaBoot()
        self.deploy = agent.AgentDeploy()
        self.console = console.IloConsoleInterface()
        self.management = management.IloManagement()
        self.inspect = inspect.IloInspect()
        self.raid = agent.AgentRAID()
Esempio n. 7
0
 def __init__(self):
     if not importutils.try_import('proliantutils'):
         raise exception.DriverLoadError(
             driver=self.__class__.__name__,
             reason=_("Unable to import proliantutils library"))
     self.power = ilo_power.IloPower()
     self.boot = ilo_boot.IloPXEBoot()
     self.deploy = iscsi_deploy.ISCSIDeploy()
     self.vendor = ilo_vendor.VendorPassthru()
     self.console = ilo_console.IloConsoleInterface()
     self.management = ilo_management.IloManagement()
     self.inspect = ilo_inspect.IloInspect()
     self.raid = agent.AgentRAID()