projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Verify: xen toolstack, hypervisor and hvparams
[ganeti-local]
/
lib
/
hypervisor
/
hv_fake.py
diff --git
a/lib/hypervisor/hv_fake.py
b/lib/hypervisor/hv_fake.py
index
cccd57d
..
27d929c
100644
(file)
--- a/
lib/hypervisor/hv_fake.py
+++ b/
lib/hypervisor/hv_fake.py
@@
-233,12
+233,16
@@
class FakeHypervisor(hv_base.BaseHypervisor):
message=("Console not available for fake"
" hypervisor"))
message=("Console not available for fake"
" hypervisor"))
- def Verify(self):
+ def Verify(self, hvparams=None):
"""Verify the hypervisor.
For the fake hypervisor, it just checks the existence of the base
dir.
"""Verify the hypervisor.
For the fake hypervisor, it just checks the existence of the base
dir.
+ @type hvparams: dict of strings
+ @param hvparams: hypervisor parameters to be verified against; not used
+ for fake hypervisors
+
@return: Problem description if something is wrong, C{None} otherwise
"""
@return: Problem description if something is wrong, C{None} otherwise
"""