Reduce redundancy in conductor manager docstrings

Saying `RPC (Remote Procedure Call) calls' is redundant.

Change-Id: I5772f55fa7309c88688f8a62a155b3011dab0a38
Add send-data-to-ceilometer support for pxe_ipminative driver

This patch will implement pxe_ipminative driver *get_sensors_data* method to get
sensor data by pyghmi get_sensor_data() method call.

Spec:
https://github.com/openstack/ironic-specs/blob/master/specs/juno/send-data-to-ceilometer.rst

Related patch: https://review.openstack.org/#/c/72538/

Change-Id: I2368e78e39970b7a3cffe3d8cb2dd3fce5056635
Fix minor issues in the DRAC driver

This is a following patch of 2eb3c12ce3fb2b2eb4408367f2c950724a098d93. The
issues this patch fixes are:

* Put the ReturnValue constants in a common place so it can be used by
  the power and management interfaces code.
* Move the filter object creation to inside the client. This also adds
  a new exception DracInvalidFilterDialect which is raised if when an
  invalid filter dialect is specified.
* Fix the docstring of the find_xml method to reflect the values returned
  in case an element is not found.
* Move the helper test function _mock_wsman_root() to a common place
  and update tests to use it.

Change-Id: Iefc3993f61e32a3a50faf4b9bd80aaab6ae1d3bf
Merge "Add send-data-to-ceilometer support for pxe_ipminative driver"
Merge "Reduce redundancy in conductor manager docstrings"
Use metadata.create_all() to initialise DB schema

There is no need to run database migration each time, when we want to
get a new actual database schema. Running all migration scripts takes a
long time on production databases and can be not suitable for SQLite
because of Alembic limitation.

Added create_schema() method, which supposes to be used for initial
installation instead of upgrade('head').

Partial-Bug: #1347604

Change-Id: I039d955f051eda015bef2299122fd1f0fb5c46da
Control extra space for images conversion in image_cache

Size of image converted to raw format can be growing up to virtual_size.
This patch adds new _fetch_to_raw function to image_cache which try to
free extra space for image conversion if needed.

Closes-Bug: #1356362
Change-Id: I69712b078113ef0640859389ef4ab9039135f612
Merge "Fix minor issues in the DRAC driver"
Adds SNMP power driver

Add a new PowerDriver module for remote control of node power by
enabling or disabling sockets on a rack power strip via SNMP.

Implements: blueprint ironic-snmp-power-driver
Change-Id: Ib16781eaa9737525c4d8a9231ecd9e72d7e2645e
Co-authored-by: David Hewson <dhewson@cray.com>
Co-authored-by: Mark Goddard <mgoddard@cray.com>
Add UEFI based deployment support in Ironic

Most of the new hardware comes with UEFI boot mode, which has several
technical advantages over the traditional BIOS system.

Operator inform the boot mode to ironic using the "capabilities" property
of the node.  The operator may add a new capability "boot_mode=uefi" or
"boot_mode=bios" in "capabilities" within "properties" of the node.

Add new pxe config options:
  - "uefi_pxe_bootfile_name": specify the efi bootloader to be used.
  - "uefi_pxe_config_template": specify the respective efi bootloader config
    template.

As of now only elilo.efi bootloader is supported.

elilo.efi bootloader requires the configuration file to be named after the
ip-address assigned by the DHCP server.

Implements: blueprint uefi-boot-for-ironic
Co-Authored-By: Jim Rollenhagen <jim@jimrollenhagen.com>
Change-Id: I0ad399b2207d7c66f6887e56470ba553b3c87b53
Merge "Control extra space for images conversion in image_cache"
Merge "Use metadata.create_all() to initialise DB schema"
Interactive console support for ipminative driver

This patch adds interactive serial console support for ipminative
driver using shellinaboxd and pyghmi. A new class called
NativeIPMIShellinaboxConsole implements the ConsoleInterface.

Closes-Bug: 1359758
Change-Id: I9117c695af40044491fb7f213aa15e841e803d1c
Merge "Add UEFI based deployment support in Ironic"
Unbreak debugging via testr

Unconditionally capturing stdout and stderr makes debugging quite
hard, since we can't see what we're typing.

Change-Id: I89b721b74821dac150dac9df74d31a8f9bbfe8da
Merge "Adds SNMP power driver"
IloVirtualMediaIscsi deploy driver

This commit introduces a new iLo deploy driver which uses virtual
media to boot up proliant baremetal nodes, and uses iSCSI to deploy
the baremetal nodes.

Change-Id: I98f47ed6082a3a28fce3148f6d5177cdb5c61881
Implements: blueprint ironic-ilo-virtualmedia-driver
IloVirtualMediaAgent deploy driver

This commit introduces a new deploy driver which uses iLO virtual
media to boot up proliant baremetal nodes, and uses agent to deploy
the baremetal nodes.

This patch also changes agent pxe config template slightly, so that
the names of agent ramdisk parameters generated in code and those
expected by agent ramdisk are same.

Change-Id: Ia5677dff294bc146b864bed180fbda939cf9bb38
Implements: blueprint ilo-virtualmedia-ipa
Ignore backup files

We never want to add these to the tree.

Change-Id: I04690af7cd1be0a7c742525ed31e5615287a6889
Nova review updates for _node_resource

In review https://review.openstack.org/#/c/111425/14 it has been
raised that if the cpu_arch is not set, we should be using Nova
helper functions instead of 'NotFound'.  Also we should be
canonicalizing the user provided config value.

Once this is approved and merged, it will be proposed back into
the Nova tree.

Change-Id: Idfe0730daa22c6550a1a15b45f481635d2eb5195