Revision 52b5d286 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
3555 | 3555 |
node_to_primary = None |
3556 | 3556 |
node_to_secondary = None |
3557 | 3557 |
|
3558 |
if query.NQ_OOB in self.requested_data: |
|
3559 |
oob_support = dict((name, bool(_SupportsOob(lu.cfg, node))) |
|
3560 |
for name, node in all_info.iteritems()) |
|
3561 |
else: |
|
3562 |
oob_support = None |
|
3563 |
|
|
3558 | 3564 |
if query.NQ_GROUP in self.requested_data: |
3559 | 3565 |
groups = lu.cfg.GetAllNodeGroupsInfo() |
3560 | 3566 |
else: |
... | ... | |
3562 | 3568 |
|
3563 | 3569 |
return query.NodeQueryData([all_info[name] for name in nodenames], |
3564 | 3570 |
live_data, lu.cfg.GetMasterNode(), |
3565 |
node_to_primary, node_to_secondary, groups) |
|
3571 |
node_to_primary, node_to_secondary, groups, |
|
3572 |
oob_support) |
|
3566 | 3573 |
|
3567 | 3574 |
|
3568 | 3575 |
class LUQueryNodes(NoHooksLU): |
Also available in: Unified diff