Commit 2345e8d0 authored by Pascal Morillon's avatar Pascal Morillon

[admin] Add mac address for the clusters paramount and parapide

parent 63eabd81
......@@ -49,8 +49,10 @@ site :rennes do |site_uid|
:device => "eth0",
:driver => "e1000e",
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => dns_lookup("#{node_uid}.#{site_uid}.grid5000.fr"),
:switch => "c6509-grid"
:ip => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'ip'),
:switch => "c6509-grid",
:switch_port => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'switch_port'),
:mac => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'mac')
},
{
:interface => 'Ethernet',
......
......@@ -54,7 +54,8 @@ site :rennes do |site_uid|
:version => "NetXtreme II BCM5708",
:driver => "bnx2",
:switch => "c6509-grid",
:switch_port => lookup('rennes-paramount', node_uid, 'network_interfaces', 'eth0', 'switch_port')
:switch_port => lookup('rennes-paramount', node_uid, 'network_interfaces', 'eth0', 'switch_port'),
:mac => lookup('rennes-paramount', node_uid, 'network_interfaces', 'eth0', 'mac')
},
{
:interface => 'Ethernet',
......
......@@ -50,7 +50,8 @@ site :rennes do |site_uid|
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
: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')
:switch_port => lookup('rennes-parapide', node_uid, 'network_interfaces', 'eth0', 'switch_port'),
:mac => lookup('rennes-parapide', node_uid, 'network_interfaces', 'eth0', 'mac')
},
{
:interface => 'Ethernet',
......
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