Subject: | smbios type 221 to discovers mac of addon nics |
Date: | Tue, 29 Nov 2011 14:53:06 +0100 |
To: | bug-net-ilo [...] rt.cpan.org |
From: | Berk ÜLSOY <berkulsoy [...] gmail.com> |
Hi,
If the server has additional nic in pci slot, it is not populated in
the relevan smbios type but somewhere else. In my case, I have
additional nics listed in type=221, as 'HPQ NIC iSCSI MAC Info'. I
modified the code in order to get mac addresses of my eth3 and eth4
but I dont think my workaround can cover possible hw configurations.
That smbios type can be examined in the newer versions in order to get
complete mac list.
Below you can find extract of my smbios output:
{
'FIELD' => [
{
'VALUE' => 'HPQ NIC iSCSI MAC Info',
'NAME' => 'Subject'
},
{
'VALUE' => '1',
'NAME' => 'Port'
},
{
'VALUE' => '78-E7-D1-F8-78-05',
'NAME' => 'MAC'
},
{
'VALUE' => '2',
'NAME' => 'Port'
},
{
'VALUE' => '78-E7-D1-F8-78-07',
'NAME' => 'MAC'
}
],
'TYPE' => '221',
'B64_DATA' => '3RQA3QACeOfR+HgFAQJ459H4eAcAAA=='
},
Regards
--
Berk ÜLSOY