ironic/ironic/drivers/modules
Lucas Alvares Gomes b96fc97eef Add ManagementInterface
Add a new driver ManagementInterface for management related actions,
the new interface contains the following methods:

* validate() - To validate driver-specific management information. (E.g
  if the node has the right credentials already set)

* set_boot_device() - To set the boot device for a node.

* get_boot_device() - To get the current boot device of a node.

* get_supported_boot_devices() - To get a list of the supported boot
  devices by that driver.

A new file common/boot_devices.py which contains the standardized names
for the acceptable boot devices, the names are based on the IPMITool
names (the default power driver). The idea is that clients won't need to
know the specific boot device names for each driver, drivers which have
different name options than the IPMITool have to translate it internally.

As part of the work to add tests to the FakeManagement interface, other
tests in test_fake.py were modified in order to remove the DB calls.

blueprint: promote-set-boot-device
Change-Id: If2e8074f2e0fbcf962d224024347a0319ac174cf
2014-04-28 14:26:25 +01:00
..
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
deploy_utils.py Use DiskPartitioner 2014-04-17 14:24:34 -07:00
fake.py Add ManagementInterface 2014-04-28 14:26:25 +01:00
ipminative.py Make tests use Node object instead of dict 2014-04-10 13:46:01 -07:00
ipmitool.py Make tests use Node object instead of dict 2014-04-10 13:46:01 -07:00
pxe.py nova.virt.ironic passes ephemeral_gb to ironic 2014-04-18 14:43:33 -07:00
pxe_config.template Add troubleshoot option to PXE template 2013-11-25 11:53:56 +00:00
seamicro.py Make tests use Node object instead of dict 2014-04-10 13:46:01 -07:00
ssh.py Merge "Make tests use Node object instead of dict" 2014-04-11 09:27:54 +00:00