ironic/ironic/tests/unit/common
Dmitry Tantsur 901171194b Support defining and loading hardware types
This change introduces a new module ironic.drivers.hardware_types
with AbstractHardwareType class. It also updates driver_factory
code to support loading hardware types and creating dynamic drivers.
Interfaces validation code extended to cover hardware types.

This change also introduces the FakeHardware class for testing.
It is special-cased to bypass compatibility validation completely.

No hardware types are loaded on conductor start up yet, as hardware
types still do not participate in the hash ring. Thus, nodes with
hardware types cannot still be created via HTTP API.

Change-Id: If8e3342baf818a9e37aa82b43aec71898d48c29b
Partial-Bug: #1524745
2016-12-14 18:50:52 +01:00
..
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
test_context.py Add user and project domains to ironic context 2016-11-15 17:35:22 +02:00
test_driver_factory.py Support defining and loading hardware types 2016-12-14 18:50:52 +01:00
test_exception.py Make all IronicExceptions RPC-serializable 2016-11-30 11:36:32 +02:00
test_fsm.py Replace assertRaisesRegexp with assertRaisesRegex 2016-06-21 11:25:23 +03:00
test_glance_service.py Trivial: Remove useless function call in glance service test 2016-08-09 13:35:57 +08:00
test_hash_ring.py Fix race in hash ring refresh unit test 2016-03-23 16:20:24 -07:00
test_image_service.py Migrate to using keystoneauth Sessions 2016-08-03 11:24:21 -07:00
test_images.py Trivial: Fix some typos in comments and docstring 2016-10-03 11:38:00 +00:00
test_keystone.py Fix fall back to newer keystonemiddleware options 2016-08-25 18:12:10 +03:00
test_network.py Add 'neutron' network interface 2016-07-13 13:38:56 +03:00
test_neutron.py Support names for {cleaning,provisioning}_network 2016-12-02 13:29:29 +01:00
test_policy.py Add user and project domains to ironic context 2016-11-15 17:35:22 +02:00
test_pxe_utils.py Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
test_raid.py RAID interface to support JBOD volumes 2016-05-04 14:28:48 +00:00
test_rpc.py Add user and project domains to ironic context 2016-11-15 17:35:22 +02:00
test_rpc_service.py Separate WSGIService from RPCService 2016-09-15 11:14:20 -04:00
test_states.py Move ironic.tests.unit.base to ironic.tests.base 2015-10-22 08:57:41 -07:00
test_swift.py Migrate to using keystoneauth Sessions 2016-08-03 11:24:21 -07:00
test_utils.py Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
test_wsgi_service.py Separate WSGIService from RPCService 2016-09-15 11:14:20 -04:00