ironic-inspector/ironic_inspector/test/unit
Kaifeng Wang 293b0c7c15 Split API and conductor services
This patch splits API and conductor services for ironic-inspector.
Previous patch utilized lock from tooz coordinator, this patch adds
a coordinator wrapper for easier usage and further introduces group
interfaces.

Each conductor service will join a predefined group to mark it's
availability, on each request, API service will query members from
the group and randomly choose on of them, create desiginated topic
and deliver request to it.

The feature is tested with the memcached, file backend of tooz.
Other backends are not fully tested but may work as well, please
refer to tooz documentation for driver compatibilities[1].

[1] https://docs.openstack.org/tooz/latest/user/compatibility.html

Story: 2001842
Task: 30376

Change-Id: I419176cd6d44d74c066db275ef008fe8bb6ef37a
2019-08-12 15:29:55 +08:00
..
__init__.py Move unit tests to "unit" directory 2016-04-05 11:15:29 +03:00
policy_fixture.py Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
test_api_tools.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
test_common_ironic.py Active node introspection for nodes not in cache 2019-07-19 17:08:56 +02:00
test_coordination.py Split API and conductor services 2019-08-12 15:29:55 +08:00
test_db.py Use new oslo db EngineFacade 2017-06-15 14:25:55 +03:00
test_dnsmasq_pxe_filter.py Replace assertEqual(True/False, *) with assertTrue/assertFalse in tests 2018-09-17 09:10:46 +00:00
test_introspect.py Simplify locking code 2019-06-10 10:10:10 +08:00
test_iptables.py pxe_filter: fix get blacklist error 2019-05-18 08:38:29 +00:00
test_keystone.py Add keystoneauth adapters 2018-01-16 18:06:10 +00:00
test_locking.py Split API and conductor services 2019-08-12 15:29:55 +08:00
test_main.py Split API and conductor services 2019-08-12 15:29:55 +08:00
test_manager.py Split API and conductor services 2019-08-12 15:29:55 +08:00
test_migrations.py Merge "Use oslo_db.sqlalchemy.test_fixtures" 2019-07-08 14:57:35 +00:00
test_node_cache.py Active node introspection for nodes not in cache 2019-07-19 17:08:56 +02:00
test_plugins_base.py Fix pycodestyle warnings/errors now visible with hacking 1.1.0 2018-05-08 23:46:05 +02:00
test_plugins_capabilities.py Update version of flake8-import-order package 2017-12-14 11:38:27 -08:00
test_plugins_discovery.py Use bmc ipv6 address while processing introspection data 2019-06-19 15:03:07 +03:00
test_plugins_extra_hardware.py Improve error handling of extra_hardware 2019-05-15 11:39:03 +08:00
test_plugins_introspection_data.py Remove deprecated store_data_location 2019-04-09 08:45:04 +08:00
test_plugins_lldp_basic.py Add plugin to process basic management LLDP TLVs 2017-01-31 19:51:39 -05:00
test_plugins_local_link_connection.py Handle validation failure if not all switch fields received 2018-11-13 08:19:14 -05:00
test_plugins_pci_devices.py Use assertEqual() instead of assertDictEqual() 2016-09-26 11:07:27 +07:00
test_plugins_raid_device.py Remove deprecated alias "root_device_hint" for "raid_device" hook 2016-06-06 19:07:24 +02:00
test_plugins_rules.py Pass reset_interfaces when updating a driver from the rules 2019-03-14 11:02:40 +01:00
test_plugins_standard.py Stop failing on missing memory or CPU 2019-06-14 10:10:02 +02:00
test_process.py Active node introspection for nodes not in cache 2019-07-19 17:08:56 +02:00
test_pxe_filter.py Remove PXE filter logging 2019-03-14 21:11:03 -04:00
test_rules.py Accept None value for set-attribute 2018-12-07 15:12:17 +01:00
test_swift.py Use openstacksdk for accessing Swift 2019-06-19 14:49:03 +02:00
test_utils.py Split API and conductor services 2019-08-12 15:29:55 +08:00
test_wsgi_service.py Split API and conductor services 2019-08-12 15:29:55 +08:00