enslaving a device
dieter at able.be
Thu Aug 25 04:16:37 EDT 2011
Should it be possible to enslave a device to a bonding device with
something like the following:
link = rtnl_link_get_by_name(cache, "eth0");
change = rtnl_link_alloc();
rtnl_link_set_master(change, rtnl_link_name2i(cache, "bond0"));
rtnl_link_change(nlsock, link, change, 0);
It doesn't return an error, but it also doesn't seem to have any effect.
Maybe my kernel is too old (22.214.171.124), or should it return "not
supported" in that case? This is with a yesterday's git checkout.
More information about the libnl