Revision 8fcc0cb1 lib/config.py
b/lib/config.py | ||
---|---|---|
1189 | 1189 |
self._WriteConfig() |
1190 | 1190 |
|
1191 | 1191 |
@locking.ssynchronized(_config_lock, shared=1) |
1192 |
def GetDefBridge(self): |
|
1193 |
"""Return the default bridge. |
|
1194 |
|
|
1195 |
""" |
|
1196 |
return self._config_data.cluster.default_bridge |
|
1197 |
|
|
1198 |
@locking.ssynchronized(_config_lock, shared=1) |
|
1199 | 1192 |
def GetMACPrefix(self): |
1200 | 1193 |
"""Return the mac prefix. |
1201 | 1194 |
|
Also available in: Unified diff