charm-nova-compute/unit_tests
Marcin Wilk 2c5c84ecdf Add support for the 'cpu_models' option in nova.conf
Since OpenStack Train release the 'cpu_models' config option
has superseded the 'cpu_model' config option in the nova.conf.
This patch adds support for the new 'cpu_models' allowing a user
to provide a comma separated list of supported, named CPU models.

This patch also inclused unit test for the cpu_mode='custom'.

Closes-bug: #2025914
Change-Id: I30328abc07d3304f1bfb67c81360fb5229214c97
2024-04-15 14:47:10 +02:00
..
__init__.py Improve platform mocking 2023-10-24 12:33:41 +01:00
test_actions_cloud.py Spelling fixes found by codespell. 2021-11-15 21:54:13 +00:00
test_actions_hugepagereport.py Use unittest.mock instead of mock 2021-12-15 14:25:30 +00:00
test_actions_openstack_upgrade.py Refactor unit tests to avoid leaks of mocks. 2023-02-20 11:37:01 -03:00
test_actions_package_upgrade.py Refactor unit tests to avoid leaks of mocks. 2023-02-20 11:37:01 -03:00
test_actions_pause_resume.py Use unittest.mock instead of mock 2021-12-15 14:25:30 +00:00
test_actions_virsh_audit.py Replace deprecated assert_ with assertTrue 2022-07-21 12:46:13 +08:00
test_lib_nova_compute_cloud_utils.py Fix socket.fqdn() not returning full hostname 2022-02-07 16:23:40 +01:00
test_nova_compute_contexts.py Add support for the 'cpu_models' option in nova.conf 2024-04-15 14:47:10 +02:00
test_nova_compute_hooks.py [v2] Fix migration across nova-compute apps using ceph 2024-01-05 15:23:50 +00:00
test_nova_compute_utils.py Do not manage subordinate service restarts 2023-03-02 13:54:15 +00:00
test_utils.py Use unittest.mock instead of mock 2021-12-15 14:25:30 +00:00