Yu Watanabe
222a6aace7
Merge pull request #14547 from keszybz/networkctl-matching
...
networkctl: return error or warning when interfaces are not matched
2020-01-15 11:56:01 +09:00
Yu Watanabe
bbaba5748d
test-format-table: add tests for TABLE_STRV
2020-01-15 11:52:40 +09:00
Yu Watanabe
29e15e98c7
resolvectl: use format-table.[ch]
2020-01-15 11:52:40 +09:00
Yu Watanabe
536cdd07b3
networkctl: use TABLE_STRV
2020-01-15 11:52:40 +09:00
Yu Watanabe
4618660d10
format-table: introduce TABLE_STRV
2020-01-15 11:52:40 +09:00
Yu Watanabe
8b75798d12
strv: introduce strv_compare()
2020-01-15 11:52:40 +09:00
Yu Watanabe
ab1b472062
Merge pull request #14555 from poettering/table-multine
...
format-table: proper multi-line support
2020-01-14 06:48:57 +09:00
Yu Watanabe
6b8fe4c30c
man: XxxRate= are in bps
2020-01-12 10:11:07 +01:00
Yu Watanabe
12845a91b5
machinectl: do not truncate addresses when --full is specified
2020-01-10 19:19:15 +09:00
Yu Watanabe
bd17fa8cd8
tree-wide: use table_log_add_error()
2020-01-10 18:28:30 +09:00
Yu Watanabe
964a7745de
portablectl: optimize table creation
2020-01-10 18:28:23 +09:00
Yu Watanabe
679c7c7a67
machinectl: optimize table creation
2020-01-10 18:28:17 +09:00
Yu Watanabe
9c46b437fc
analyze: optimize table creation by using table_add_many()
2020-01-10 18:28:09 +09:00
Yu Watanabe
d8aedafb57
format-table: add table_log_add_error()
2020-01-10 18:23:20 +09:00
Yu Watanabe
98d886be79
Merge pull request #13927 from ddstreet/ll_no
...
networkd: set addr_gen_mode and check for tentative ipv6ll before dro…
2020-01-10 15:44:44 +09:00
Yu Watanabe
e2268fa437
bash-completion: do not ellipsize machine name
2020-01-10 12:29:02 +09:00
Yu Watanabe
a65e34ccb0
machinectl: do not ellipsize table when --full is specified
2020-01-10 12:24:51 +09:00
Yu Watanabe
2a6c483b8c
bash-completion: busctrl: support --full command line option
2020-01-10 12:22:08 +09:00
Yu Watanabe
b683b82fe7
busctl: introduce --full command line option
2020-01-10 12:19:47 +09:00
Yu Watanabe
6c64cf8859
bash-completion: networkctl: do not show ellipsized link name
2020-01-10 12:13:12 +09:00
Yu Watanabe
a42d949080
networkctl: set table width 0 when --full is specified
2020-01-10 12:12:00 +09:00
Yu Watanabe
a362c069a9
systemd-mount: add --full command line option
2020-01-10 12:07:28 +09:00
Yu Watanabe
0ca1926ec3
bash-completion: networkctl: support --full and --lines
2020-01-09 15:43:18 +01:00
Yu Watanabe
cf57766d79
timedatectl: use format-table.[ch]
2020-01-09 15:40:50 +01:00
Yu Watanabe
a5279634c0
systemd-mount: add --no-legend command line option
2020-01-09 20:16:03 +09:00
Yu Watanabe
6ae6ea55d8
systemd-mount: use format-table.[ch]
2020-01-09 20:16:03 +09:00
Yu Watanabe
f93d876c80
format-table: introduce TABLE_PATH
2020-01-09 20:16:03 +09:00
Yu Watanabe
125c7814fa
Merge pull request #14523 from keszybz/refactorings
...
Refactorings inspired by recent pull requests
2020-01-09 12:50:11 +09:00
Yu Watanabe
caa8538a22
networkctl: show permanent mac address if it is not used now
2020-01-08 17:54:59 +09:00
Yu Watanabe
4bb7cc8287
network, udev: introduce PermanentMACAddress= setting in [Match] section
...
Closes #13983 .
2020-01-08 17:54:54 +09:00
Yu Watanabe
79b4428a7d
ethtool: introduce ethtool_get_permanent_macaddr()
...
Will be used in later commits.
2020-01-08 17:51:56 +09:00
Yu Watanabe
7a182f1034
udev: do not use exact match of file permission
...
This partially reverts 25de7aa7b9 .
Fixes #14473 .
2020-01-07 15:16:52 +01:00
Yu Watanabe
6b50cb5ca9
nspawn: set original ifname as alternative if it is truncated
2020-01-07 15:15:59 +01:00
Yu Watanabe
98b0299479
network: append INTERFACE= attributes for logs corresponds to a netif
2020-01-07 22:20:43 +09:00
Yu Watanabe
fc79e6ff5e
test-network: suppress logs in status command
2020-01-07 22:20:43 +09:00
Yu Watanabe
10c71c3605
networkctl: status command also shows logs of networkd
...
Closes #14050 .
2020-01-07 22:20:37 +09:00
Yu Watanabe
b6cea5496a
man: drop unnecessary white space
2020-01-07 13:25:13 +01:00
Yu Watanabe
214c5bae09
test-network: add test for Gateway=DHCP
2020-01-07 19:11:19 +09:00
Yu Watanabe
1985c54ff3
network: static routes via DHCP gateway
...
This makes Gateway= also take "DHCP". If "DHCP" is set, then the gateway
address provided by DHCP or IPv6 RA is used.
Closes #8213 .
2020-01-07 19:10:54 +09:00
Yu Watanabe
25454a0c34
virt: drop trailing white spaces
2020-01-07 11:50:36 +09:00
Yu Watanabe
735ea55f5c
virt: use string table to detect VM or container
2020-01-07 11:50:36 +09:00
Yu Watanabe
d6246fd498
network: lower the log-level of harmless message
...
Closes #14285 .
2020-01-07 10:29:40 +09:00
Yu Watanabe
11b8568f26
meson: drop unnecessary linking of libudev_core
2020-01-07 10:29:17 +09:00
Yu Watanabe
a26c307320
sd-netlink: fix copy and paste mistake
2020-01-06 19:18:19 +01:00
Yu Watanabe
14b6e6b6f3
sd-netlink: use uint8_t* for non-character data
2020-01-06 14:50:41 +01:00
Yu Watanabe
48d0248e6d
network: bump netlink receive buffer size to 128M
...
Prompted by #14417 .
2020-01-02 10:29:41 +01:00
Yu Watanabe
a3d3565451
test-network: add a test case for CoDel
2019-12-28 22:25:49 +09:00
Yu Watanabe
b078e52855
network: add more settings for CoDel
2019-12-28 22:25:12 +09:00
Yu Watanabe
40681e5cdc
network: add one more log message
2019-12-23 21:34:31 +01:00
Yu Watanabe
4171837be6
bash-completion: move shell-completion for log-level or friends to systemctl
2019-12-21 19:23:02 +01:00
Yu Watanabe
3c4ddf5db5
Merge pull request #14407 from ssahani/dhcp-decline
...
network: DHCP4 introduce send decline
2019-12-21 08:40:22 +09:00
Yu Watanabe
0fd8b71809
test-network: add a test case for DHCPv4.SendDecline=
2019-12-21 00:26:44 +09:00
Yu Watanabe
c1d3fa29ca
network: link should not become configured state during ACD probing
2019-12-21 00:26:44 +09:00
Yu Watanabe
7c6d95ea5a
network: fix typo
2019-12-20 18:00:49 +09:00
Yu Watanabe
509b06ffdd
network: update log message in message_rtnl_process_xyz()
...
Also lower the log level when the family is not supported.
2019-12-19 18:58:45 +01:00
Yu Watanabe
de697db05b
network: introduce AddPrefixRoute= and deprecate PrefixRoute=
...
PrefixRoute= was added by e63be0847c ,
but unfortunately, the meaning of PrefixRoute= is inverted; when true
IFA_F_NOPREFIXROUTE flag is added. This introduces AddPrefixRoute=
setting.
2019-12-18 16:32:31 +01:00
Yu Watanabe
a0ce990e71
test-network: add test case for multipath routing
2019-12-18 22:12:57 +09:00
Yu Watanabe
6ff5cc6b7a
network: introduce multipath route
...
Closes #12541 .
2019-12-18 22:12:57 +09:00
Yu Watanabe
6497a8aa9b
sd-netlink: introduce rtattr_append_attribute()
...
It will be used in later commit.
2019-12-18 22:12:57 +09:00
Yu Watanabe
51692fab56
Merge pull request #14370 from poettering/homed-preparation-misc
...
four smaller preparation patches from the homed PR
2019-12-18 11:17:59 +09:00
Yu Watanabe
12742abe07
Merge pull request #14369 from poettering/pkcs11-cryptsetup-followup
...
PKCS#11 cryptsetup support followup
2019-12-18 11:16:17 +09:00
Yu Watanabe
e7bdadb5c6
network: support alternative name to get bus path for the link
2019-12-18 00:05:50 +09:00
Yu Watanabe
f7581ed6e0
networkctl: support alternative name to specify interface
2019-12-18 00:05:50 +09:00
Yu Watanabe
4d016e965b
udev: sort alternative names
...
Kernel preserves the order of alternative names. So, for user
visibility, let's sort the alternative names.
2019-12-18 00:05:50 +09:00
Yu Watanabe
b04c5e51da
sd-netlink: introduce rtnl_resolve_link_alternative_names()
2019-12-18 00:05:50 +09:00
Yu Watanabe
6e5df4036f
Merge pull request #14337 from yuwata/network-tc-fq-more
...
network: tc: introduce more FQ settings
2019-12-17 23:30:10 +09:00
Yu Watanabe
4d92039fce
Merge pull request #14352 from yuwata/sd-netlink-tiny-fixes
...
sd-netlink: tiny fixes
2019-12-17 23:10:46 +09:00
Yu Watanabe
3267cb45e9
Merge pull request #14208 from poettering/json-homed-prepare
...
json bits from homed PR
2019-12-17 23:10:08 +09:00
Yu Watanabe
6d185cffb1
sd-netlink: add a whitespce between cast operator and variable
2019-12-17 17:36:08 +09:00
Yu Watanabe
f501c25151
sd-netlink: make netlink_container_parse() takes size_t for rt_len
...
And use another unsigned short variable for RTA_OK() macro.
2019-12-17 17:35:25 +09:00
Yu Watanabe
49f5cbe924
network: set AlternativeNamesPolicy= in 99-default.link
2019-12-17 15:44:48 +09:00
Yu Watanabe
ef1d2c07f9
udev: introduce AlternativeNamesPolicy= setting
2019-12-17 15:44:43 +09:00
Yu Watanabe
bb181dd4a6
udev: do not fail if kernel does not support alternative names
2019-12-17 15:43:50 +09:00
Yu Watanabe
e16f18bddf
Merge pull request #14339 from keszybz/invalid-enablement-logs
...
Small enhancements to logs for enabling of invalid units
2019-12-17 15:04:14 +09:00
Yu Watanabe
a0f11d1d11
random-util: call initialize_srand() after fork()
2019-12-17 15:03:36 +09:00
Yu Watanabe
78f8849f84
udev: extend the length of ID_NET_NAME_XXX= to ALTIFNAMSIZ
2019-12-17 11:04:11 +09:00
Yu Watanabe
3771024c24
Merge pull request #14354 from poettering/link-fix
...
two trivial doc fixes
2019-12-16 18:06:33 +09:00
Yu Watanabe
479ddcdf5a
util: constify arguments of strv_xxx()
2019-12-16 15:51:04 +09:00
Yu Watanabe
7a2f6fb6f1
test-network: pass environment variables to networkctl
2019-12-16 10:56:02 +09:00
Yu Watanabe
6934ace05d
test-network: add a test case for netdev altname
2019-12-16 10:56:02 +09:00
Yu Watanabe
511070ee95
networkctl: show alternative names
2019-12-16 10:56:02 +09:00
Yu Watanabe
572b21d96c
network: make Name= in [Match] support alternative names of interfaces
2019-12-16 10:55:56 +09:00
Yu Watanabe
a5053a158b
udev: support AlternativeName= setting in .link file
2019-12-16 10:52:22 +09:00
Yu Watanabe
4252696aec
util: introduce ifname_valid_full()
2019-12-16 10:52:22 +09:00
Yu Watanabe
d08d92d5ee
test: add a test for sd_netlink_message_{append,read}_strv()
2019-12-16 10:52:22 +09:00
Yu Watanabe
6d725977c4
sd-netlink: introduce sd_netlink_message_append_strv()
2019-12-16 10:52:22 +09:00
Yu Watanabe
8f3c185966
sd-netlink: introduce sd_netlink_message_read_strv()
...
The combination of sd_netlink_message_enter_container() and
sd_netlink_message_read_string() only reads the last element if the attribute is
duplicated, such a situation easily happens for IFLA_ALT_IFNAME.
The function introduced here reads all matched attributes.
2019-12-16 10:52:17 +09:00
Yu Watanabe
ffeb16f5d8
sd-netlink: support IFLA_PROP_LIST and IFLA_ALT_IFNAME attributes
2019-12-16 04:37:50 +09:00
Yu Watanabe
d3678e3a0b
linux: update headers
2019-12-16 04:37:50 +09:00
Yu Watanabe
4ef289250f
test-network: add a test case for new FQ settings
2019-12-14 12:33:37 +09:00
Yu Watanabe
e83562e51e
network: tc: add more settings for FQ
2019-12-13 23:36:17 +09:00
Yu Watanabe
2e048b14eb
Merge pull request #13915 from ddstreet/ipv6_mtu
...
Set ipv6 mtu after link-up or device mtu change
2019-12-13 18:33:04 +09:00
Yu Watanabe
f7c79f0911
Merge pull request #14320 from yuwata/network-tc-fq_codel-more
...
network: tc: introduce more FQ-CoDel settings
2019-12-13 11:09:36 +09:00
Yu Watanabe
9401e48855
test-network: add a test case for the new settings of FQ-CoDel
2019-12-12 23:37:03 +09:00
Yu Watanabe
ac810b75c1
network: tc: support more attributes for FQ-CoDel
2019-12-12 23:36:48 +09:00
Yu Watanabe
3d85f19ced
Merge pull request #14305 from ssahani/tc-fq
...
network tc: inroduce FQ - Fair Queue traffic policing
2019-12-12 21:16:38 +09:00
Yu Watanabe
dd1e09971b
test: add a test case for network-generator
2019-12-12 19:02:25 +09:00
Yu Watanabe
21a925a4ac
network-generator: allow empty hostname
...
Fixes #14319 .
2019-12-12 19:01:24 +09:00
Yu Watanabe
0baddbd5ee
test-network: add a test case for FQ
2019-12-12 17:26:31 +09:00
Yu Watanabe
da1b880a3a
Merge pull request #14308 from poettering/man-naming-scheme-typo
...
superficial fixes to network naming docs
2019-12-12 17:04:06 +09:00