Revision 47a626b0 lib/ssconf.py
b/lib/ssconf.py | ||
---|---|---|
162 | 162 |
def GetClusterSerialNo(self): |
163 | 163 |
return self._config_data["cluster"]["serial_no"] |
164 | 164 |
|
165 |
def GetDefaultNicParams(self): |
|
166 |
return self._config_data["cluster"]["nicparams"][constants.PP_DEFAULT] |
|
167 |
|
|
168 |
def GetDefaultNicLink(self): |
|
169 |
return self.GetDefaultNicParams()[constants.NIC_LINK] |
|
170 |
|
|
165 | 171 |
def GetNodeStatusFlags(self, node): |
166 | 172 |
"""Get a node's status flags |
167 | 173 |
|
Also available in: Unified diff