Revision 874f6148 lib/hypervisor/hv_base.py

b/lib/hypervisor/hv_base.py
173 173
    """Start an instance."""
174 174
    raise NotImplementedError
175 175

  
176
  def StopInstance(self, instance, force=False, retry=False, name=None):
176
  def StopInstance(self, instance, force=False, retry=False, name=None,
177
                   timeout=None):
177 178
    """Stop an instance
178 179

  
179 180
    @type instance: L{objects.Instance}
......
186 187
    @param name: if this parameter is passed, the the instance object
187 188
        should not be used (will be passed as None), and the shutdown
188 189
        must be done by name only
190
    @type timeout: int or None
191
    @param timeout: if the parameter is not None, a soft shutdown operation will
192
        be killed after the specified number of seconds. A hard (forced)
193
        shutdown cannot have a timeout
189 194

  
190 195
    """
191 196
    raise NotImplementedError

Also available in: Unified diff