Revision a9542a4f lib/config.py
b/lib/config.py | ||
---|---|---|
1190 | 1190 |
return self._config_data.cluster.enabled_hypervisors[0] |
1191 | 1191 |
|
1192 | 1192 |
@locking.ssynchronized(_config_lock, shared=1) |
1193 |
def GetHostKey(self): |
|
1193 |
def GetRsaHostKey(self):
|
|
1194 | 1194 |
"""Return the rsa hostkey from the config. |
1195 | 1195 |
|
1196 | 1196 |
@rtype: string |
... | ... | |
1200 | 1200 |
return self._config_data.cluster.rsahostkeypub |
1201 | 1201 |
|
1202 | 1202 |
@locking.ssynchronized(_config_lock, shared=1) |
1203 |
def GetDsaHostKey(self): |
|
1204 |
"""Return the dsa hostkey from the config. |
|
1205 |
|
|
1206 |
@rtype: string |
|
1207 |
@return: the dsa hostkey |
|
1208 |
|
|
1209 |
""" |
|
1210 |
return self._config_data.cluster.dsahostkeypub |
|
1211 |
|
|
1212 |
@locking.ssynchronized(_config_lock, shared=1) |
|
1203 | 1213 |
def GetDefaultIAllocator(self): |
1204 | 1214 |
"""Get the default instance allocator for this cluster. |
1205 | 1215 |
|
Also available in: Unified diff