ironic/ironic/tests/unit
Kaifeng Wang 11811f2f18 Enhanced checksum support
This patch adds the ability to pass new hash fields os_hash_algo
and os_hash_value to IPA.

Glance will not re-compute hash values for existing images (they only
update these fields for newly uploaded images), so the os_hash_algo
and os_hash_value can be None.

In the case of direct interface with http provisioning, there
are two hash computing, one is for md5 checksum, and the other is
for new os_hash_algo (if it exists). If the os_hash_algo is
configured to md5, we'll bypass and wouldn't pass os_hash_algo to
IPA, because it's a waste of resource.

Change-Id: Iff72194787561b936efe3572e2b7a70217165a82
Story: 2003938
Task: 26845
2018-10-22 16:12:31 +08:00
..
api Merge "Add automated_clean field to the API" 2018-10-09 17:41:07 +00:00
cmd Allow data migrations to accept options 2018-01-25 16:51:42 +00:00
common Enhanced checksum support 2018-10-22 16:12:31 +08:00
conductor Merge "Add functionality for individual cleaning on nodes" 2018-10-08 16:58:24 +00:00
conf Remove deprecated [keystone] config section 2018-06-11 13:30:50 +00:00
db Add functionality for individual cleaning on nodes 2018-10-05 09:21:58 +02:00
dhcp Completely stop using the "fake" classic driver in unit tests 2018-06-06 16:10:43 +02:00
drivers Enhanced checksum support 2018-10-22 16:12:31 +08:00
objects Add functionality for individual cleaning on nodes 2018-10-05 09:21:58 +02:00
__init__.py Setup logging in unit tests 2017-04-13 20:47:10 +03:00
policy_fixture.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
raid_constants.py Fix for Unable to create RAID1 on Dell BOSS card 2018-06-19 14:41:57 -04:00
stubs.py Enhanced checksum support 2018-10-22 16:12:31 +08:00
test_base.py Fix issue with double mocking of utils.execute functions 2018-02-23 05:44:59 -08:00