示例#1
0
文件: fake.py 项目: mshabdiz/ironic
    def __init__(self):
        self.power = fake.FakePower()
        self.deploy = fake.FakeDeploy()

        a = fake.FakeVendorA()
        b = fake.FakeVendorB()
        self.vendor = fake.MultipleVendorInterface(a, b)
        self.console = fake.FakeConsole()
示例#2
0
    def __init__(self):
        self.power = fake.FakePower()
        self.deploy = fake.FakeDeploy()

        self.a = fake.FakeVendorA()
        self.b = fake.FakeVendorB()
        self.mapping = {'first_method': self.a, 'second_method': self.b}
        self.vendor = utils.MixinVendorInterface(self.mapping)
        self.console = fake.FakeConsole()
示例#3
0
    def __init__(self):
        self.power = fake.FakePower()
        self.deploy = fake.FakeDeploy()
        self.boot = fake.FakeBoot()

        self.a = fake.FakeVendorA()
        self.b = fake.FakeVendorB()
        self.mapping = {'first_method': self.a,
                        'second_method': self.b,
                        'third_method_sync': self.b}
        self.vendor = utils.MixinVendorInterface(self.mapping)
        self.console = fake.FakeConsole()
        self.management = fake.FakeManagement()
        self.inspect = fake.FakeInspect()
示例#4
0
文件: fake.py 项目: stackhpc/ironic
 def __init__(self):
     self.power = fake.FakePower()
     self.boot = pxe.PXEBoot()
     self.deploy = agent.AgentDeploy()
     self.raid = agent.AgentRAID()
示例#5
0
文件: fake.py 项目: stackhpc/ironic
 def __init__(self):
     self.power = fake.FakePower()
     self.boot = pxe.PXEBoot()
     self.deploy = iscsi_deploy.ISCSIDeploy()
示例#6
0
 def __init__(self):
     self.power = fake.FakePower()
     self.deploy = pxe.PXEDeploy()
     self.vendor = pxe.VendorPassthru()
示例#7
0
 def __init__(self):
     self.power = fake.FakePower()
     self.deploy = agent.AgentDeploy()
     self.vendor = agent.AgentVendorInterface()
示例#8
0
 def __init__(self):
     self.power = fake.FakePower()
     self.boot = pxe.PXEBoot()
     self.deploy = iscsi_deploy.ISCSIDeploy()
     self.vendor = iscsi_deploy.VendorPassthru()
示例#9
0
 def __init__(self):
     self.power = fake.FakePower()
     self.boot = pxe.PXEBoot()
     self.deploy = ansible_deploy.AnsibleDeploy()
     self.management = fake.FakeManagement()
 def __init__(self):
     self.power = fake.FakePower()
     self.deploy = fake.FakeDeploy()
     self.vendor = nm_vendor.IntelNMVendorPassthru()
示例#11
0
 def __init__(self):
     self.power = fake.FakePower()
     self.deploy = pxe.PXEDeploy()
     self.rescue = self.deploy
示例#12
0
 def __init__(self):
     self.power = fake.FakePower()
     self.deploy = fake.FakeDeploy()
     self.vendor = fake.FakeVendor()