Revision bbcf7ad0 lib/hypervisor/hv_base.py

b/lib/hypervisor/hv_base.py
113 113
    """Start an instance."""
114 114
    raise NotImplementedError
115 115

  
116
  def StopInstance(self, instance, force=False, retry=False):
116
  def StopInstance(self, instance, force=False, retry=False, name=None):
117 117
    """Stop an instance
118 118

  
119 119
    @type instance: L{objects.Instance}
......
122 122
    @param force: whether to do a "hard" stop (destroy)
123 123
    @type retry: boolean
124 124
    @param retry: whether this is just a retry call
125
    @type name: string or None
126
    @param name: if this parameter is passed, the the instance object
127
        should not be used (will be passed as None), and the shutdown
128
        must be done by name only
125 129

  
126 130
    """
127 131
    raise NotImplementedError

Also available in: Unified diff