ironic/ironic/tests
Gregory Haynes 9de2d21a96 Add HashRingManager to wrap hash ring singleton
Currently, the API service creates a new hash ring on every request.
Instead of that, we should cache the hash ring object -- but we should
also expose a way to refresh it when necessary. This method will also
be used by the ConductorManager to cache and refresh the hash ring
when conductors join / leave the cluster.

This patch preserves the existing API behavior by resetting the hash
ring on every request. This should be addressed in a subsequent patch.

Co-Authored-By: Devananda van der Veen <devananda.vdv@gmail.com>
Change-Id: Ib7ab55452499d1e1c362e4cd127f1e6e38106d6c
2014-09-29 15:57:55 -07:00
..
api Remove unneeded context initialization in tests 2014-09-25 17:53:57 +03:00
conductor Merge "Conductor changes target_power_state before starting work" 2014-09-29 22:26:15 +00:00
db Translator functions cleanup part 4 2014-09-05 14:11:30 +03:00
dhcp Neutron DHCP implementation to raise exception if no ports have VIF 2014-09-22 14:24:48 +02:00
drivers Fix typo in agent validation code 2014-09-29 16:11:17 +02:00
objects Do not use the context parameter on refresh() 2014-09-23 13:58:52 +01:00
__init__.py Do not use __builtin__ in python3 2014-03-13 11:34:16 +08:00
base.py Add HashRingManager to wrap hash ring singleton 2014-09-29 15:57:55 -07:00
conf_fixture.py Port to oslo.messaging 2014-04-25 22:46:44 +01:00
fake_policy.py Remove extraneous vim configuration comments for ironic 2014-02-26 09:24:48 +08:00
matchers.py Remove extraneous vim configuration comments for ironic 2014-02-26 09:24:48 +08:00
policy_fixture.py Fix pep8 errors and make it pass Jenkins tests. 2013-05-16 18:40:38 -07:00
stubs.py Remove extraneous vim configuration comments for ironic 2014-02-26 09:24:48 +08:00
test_dbsync.py Remove extraneous vim configuration comments for ironic 2014-02-26 09:24:48 +08:00
test_disk_partitioner.py Add parameter to override locale to utils.execute 2014-09-25 15:06:02 +03:00
test_driver_factory.py Add driver name on driver load exception 2014-08-22 14:07:28 +03:00
test_glance_service.py Do not rely on hash ordering in tests 2014-07-29 12:04:35 +02:00
test_hash_ring.py Add HashRingManager to wrap hash ring singleton 2014-09-29 15:57:55 -07:00
test_images.py IloVirtualMediaIscsi deploy driver 2014-09-03 16:46:57 -07:00
test_keystone.py Replace fixtures with mock in test_keystone.py 2014-03-25 10:55:49 +00:00
test_network.py Make DHCP provider pluggable 2014-08-29 10:26:03 -07:00
test_policy.py Remove extraneous vim configuration comments for ironic 2014-02-26 09:24:48 +08:00
test_pxe_utils.py Remove unneeded context initialization in tests 2014-09-25 17:53:57 +03:00
test_swift.py Add support for interacting with swift 2014-08-27 22:39:50 +05:30
test_utils.py Add parameter to override locale to utils.execute 2014-09-25 15:06:02 +03:00