Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
teamd: Add support for TIPC link watcher
From: Erik Hugne <erik.hugne@ericsson.com> The first 4 patches moves the arp/ethtool/icmp/icmpv6 link watchers to separate files, leaving the generic link watcher code in teamd_link_watch.c. The last patch adds support for the TIPC link watcher. There is a build-time check that checks if AF_TIPC/SIOCGETLINKNAME are available (kernel 3.15+), and only builds in TIPC support in that case.
- Loading branch information
Showing
11 changed files
with
1,704 additions
and
1,240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"device": "team0", | ||
"runner": {"name": "activebackup"}, | ||
"ports": { | ||
"eth0": { | ||
"link_watch": { | ||
"name": "tipc", | ||
"tipc_bearer": "vlan0" | ||
}, | ||
"sticky": true, | ||
"prio": 10 | ||
}, | ||
"eth1": { | ||
"link_watch": { | ||
"name": "tipc", | ||
"tipc_bearer": "vlan1" | ||
}, | ||
"sticky": true, | ||
"prio": 10 | ||
} | ||
} | ||
} |
Oops, something went wrong.