Commit 1ad0f069 authored by Pascal Morillon's avatar Pascal Morillon

[admin][rennes] Remove dns_lookup and add switch port informations for the cluster parapide

parent 4c28a538
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment