Commit 06aaa08
committed
Functional tests for NUMA live migration
This patch add a functional tests for NUMA live migration. It also
adds all the previously missing scaffolding, specifically:
* Make the fakelibvirt Domain support the vcpupin, memnode and
emulatorpin XML elements.
* To support testing RPC pinning, a new StubComputeRPCAPI is added to
the integrated helpers. It replaces the real ComputeAPI's router()
method with a stub that uses the RPC version set by the object's
__init__. Tests can replace a real ComputeAPI object with the Stub
to simulate compute services and/or conductors being pinned to
different RPC versions.
* In the fake_imagebackend, is_shared_block_storage() gets stubbed.
It's called indirectly from the
_check_can_live_migrate_(source|destination) checks.
Implements blueprint numa-aware-live-migration
Change-Id: Ia3d7351c1805d98bcb799ab0375673c7f1cb88481 parent 4ba00c8 commit 06aaa08
File tree
5 files changed
+659
-5
lines changed- nova/tests
- functional
- libvirt
- unit/virt
- libvirt
5 files changed
+659
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
75 | 100 | | |
76 | 101 | | |
77 | 102 | | |
| |||
0 commit comments