Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reference-repository
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
grid5000
reference-repository
Commits
93837d20
Commit
93837d20
authored
6 years ago
by
Lucas Nussbaum
Browse files
Options
Downloads
Patches
Plain Diff
skip clusters where kavlan is globally set to false (used for initial cluster installation)
parent
03ae1c5e
No related branches found
No related tags found
No related merge requests found
Pipeline
#84826
passed
6 years ago
Stage: validate
Stage: generate
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/refrepo/input_loader.rb
+1
-0
1 addition, 0 deletions
lib/refrepo/input_loader.rb
with
1 addition
and
0 deletions
lib/refrepo/input_loader.rb
+
1
−
0
View file @
93837d20
...
...
@@ -77,6 +77,7 @@ def add_kavlan_ips(h)
# forget about allocated ips for local vlans, since we are starting a new site
allocated
.
delete_if
{
|
k
,
v
|
v
[
3
]
==
'local'
}
hs
[
'clusters'
].
each_pair
do
|
cluster_uid
,
hc
|
next
if
hc
[
'kavlan'
]
and
hc
[
'kavlan'
]
==
false
# skip clusters where kavlan is globally set to false (used for initial cluster installation)
hc
[
'nodes'
].
each_pair
do
|
node_uid
,
hn
|
raise
"Node hash for
#{
node_uid
}
is nil"
if
hn
.
nil?
raise
"Old kavlan data in input/ for
#{
node_uid
}
"
if
hn
.
has_key?
(
'kavlan'
)
...
...
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