Revision ff05ff94 test/py/ganeti.hypervisor.hv_xen_unittest.py
b/test/py/ganeti.hypervisor.hv_xen_unittest.py | ||
---|---|---|
240 | 240 |
result = hv_xen._MergeInstanceInfo({}, instance_list) |
241 | 241 |
self.assertEqual(result, { |
242 | 242 |
"memory_dom0": 4096, |
243 |
"dom0_cpus": 7,
|
|
243 |
"cpu_dom0": 7,
|
|
244 | 244 |
}) |
245 | 245 |
|
246 | 246 |
def testWithNodeInfo(self): |
... | ... | |
251 | 251 |
"cpu_nodes": 1, |
252 | 252 |
"cpu_sockets": 2, |
253 | 253 |
"cpu_total": 4, |
254 |
"dom0_cpus": 7,
|
|
254 |
"cpu_dom0": 7,
|
|
255 | 255 |
"hv_version": (4, 0), |
256 | 256 |
"memory_dom0": 4096, |
257 | 257 |
"memory_free": 8004, |
Also available in: Unified diff