PDA

View Full Version : PATCH: Add multi-NIC support to hosts_profiles


James Wells
05-09-2005, 22:12
Greetings,

With most modern servers now coming with 2 (or 3) NIC's built in, datacenter managers are starting to rely on MAC addresses again to start keeping track of where computers are plugged in. This patch simply extends the new hosts_profiles MAC address entry to support up to 4 NIC cards per host. This extension is acheived by renaming the macaddress field to macaddress0, along with the addition of macaddress[1-3]. Very minor changes to the php fronend code were required to make acheive this.

Alexei
06-09-2005, 08:50
By the way, do you want a separate page, say "Host profiles", to make the information accessible read-only in a better way?

James Wells
06-09-2005, 15:03
Yes please. As it is, I am already working on extending the database out a bit more to start capturing things like BTU's, Amps, number of power supplies, etc. Things tht DC facility manager's need.