Revision 377d196b lib/ssconf.py
b/lib/ssconf.py | ||
---|---|---|
296 | 296 |
constants.SS_MAINTAIN_NODE_HEALTH, |
297 | 297 |
constants.SS_UID_POOL, |
298 | 298 |
constants.SS_NODEGROUPS, |
299 |
constants.SS_NETWORKS, |
|
299 | 300 |
) |
300 | 301 |
_MAX_SIZE = 131072 |
301 | 302 |
|
... | ... | |
460 | 461 |
nl = data.splitlines(False) |
461 | 462 |
return nl |
462 | 463 |
|
464 |
def GetNetworkList(self): |
|
465 |
"""Return the list of networks. |
|
466 |
|
|
467 |
""" |
|
468 |
data = self._ReadFile(constants.SS_NETWORKS) |
|
469 |
nl = data.splitlines(False) |
|
470 |
return nl |
|
471 |
|
|
463 | 472 |
def GetClusterTags(self): |
464 | 473 |
"""Return the cluster tags. |
465 | 474 |
|
Also available in: Unified diff