NetworkManager/tools
Beniamino Galvani 165e5df6e0 nmcli: accept certain IP settings on port connections
Commit bb850fda0e ('nmcli: connection: process port-type, type
and controller first') started correctly rejecting IP configuration
on port connections.

However, previously nmcli would accept IP parameters for ports when
using a specific parameters order. To avoid breaking user scripts that
may have relied on this behavior, introduce a backward compatibility
quirk.

Specifically, nmcli accepts a disabled/ignore IP method on a port
connection. For any other IP setting on a port connection, a specific
error message is now shown.

https://issues.redhat.com/browse/RHEL-90756
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2227
2025-07-01 14:21:23 +02:00
..
nm-guest-data all: remove misc mentions of autotools in docs 2024-09-11 12:18:15 +00:00
check-compare-generated.sh build: pass both filenames to "tools/check-compare-generated.sh" script 2022-10-31 09:11:30 +01:00
check-config-options.sh all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
check-docs.sh all: avoid "==" bashism in scripts 2023-05-18 09:16:41 +02:00
check-exports.sh tools/check-exports.sh: use ${NM} when available 2015-09-24 16:28:15 +02:00
check-gitlab-ci.sh tools: improve detection of "ci-fairy" command in "tools/check-gitlab-ci.sh" 2020-12-11 16:08:47 +01:00
check-nm-autoptr.sh build: add test for checking consistency of "nm-autoptr.h" 2023-02-28 16:33:07 +01:00
check-tree.sh build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
check-vapi.sh vapi: add test for consistency of "vapi/NM-1.0.metadata" 2023-02-28 13:05:47 +01:00
create-exports-NetworkManager.sh build: remove autotools configuration from scripts 2024-09-11 12:18:15 +00:00
debug-helper.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
enums-to-docbook.pl update DocBook DTD version to latest stable 4.5 2024-04-22 12:06:16 +00:00
generate-docs-nm-property-infos.py ip-config: Fix the nmcli docs for the renamed dhcp-send-hostname 2024-10-24 17:03:10 -04:00
generate-docs-nm-settings-docs-gir.py meson: Fix docs generation with PyGObject 3.52 2025-03-31 12:04:43 +00:00
generate-docs-nm-settings-docs-merge.py ip-config: Fix the nmcli docs for the renamed dhcp-send-hostname 2024-10-24 17:03:10 -04:00
generate-docs-settings-docs.py doc: preserve paraghraphs in nmcli man pages 2022-07-15 17:25:15 +02:00
meson-dist-data.sh CI: fix meson tarball testing with old meson version 2024-04-04 08:17:26 +02:00
meson-post-install.sh build: make manpages a mandatory part of the build by default 2025-05-30 09:42:55 +00:00
nm-in-container tools/nm-in-container: add --skip-unavailable flag for installing debuginfo 2025-06-02 11:08:19 +00:00
nm-in-vm typo fix: allows to -> allows one to 2025-03-26 19:22:01 +01:00
nm-to-rhcos tools: add nm-to-rhcos script to our toolset 2024-07-08 13:50:52 +02:00
run-nm-test.sh build: remove autotools configuration from scripts 2024-09-11 12:18:15 +00:00
test-cloud-meta-mock.py test/cloud-meta-mock: do not print what we listen on if we got a FD 2025-01-20 14:08:12 +01:00
test-networkmanager-service.py nmcli: accept certain IP settings on port connections 2025-07-01 14:21:23 +02:00
test-sudo-wrapper.sh nmtst: add nmtst_reexec_sudo() function 2014-06-05 18:12:57 +02:00