support multiple IPv4 addresses in redhat driver
netcf has always supported multiple IPv6 addresses, but only a single
IPv4 address. This patch remedies that, at least for the redhat driver
(also used for Fedora and CentOS).
I can't claim that the xsl transforms in redhat-(get|put).xsl are the
optimum code, but they do get the job done (no mean feat, since this
is the first time I've ever made anything beyond a cosmetic change to
an xsl script).
Similar to what NetworkManager does, the first IPv4 address is stored
in the ifcfg file as
IPADDR=b.l.a.h
NETMASK=b.l.a.h
while subsequent ip addresses are stored as:
IPADDRn=b.l.a.h
NETMASKn=b.l.a.h
where "n" is 1 - 99 (since that is what initscripts (and probably
NetworkManager) support).
A new test case with multiple IPv4 addresses has also been added -
bridge-multi.