ironic/ironic/tests/unit/objects
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
..
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
test_chassis.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_conductor.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
test_fields.py Add power state change notifications 2016-10-17 15:39:18 +00:00
test_node.py Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
test_notification.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
test_objects.py Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
test_port.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
test_portgroup.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_volume_connector.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
test_volume_target.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
utils.py Add ironic port group CRUD notifications 2017-02-15 11:42:45 +02:00