Revision 0ad22aab lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
1442 | 1442 |
def _VerifyNode(self, ninfo, nresult): |
1443 | 1443 |
"""Perform some basic validation on data returned from a node. |
1444 | 1444 |
|
1445 |
- check the result data structure is well formed and has all the mandatory
|
|
1446 |
fields |
|
1447 |
- check ganeti version |
|
1445 |
- check the result data structure is well formed and has all the
|
|
1446 |
mandatory fields
|
|
1447 |
- check ganeti version
|
|
1448 | 1448 |
|
1449 | 1449 |
@type ninfo: L{objects.Node} |
1450 | 1450 |
@param ninfo: the node to check |
Also available in: Unified diff