Revision 323f9095 lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
661 | 661 |
return self._SingleNodeCall(node, "bridges_exist", [bridges_list]) |
662 | 662 |
|
663 | 663 |
@_RpcTimeout(_TMO_NORMAL) |
664 |
def call_instance_start(self, node, instance, hvp, bep): |
|
664 |
def call_instance_start(self, node, instance, hvp, bep, startup_paused):
|
|
665 | 665 |
"""Starts an instance. |
666 | 666 |
|
667 | 667 |
This is a single-node call. |
668 | 668 |
|
669 | 669 |
""" |
670 | 670 |
idict = self._InstDict(instance, hvp=hvp, bep=bep) |
671 |
return self._SingleNodeCall(node, "instance_start", [idict]) |
|
671 |
return self._SingleNodeCall(node, "instance_start", [idict, startup_paused])
|
|
672 | 672 |
|
673 | 673 |
@_RpcTimeout(_TMO_NORMAL) |
674 | 674 |
def call_instance_shutdown(self, node, instance, timeout): |
Also available in: Unified diff