Skip to content
Snippets Groups Projects
Commit f2bd89b3 authored by Apollon Oikonomopoulos's avatar Apollon Oikonomopoulos Committed by Iustin Pop
Browse files

ss_conf support for networks


Signed-off-by: default avatarApollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 9c784fb3
No related branches found
No related tags found
No related merge requests found
......@@ -297,6 +297,7 @@ class SimpleStore(object):
constants.SS_MAINTAIN_NODE_HEALTH,
constants.SS_UID_POOL,
constants.SS_NODEGROUPS,
constants.SS_NETWORKS,
)
_MAX_SIZE = 131072
......@@ -461,6 +462,14 @@ class SimpleStore(object):
nl = data.splitlines(False)
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):
"""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