compute-hyperv/compute_hyperv/tests
Lucian Petrut 6f3e999d1d Implement update_provider_tree
For now, we'll just set the available ram, disk and vcpus.
This will allow allocation ratios to be set at the placement
inventory level. At the same time, driver capabilities will be
exposed through traits.

Once #1784020 is addressed, we may skip reporting shared storage
capacity.

We're also skipping CPU features for a couple of reasons:
* there are just a few features defined by os-traits, yet even
  fewer exposed by Windows APIs. One option would be to call cpuid
  to get a more exhaustive list of features but that would require
  a C Python extension or separate executable.
* we can't tell for sure which CPU features will actually be exposed
  to the guest, especially when limiting guest CPU features in order
  to support live migration in heterogeneous deployments.

Change-Id: Ibfb879751bba038054ba7852dc49f6d9e67027d6
2019-04-23 15:47:22 +03:00
..
unit Implement update_provider_tree 2019-04-23 15:47:22 +03:00
__init__.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
fake_instance.py Enable trusted certificates support 2018-08-02 17:36:50 +03:00
test.py Improve clustered instance failover handling 2018-11-14 11:26:09 +02:00