Revision 07b49e41 lib/hypervisor/hv_base.py
b/lib/hypervisor/hv_base.py | ||
---|---|---|
111 | 111 |
"""Start an instance.""" |
112 | 112 |
raise NotImplementedError |
113 | 113 |
|
114 |
def StopInstance(self, instance, force=False): |
|
115 |
"""Stop an instance.""" |
|
114 |
def StopInstance(self, instance, force=False, retry=False): |
|
115 |
"""Stop an instance |
|
116 |
|
|
117 |
@type instance: L{objects.Instance} |
|
118 |
@param instance: instance to stop |
|
119 |
@type force: boolean |
|
120 |
@param force: whether to do a "hard" stop (destroy) |
|
121 |
@type retry: boolean |
|
122 |
@param retry: whether this is just a retry call |
|
123 |
|
|
124 |
""" |
|
116 | 125 |
raise NotImplementedError |
117 | 126 |
|
118 | 127 |
def RebootInstance(self, instance): |
Also available in: Unified diff