ironic/ironic/tests/unit/common
Dmitry Tantsur cc6f7bc73e Automatically migrate nodes to hardware types
This change adds a new data migration: migrate_to_hardware_types.
It works by walking through known classic drivers, detecting matching
hardware types and interfaces and updates nodes accordingly.

Nodes that cannot be updated (e.g. matching hardware type is not
enabled) are skipped. A new migration option reset_unsupported_interfaces
can be set to True to allow resetting optional interfaces to their
no-op versions.

The example implementation are provided for the community supported
IPMI and SNMP drivers, as well as for fake drivers based on them.

Change-Id: I732b44f2ab1ef73f56b352415ffd9cdd8a0e232b
Partial-Bug: #1690185
2018-01-26 21:17:26 +00: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 Automatically migrate nodes to hardware types 2018-01-26 21:17:26 +00: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 Add rescue related methods to network interface 2018-01-22 11:37:32 -05:00
test_neutron.py Use adapters for neutronclient 2017-12-14 13:36:03 +02:00
test_policy.py Remove deprecated ironic.common.policy.enforce() 2017-12-13 20:32:43 -05:00
test_pxe_utils.py Agent rescue implementation 2018-01-25 13:26:33 -05:00
test_raid.py RAID interface to support JBOD volumes 2016-05-04 14:28:48 +00:00
test_release_mappings.py Add RPC object for traits 2018-01-23 22:58:59 +00: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