Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
1ad0f069
Commit
1ad0f069
authored
Mar 25, 2011
by
Pascal Morillon
Browse files
[admin][rennes] Remove dns_lookup and add switch port informations for the cluster parapide
parent
4c28a538
Changes
1
Hide whitespace changes
Inline
Side-by-side
generators/input/rennes-parapide.rb
View file @
1ad0f069
...
...
@@ -48,8 +48,9 @@ site :rennes do |site_uid|
:device
=>
"eth0"
,
:driver
=>
"igb"
,
:network_address
=>
"
#{
node_uid
}
.
#{
site_uid
}
.grid5000.fr"
,
:ip
=>
dns_lookup
(
"
#{
node_uid
}
.
#{
site_uid
}
.grid5000.fr"
),
:switch
=>
"c6509-grid"
:ip
=>
lookup
(
'rennes-parapide'
,
node_uid
,
'network_interfaces'
,
'eth0'
,
'ip'
),
:switch
=>
"c6509-grid"
,
:switch_port
=>
lookup
(
'rennes-parapide'
,
node_uid
,
'network_interfaces'
,
'eth0'
,
'switch_port'
)
},
{
:interface
=>
'Ethernet'
,
...
...
@@ -71,7 +72,7 @@ site :rennes do |site_uid|
:vendor
=>
"Mellanox"
,
:version
=>
"MT25418"
,
:network_address
=>
"
#{
node_uid
}
-ib0.
#{
site_uid
}
.grid5000.fr"
,
:ip
=>
dns_
lookup
(
"
#{
node_uid
}
-ib0.
#{
site_uid
}
.grid5000.fr"
)
:ip
=>
lookup
(
'rennes-parapide'
,
node_uid
,
'network_interfaces'
,
'ib0'
,
'ip'
)
}]
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment