Revision 31da5ab5
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
490 | 490 |
if name is None: |
491 | 491 |
name = instance.name |
492 | 492 |
|
493 |
return self._StopInstance(name, force) |
|
494 |
|
|
495 |
def _StopInstance(self, name, force): |
|
496 |
"""Stop an instance. |
|
497 |
|
|
498 |
""" |
|
493 | 499 |
if force: |
494 | 500 |
action = "destroy" |
495 | 501 |
else: |
Also available in: Unified diff