Revision 5bbd3f7f lib/config.py
b/lib/config.py | ||
---|---|---|
796 | 796 |
self._config_data.instances.keys()) |
797 | 797 |
|
798 | 798 |
def _UnlockedGetInstanceInfo(self, instance_name): |
799 |
"""Returns informations about an instance.
|
|
799 |
"""Returns information about an instance. |
|
800 | 800 |
|
801 | 801 |
This function is for internal use, when the config lock is already held. |
802 | 802 |
|
... | ... | |
808 | 808 |
|
809 | 809 |
@locking.ssynchronized(_config_lock, shared=1) |
810 | 810 |
def GetInstanceInfo(self, instance_name): |
811 |
"""Returns informations about an instance.
|
|
811 |
"""Returns information about an instance. |
|
812 | 812 |
|
813 |
It takes the information from the configuration file. Other informations of
|
|
813 |
It takes the information from the configuration file. Other information of |
|
814 | 814 |
an instance are taken from the live systems. |
815 | 815 |
|
816 | 816 |
@param instance_name: name of the instance, e.g. |
... | ... | |
1208 | 1208 |
|
1209 | 1209 |
@locking.ssynchronized(_config_lock, shared=1) |
1210 | 1210 |
def GetClusterInfo(self): |
1211 |
"""Returns informations about the cluster
|
|
1211 |
"""Returns information about the cluster |
|
1212 | 1212 |
|
1213 | 1213 |
@rtype: L{objects.Cluster} |
1214 | 1214 |
@return: the cluster object |
Also available in: Unified diff