Revision 8f215968 lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
730 | 730 |
# TODO: should this method query down nodes? |
731 | 731 |
return cls._StaticMultiNodeCall(node_list, "master_info", []) |
732 | 732 |
|
733 |
def call_version(self, node_list): |
|
733 |
@classmethod |
|
734 |
def call_version(cls, node_list): |
|
734 | 735 |
"""Query node version. |
735 | 736 |
|
736 | 737 |
This is a multi-node call. |
737 | 738 |
|
738 | 739 |
""" |
739 |
return self._MultiNodeCall(node_list, "version", [])
|
|
740 |
return cls._StaticMultiNodeCall(node_list, "version", [])
|
|
740 | 741 |
|
741 | 742 |
def call_blockdev_create(self, node, bdev, size, owner, on_primary, info): |
742 | 743 |
"""Request creation of a given block device. |
Also available in: Unified diff