Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-ganeti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-ganeti
Commits
c18bf8b2
Commit
c18bf8b2
authored
12 years ago
by
Dimitris Aragiorgis
Browse files
Options
Downloads
Patches
Plain Diff
ss_conf support for networks
Signed-off-by:
Dimitris Aragiorgis
<
dimara@grnet.gr
>
parent
f5422b71
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/ssconf.py
+9
-0
9 additions, 0 deletions
lib/ssconf.py
with
9 additions
and
0 deletions
lib/ssconf.py
+
9
−
0
View file @
c18bf8b2
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment