Susant Sahani
5fe5908eed
network: Introduce bond util
2020-05-17 10:02:03 +02:00
Zbigniew Jędrzejewski-Szmek
130b812f9d
network: warn about unknown sections when parsing .netdev files
...
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1774242 .
Now we'll emit the warning about unknown section [Netdev], making the issue
much easier to diagnose.
2019-11-25 16:45:29 +01:00
Yu Watanabe
737f140546
network: cleanup header inclusion
2019-10-30 22:23:43 +09:00
Yu Watanabe
daf0f8ca87
network: add NetDevVTable::generate_mac flag
2019-05-28 22:45:35 +09:00
Yu Watanabe
4799f19e30
network: move link_set_bond() to netdev/bond.c
2019-05-11 06:24:04 +09:00
Yu Watanabe
3e8afae5b5
network: re-indent conf parser and wrap long lines in bond.c
2019-04-13 17:52:00 +09:00
Yu Watanabe
674c96fc44
network: use OrderedSet for bond ARP ip targets
2019-04-13 17:52:00 +09:00
Yu Watanabe
1e2a490e91
network: drop allocation for Bond::ad_actor_system
2019-04-13 17:51:59 +09:00
Yu Watanabe
f200093337
network: drop bond_mode_to_kernel() and bond_xmit_hash_policy_to_kernel()
2019-04-13 17:51:59 +09:00
Lennart Poettering
b82f71c7ff
tree-wide: constify a few static string tables
2019-03-25 14:04:34 +01:00
Yu Watanabe
3f7cc0809d
network: coding style fixes
2019-02-11 01:28:09 +09:00
Susant Sahani
fde60a424e
netdev bond: add support to configure tlb_dynamic_lb
...
Closes https://github.com/systemd/systemd/issues/11135
Add test for bond : tlb_dynamic_lb
2018-12-15 18:15:16 +05:30
Tobias Jungel
db688b7e55
networkd: cleanup for #10542
...
fixes: 53b1f7d
2018-11-06 16:42:12 +03:00
Yu Watanabe
1176b054e1
network: shorten code a bit
2018-11-04 00:31:06 +09:00
Tobias Jungel
99f68ef02d
networkd: add missing bonding options ( #10542 )
...
Add support for bonding options system prio, port key and actor system mac.
These options exist in the linux kernel since 4.2
(torvalds/linux@171a42c38c )
Details:
https://www.kernel.org/doc/Documentation/networking/bonding.txt
2018-11-02 10:31:20 +09:00
Zbigniew Jędrzejewski-Szmek
d9b02e1697
tree-wide: drop copyright headers from frequent contributors
...
Fixes #9320 .
for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do
git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms'
done
2018-06-20 11:58:53 +02:00
Lennart Poettering
96b2fb93c5
tree-wide: beautify remaining copyright statements
...
Let's unify an beautify our remaining copyright statements, with a
unicode ©. This means our copyright statements are now always formatted
the same way. Yay.
2018-06-14 10:20:21 +02:00
Lennart Poettering
818bf54632
tree-wide: drop 'This file is part of systemd' blurb
...
This part of the copyright blurb stems from the GPL use recommendations:
https://www.gnu.org/licenses/gpl-howto.en.html
The concept appears to originate in times where version control was per
file, instead of per tree, and was a way to glue the files together.
Ultimately, we nowadays don't live in that world anymore, and this
information is entirely useless anyway, as people are very welcome to
copy these files into any projects they like, and they shouldn't have to
change bits that are part of our copyright header for that.
hence, let's just get rid of this old cruft, and shorten our codebase a
bit.
2018-06-14 10:20:20 +02:00
Zbigniew Jędrzejewski-Szmek
11a1589223
tree-wide: drop license boilerplate
...
Files which are installed as-is (any .service and other unit files, .conf
files, .policy files, etc), are left as is. My assumption is that SPDX
identifiers are not yet that well known, so it's better to retain the
extended header to avoid any doubt.
I also kept any copyright lines. We can probably remove them, but it'd nice to
obtain explicit acks from all involved authors before doing that.
2018-04-06 18:58:55 +02:00
Zbigniew Jędrzejewski-Szmek
53e1b68390
Add SPDX license identifiers to source files under the LGPL
...
This follows what the kernel is doing, c.f.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5fd54ace4721fc5ce2bb5aef6318fcf17f421460 .
2017-11-19 19:08:15 +01:00
Tom Gundersen
441e9ae4d9
networkd: netdev - move to separate subdirectory
...
This could (and should) be made into a separate daemon, at least move
the sourcefiles out for now.
2016-11-13 05:16:49 +01:00