Skip to content
Snippets Groups Projects
Commit c18bf8b2 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

ss_conf support for networks


Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent f5422b71
No related branches found
No related tags found
No related merge requests found
...@@ -296,6 +296,7 @@ class SimpleStore(object): ...@@ -296,6 +296,7 @@ class SimpleStore(object):
constants.SS_MAINTAIN_NODE_HEALTH, constants.SS_MAINTAIN_NODE_HEALTH,
constants.SS_UID_POOL, constants.SS_UID_POOL,
constants.SS_NODEGROUPS, constants.SS_NODEGROUPS,
constants.SS_NETWORKS,
) )
_MAX_SIZE = 131072 _MAX_SIZE = 131072
...@@ -460,6 +461,14 @@ class SimpleStore(object): ...@@ -460,6 +461,14 @@ class SimpleStore(object):
nl = data.splitlines(False) nl = data.splitlines(False)
return nl return nl
def GetNetworkList(self):
"""Return the list of networks.
"""
data = self._ReadFile(constants.SS_NETWORKS)
nl = data.splitlines(False)
return nl
def GetClusterTags(self): def GetClusterTags(self):
"""Return the cluster tags. """Return the cluster tags.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment