Revision 07b49e41 lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
178 | 178 |
(instance.name, result.fail_reason, |
179 | 179 |
result.output)) |
180 | 180 |
|
181 |
def StopInstance(self, instance, force=False): |
|
181 |
def StopInstance(self, instance, force=False, retry=False):
|
|
182 | 182 |
"""Stop an instance. |
183 | 183 |
|
184 | 184 |
""" |
185 |
if retry: |
|
186 |
return |
|
185 | 187 |
self._RemoveConfigFile(instance.name) |
186 | 188 |
if force: |
187 | 189 |
command = ["xm", "destroy", instance.name] |
Also available in: Unified diff