ironic/ironic/tests/unit
Shivanand Tendulker 433b1fd197 Adds rescue_interface to base driver class
This commit adds `rescue` interface to `BaseDriver` and implements
it for `fake-hardware` hardware type. It adds configuration
parameters '[DEFAULT]/enabled_rescue_interfaces' and
'[DEFAULT]/default_rescue_interface'. The default value of
configuration parameter '[DEFAULT]/enabled_rescue_interfaces' is
`no-rescue`.

It adds new rescue states and a new 'rescue' field to the Node
object. It adds objects.node.Node._convert_to_version().
The method handles converting the new rescue_interface field
between different versions of the Node.

Partial-bug: #1526449
Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Co-Authored-By: Josh Gachnang <josh@pcsforeducation.com>
Co-Authored-By: Jesse J. Cook <jesse.j.cook@member.fsf.org>
Co-Authored-By: Mario Villaplana <mario.villaplana@gmail.com>
Co-Authored-By: Aparna <aparnavtce@gmail.com>
Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com>

Change-Id: I1534247bf207a20a7a58534988192aef392eaff2
2017-12-21 03:01:48 -05:00
..
api Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
cmd Do not access dbapi attributes on dbsync import 2017-12-06 14:10:55 -08:00
common Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
conductor Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
conf Remove legacy auth loading 2017-06-06 10:20:54 +00:00
db Remove unused methond _get_connect_string 2017-12-08 13:44:09 +08:00
dhcp Use adapters for neutronclient 2017-12-14 13:36:03 +02:00
drivers Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
objects Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
__init__.py Setup logging in unit tests 2017-04-13 20:47:10 +03:00
policy_fixture.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
raid_constants.py RAID interface to support JBOD volumes 2016-05-04 14:28:48 +00:00
stubs.py Remove unused methods from GlanceImageService 2017-05-31 16:47:11 +00:00