Revision 345d395d qa/qa_config.py
b/qa/qa_config.py | ||
---|---|---|
418 | 418 |
return enabled and (not self.GetExclusiveStorage() or |
419 | 419 |
templ in constants.DTS_EXCL_STORAGE) |
420 | 420 |
|
421 |
def AreSpindlesSupported(self): |
|
422 |
"""Are spindles supported by the current configuration? |
|
423 |
|
|
424 |
""" |
|
425 |
return self.GetExclusiveStorage() |
|
426 |
|
|
421 | 427 |
def GetVclusterSettings(self): |
422 | 428 |
"""Returns settings for virtual cluster. |
423 | 429 |
|
... | ... | |
643 | 649 |
return GetConfig().IsTemplateSupported(templ) |
644 | 650 |
|
645 | 651 |
|
652 |
def AreSpindlesSupported(): |
|
653 |
"""Wrapper for L{_QaConfig.AreSpindlesSupported}. |
|
654 |
|
|
655 |
""" |
|
656 |
return GetConfig().AreSpindlesSupported() |
|
657 |
|
|
658 |
|
|
646 | 659 |
def _NodeSortKey(node): |
647 | 660 |
"""Returns sort key for a node. |
648 | 661 |
|
Also available in: Unified diff