NetworkManager/clients
Thomas Haller 91d8038a81 cli: fix default value for team.runner-min-ports
The default value is "1", not "0". Also, because "0" is not actually a
valid value as far as teamd is concerned. This fixes:

    $ nmcli connection add type team autoconnect no con-name t team.runner lacp team.runner-min-ports default
    Error: Failed to add 't' connection: team.runner-min-ports: value out or range

See "teamd.conf" manual:

    runner.min_ports (int)
        Specifies the minimum number of ports that must be active before asserting
        carrier in the master interface, value can be 1 – 255.

        Default: 1

This mistake probably happend because the teamd manual is wrong in older versions [1].

[1] f36c191da3

https://bugzilla.redhat.com/show_bug.cgi?id=1716987
2019-06-11 13:25:21 +02:00
..
cli cli: enforce int type in for loops 2019-05-29 11:37:42 +02:00
common cli: fix default value for team.runner-min-ports 2019-06-11 13:25:21 +02:00
tests clients/tests: increase timeout waiting for stub D-Bus service 2019-05-29 09:42:40 +02:00
tui all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
meson.build build/meson: rename "nm_core_dep" to "libnm_core_dep" 2019-04-18 18:59:09 +02:00
nm-online.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00