ironic/ironic/tests/unit/common
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_cinder.py Use adapters for cinderclient 2017-11-21 09:32:21 +02:00
test_context.py Add missing 'autospec' to unit tests - /unit/common/ 2017-10-17 10:33:19 -07:00
test_driver_factory.py Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
test_exception.py Make all IronicExceptions RPC-serializable 2016-11-30 11:36:32 +02:00
test_fsm.py Removes unnecessary utf-8 encoding 2017-01-11 19:35:41 +05:30
test_glance_service.py Auto-detect the defaults for [glance]swift_{account,temp_url_key,endpoint_url} 2017-12-12 11:48:06 +01:00
test_hash_ring.py Add hardware types to the hash ring 2017-01-19 20:35:05 +00:00
test_image_service.py Rework keystone auth for glance 2017-11-17 11:40:14 -05:00
test_images.py Add missing 'autospec' to unit tests - /unit/common/ 2017-10-17 10:33:19 -07:00
test_keystone.py Use adapters for neutronclient 2017-12-14 13:36:03 +02:00
test_network.py Refactor get_physnets_by_portgroup_id 2017-07-20 19:27:55 +01:00
test_neutron.py Use adapters for neutronclient 2017-12-14 13:36:03 +02:00
test_policy.py Add user and project domains to ironic context 2016-11-15 17:35:22 +02:00
test_pxe_utils.py Add missing 'autospec' to unit tests - /unit/common/ 2017-10-17 10:33:19 -07:00
test_raid.py RAID interface to support JBOD volumes 2016-05-04 14:28:48 +00:00
test_release_mappings.py Pin API version during rolling upgrade 2017-12-04 10:17:30 -05:00
test_rpc.py Replace get_transport with get_rpc_transport 2017-06-07 12:48:03 +05:30
test_rpc_service.py Modifications for rolling upgrades 2017-07-13 12:16:30 -04:00
test_states.py Use more specific asserts in tests 2017-08-04 08:42:39 +02:00
test_swift.py Auto-detect the defaults for [glance]swift_{account,temp_url_key,endpoint_url} 2017-12-12 11:48:06 +01:00
test_utils.py Simplify the logic of validate_network_port 2017-11-02 10:05:55 +08:00
test_wsgi_service.py Add missing 'autospec' to unit tests - /unit/common/ 2017-10-17 10:33:19 -07:00