The first patch implements the API in libteam to change the carrier from the user space teamd daemon.
The second patch fix lacp mode to set the carrier UP or DOWN depending on the ports state.
The last patch adds a new feature called min_ports. The parameter works as a threshold for the lacp runner to decide whether to set the carrier up or down.
Flavio Leitner (3): libteam: add API for carrier control lacp: fix carrier state lacp: add min_ports parameter
include/team.h | 2 + lib/libteam.c | 55 ++++++++++++++++++++++++ man/teamd.conf.5 | 7 ++++ teamd/teamd_runner_lacp.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 168 insertions(+)