dracut: add team device support
authorCong Wang <amwang@redhat.com>
Thu, 13 Dec 2012 14:30:25 +0000 (22:30 +0800)
committerHarald Hoyer <harald@redhat.com>
Fri, 14 Dec 2012 08:06:51 +0000 (09:06 +0100)
commit3baa150bd417bb96657a75db5e654e8b137e2126
tree787ea92572a1885a5a1ac9b27087c75c52cd649b
parent43cc4d84bc3e3a3d38cf54762969f48fde52fd00
dracut: add team device support

V2: merge patch 2/2
    fix active-backup mode by adding slaves one by one
    sync with the latest teamd
    improve the comments
    wait for team ports to come up
    install /etc/libnl/classid too

This patch adds the initial support for team device [1].
A new cmdline team= is introduced for it.

Note, currently we don't support stacked devices
on/under team, it is tricky and can be added on request.

1. http://www.libteam.org/

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <amwang@redhat.com>
dracut.cmdline.7.asc
modules.d/40network/ifup.sh
modules.d/40network/module-setup.sh
modules.d/40network/net-genrules.sh
modules.d/40network/parse-team.sh [new file with mode: 0755]