Logo Search packages:      
Sourcecode: ganeti version File versions  Download package

def lib::config::ConfigWriter::GetInstanceList (   self  ) 

Get the list of instances.

Returns:
  array of instances, ex. ['instance2.example.com','instance1.example.com']
  these contains all the instances, also the ones in Admin_down state

Definition at line 347 of file config.py.

00347                            :
    """Get the list of instances.

    Returns:
      array of instances, ex. ['instance2.example.com','instance1.example.com']
      these contains all the instances, also the ones in Admin_down state

    """
    self._OpenConfig()
    self._ReleaseLock()

    return self._config_data.instances.keys()

  def ExpandInstanceName(self, short_name):


Generated by  Doxygen 1.6.0   Back to index