summaryrefslogtreecommitdiff
path: root/clients/tests
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-05-29 07:53:54 +0200
committerThomas Haller <thaller@redhat.com>2018-06-01 16:03:23 +0200
commit46b7d52109bfc5f0181af4b51cfb55f2ba6495ac (patch)
tree3fa5f46a54202b5b62504bbac5207d6ed38188b2 /clients/tests
parentb18c9e44ed2304b867aae833cd2d579e5c75cdf4 (diff)
downloadNetworkManager-46b7d52109bfc5f0181af4b51cfb55f2ba6495ac.tar.gz
clients/tests: add tests for output of `nmcli con show`
Diffstat (limited to 'clients/tests')
-rw-r--r--clients/tests/test-client.check-on-disk/Makefile.am12
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-016.expected84
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-017.expected84
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-018.expected96
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-019.expected96
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-020.expected15
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-021.expected15
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-022.expected112
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-023.expected112
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-024.expected97
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-025.expected102
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-026.expected21
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-027.expected21
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-028.expected42
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-029.expected116
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-030.expected87
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-031.expected113
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-032.expected113
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-033.expected19
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-034.expected19
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-035.expected38
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-036.expected38
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-037.expected12
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-038.expected12
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-039.expected10
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-040.expected10
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-041.expected90
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-042.expected90
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-043.expected115
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-044.expected115
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-045.expected27
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-046.expected27
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-047.expected40
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-048.expected40
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-049.expected13
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-050.expected13
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-051.expected10
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-052.expected10
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-053.expected115
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-054.expected115
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-055.expected18
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-056.expected18
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-057.expected24
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-058.expected24
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-059.expected16
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-060.expected16
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-061.expected15
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-062.expected15
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-063.expected20
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-064.expected20
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-065.expected115
-rw-r--r--clients/tests/test-client.check-on-disk/test_003-066.expected115
-rw-r--r--clients/tests/test-client.check-on-disk/test_004-001.expected2
-rw-r--r--clients/tests/test-client.check-on-disk/test_004-002.expected2
-rw-r--r--clients/tests/test-client.check-on-disk/test_004-003.expected2
-rw-r--r--clients/tests/test-client.check-on-disk/test_004-004.expected2
-rw-r--r--clients/tests/test-client.check-on-disk/test_004-005.expected2
-rw-r--r--clients/tests/test-client.check-on-disk/test_004-006.expected2
-rwxr-xr-xclients/tests/test-client.py9
59 files changed, 1471 insertions, 1282 deletions
diff --git a/clients/tests/test-client.check-on-disk/Makefile.am b/clients/tests/test-client.check-on-disk/Makefile.am
index aa49eda643..983865be59 100644
--- a/clients/tests/test-client.check-on-disk/Makefile.am
+++ b/clients/tests/test-client.check-on-disk/Makefile.am
@@ -105,6 +105,18 @@ clients_tests_expected_files = \
clients/tests/test-client.check-on-disk/test_003-052.expected \
clients/tests/test-client.check-on-disk/test_003-053.expected \
clients/tests/test-client.check-on-disk/test_003-054.expected \
+ clients/tests/test-client.check-on-disk/test_003-055.expected \
+ clients/tests/test-client.check-on-disk/test_003-056.expected \
+ clients/tests/test-client.check-on-disk/test_003-057.expected \
+ clients/tests/test-client.check-on-disk/test_003-058.expected \
+ clients/tests/test-client.check-on-disk/test_003-059.expected \
+ clients/tests/test-client.check-on-disk/test_003-060.expected \
+ clients/tests/test-client.check-on-disk/test_003-061.expected \
+ clients/tests/test-client.check-on-disk/test_003-062.expected \
+ clients/tests/test-client.check-on-disk/test_003-063.expected \
+ clients/tests/test-client.check-on-disk/test_003-064.expected \
+ clients/tests/test-client.check-on-disk/test_003-065.expected \
+ clients/tests/test-client.check-on-disk/test_003-066.expected \
clients/tests/test-client.check-on-disk/test_004-001.expected \
clients/tests/test-client.check-on-disk/test_004-002.expected \
clients/tests/test-client.check-on-disk/test_004-003.expected \
diff --git a/clients/tests/test-client.check-on-disk/test_003-016.expected b/clients/tests/test-client.check-on-disk/test_003-016.expected
index 8d68221f9d..c5a717b0f8 100644
--- a/clients/tests/test-client.check-on-disk/test_003-016.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-016.expected
@@ -1,87 +1,11 @@
location: clients/tests/test-client.py:737:test_003()/16
-cmd: $NMCLI -f ALL con s ethernet
+cmd: $NMCLI -f ALL con s -a
lang: C
returncode: 0
-stdout: 3516 bytes
+stdout: 542 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: yes
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: no
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: unknown
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: no
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: auto
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: no
-ipv4.ignore-auto-dns: no
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: yes
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: no
-ipv4.may-fail: yes
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: no
-ipv6.ignore-auto-dns: no
-ipv6.never-default: no
-ipv6.may-fail: yes
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: yes
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: no
-proxy.pac-url: --
-proxy.pac-script: --
+NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/3 yes eth0 activated /org/freedesktop/NetworkManager/ActiveConnection/1 --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-017.expected b/clients/tests/test-client.check-on-disk/test_003-017.expected
index 7e99138c22..760b8f299b 100644
--- a/clients/tests/test-client.check-on-disk/test_003-017.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-017.expected
@@ -1,87 +1,11 @@
location: clients/tests/test-client.py:737:test_003()/17
-cmd: $NMCLI -f ALL con s ethernet
+cmd: $NMCLI -f ALL con s -a
lang: pl_PL.UTF-8
returncode: 0
-stdout: 3534 bytes
+stdout: 544 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: tak
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: nie
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: nieznane
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: nie
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: automatyczne
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: nie
-ipv4.ignore-auto-dns: nie
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: tak
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: nie
-ipv4.may-fail: tak
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: nie
-ipv6.ignore-auto-dns: nie
-ipv6.never-default: nie
-ipv6.may-fail: tak
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: tak
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: nie
-proxy.pac-url: --
-proxy.pac-script: --
+NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/3 tak eth0 aktywowano /org/freedesktop/NetworkManager/ActiveConnection/1 --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-018.expected b/clients/tests/test-client.check-on-disk/test_003-018.expected
index bc74883da7..83a19b3c14 100644
--- a/clients/tests/test-client.check-on-disk/test_003-018.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-018.expected
@@ -1,99 +1,11 @@
location: clients/tests/test-client.py:740:test_003()/18
-cmd: $NMCLI con s ethernet
+cmd: $NMCLI -f ACTIVE-PATH,DEVICE,UUID con s -act
lang: C
returncode: 0
-stdout: 4180 bytes
+stdout: 196 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: yes
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: no
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: unknown
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: no
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: auto
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: no
-ipv4.ignore-auto-dns: no
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: yes
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: no
-ipv4.may-fail: yes
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: no
-ipv6.ignore-auto-dns: no
-ipv6.never-default: no
-ipv6.may-fail: yes
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: yes
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: no
-proxy.pac-url: --
-proxy.pac-script: --
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth0
-GENERAL.STATE: activated
-GENERAL.DEFAULT: no
-GENERAL.DEFAULT6: no
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: no
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
+ACTIVE-PATH DEVICE UUID
+/org/freedesktop/NetworkManager/ActiveConnection/1 eth0 UUID-ethernet-REPLACED-REPLACED-REPL
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-019.expected b/clients/tests/test-client.check-on-disk/test_003-019.expected
index 5e37312d12..9e2db6462f 100644
--- a/clients/tests/test-client.check-on-disk/test_003-019.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-019.expected
@@ -1,99 +1,11 @@
location: clients/tests/test-client.py:740:test_003()/19
-cmd: $NMCLI con s ethernet
+cmd: $NMCLI -f ACTIVE-PATH,DEVICE,UUID con s -act
lang: pl_PL.UTF-8
returncode: 0
-stdout: 4201 bytes
+stdout: 196 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: tak
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: nie
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: nieznane
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: nie
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: automatyczne
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: nie
-ipv4.ignore-auto-dns: nie
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: tak
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: nie
-ipv4.may-fail: tak
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: nie
-ipv6.ignore-auto-dns: nie
-ipv6.never-default: nie
-ipv6.may-fail: tak
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: tak
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: nie
-proxy.pac-url: --
-proxy.pac-script: --
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth0
-GENERAL.STATE: activated
-GENERAL.DEFAULT: nie
-GENERAL.DEFAULT6: nie
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: nie
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
+ACTIVE-PATH DEVICE UUID
+/org/freedesktop/NetworkManager/ActiveConnection/1 eth0 UUID-ethernet-REPLACED-REPLACED-REPL
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-020.expected b/clients/tests/test-client.check-on-disk/test_003-020.expected
index 513985a5a5..2c226cbccf 100644
--- a/clients/tests/test-client.check-on-disk/test_003-020.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-020.expected
@@ -1,19 +1,14 @@
location: clients/tests/test-client.py:743:test_003()/20
-cmd: $NMCLI -f ALL dev s eth0
+cmd: $NMCLI -f UUID,NAME con s --active
lang: C
returncode: 0
-stdout: 1056 bytes
+stdout: 96 bytes
>>>
-DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
-eth1 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 -- -- --
-wlan0 wifi unavailable /org/freedesktop/NetworkManager/Devices/3 -- -- --
-wlan1 wifi unavailable /org/freedesktop/NetworkManager/Devices/4 -- -- --
-wlan1 wifi unavailable /org/freedesktop/NetworkManager/Devices/5 -- -- --
-eth0 ethernet unavailable /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
+UUID NAME
+UUID-ethernet-REPLACED-REPLACED-REPL ethernet
<<<
-stderr: 24 bytes
+stderr: 0 bytes
>>>
-Unknown parameter: eth0
<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-021.expected b/clients/tests/test-client.check-on-disk/test_003-021.expected
index 6809f2907d..77bd6f6a6e 100644
--- a/clients/tests/test-client.check-on-disk/test_003-021.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-021.expected
@@ -1,19 +1,14 @@
location: clients/tests/test-client.py:743:test_003()/21
-cmd: $NMCLI -f ALL dev s eth0
+cmd: $NMCLI -f UUID,NAME con s --active
lang: pl_PL.UTF-8
returncode: 0
-stdout: 1061 bytes
+stdout: 96 bytes
>>>
-DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
-eth1 ethernet niedostępne /org/freedesktop/NetworkManager/Devices/2 -- -- --
-wlan0 wifi niedostępne /org/freedesktop/NetworkManager/Devices/3 -- -- --
-wlan1 wifi niedostępne /org/freedesktop/NetworkManager/Devices/4 -- -- --
-wlan1 wifi niedostępne /org/freedesktop/NetworkManager/Devices/5 -- -- --
-eth0 ethernet niedostępne /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
+UUID NAME
+UUID-ethernet-REPLACED-REPLACED-REPL ethernet
<<<
-stderr: 24 bytes
+stderr: 0 bytes
>>>
-Nieznany parametr: eth0
<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-022.expected b/clients/tests/test-client.check-on-disk/test_003-022.expected
index 57d4e4a8ed..fd249bf47f 100644
--- a/clients/tests/test-client.check-on-disk/test_003-022.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-022.expected
@@ -1,39 +1,87 @@
location: clients/tests/test-client.py:746:test_003()/22
-cmd: $NMCLI -f ALL dev show eth0
+cmd: $NMCLI -f ALL con s ethernet
lang: C
returncode: 0
-stdout: 1487 bytes
+stdout: 3516 bytes
>>>
-GENERAL.DEVICE: eth0
-GENERAL.TYPE: ethernet
-GENERAL.NM-TYPE: NMDeviceEthernet
-GENERAL.VENDOR: --
-GENERAL.PRODUCT: --
-GENERAL.DRIVER: virtual
-GENERAL.DRIVER-VERSION: --
-GENERAL.FIRMWARE-VERSION: --
-GENERAL.HWADDR: 72:41:AB:90:41:5D
-GENERAL.MTU: 0
-GENERAL.STATE: 20 (unavailable)
-GENERAL.REASON: 0 (No reason given)
-GENERAL.UDI: /sys/devices/virtual/eth0
-GENERAL.IP-IFACE: --
-GENERAL.IS-SOFTWARE: no
-GENERAL.NM-MANAGED: yes
-GENERAL.AUTOCONNECT: yes
-GENERAL.FIRMWARE-MISSING: no
-GENERAL.NM-PLUGIN-MISSING: no
-GENERAL.PHYS-PORT-ID: --
-GENERAL.CONNECTION: ethernet
-GENERAL.CON-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.METERED: unknown
-CAPABILITIES.CARRIER-DETECT: no
-CAPABILITIES.SPEED: 100 Mb/s
-CAPABILITIES.IS-SOFTWARE: no
-CAPABILITIES.SRIOV: no
-WIRED-PROPERTIES.CARRIER: off
-CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: yes
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: no
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: unknown
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: no
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: auto
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: no
+ipv4.ignore-auto-dns: no
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: yes
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: no
+ipv4.may-fail: yes
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: no
+ipv6.ignore-auto-dns: no
+ipv6.never-default: no
+ipv6.may-fail: yes
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: yes
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: no
+proxy.pac-url: --
+proxy.pac-script: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-023.expected b/clients/tests/test-client.check-on-disk/test_003-023.expected
index 0455374fd2..fe7721ee2a 100644
--- a/clients/tests/test-client.check-on-disk/test_003-023.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-023.expected
@@ -1,39 +1,87 @@
location: clients/tests/test-client.py:746:test_003()/23
-cmd: $NMCLI -f ALL dev show eth0
+cmd: $NMCLI -f ALL con s ethernet
lang: pl_PL.UTF-8
returncode: 0
-stdout: 1510 bytes
+stdout: 3534 bytes
>>>
-GENERAL.DEVICE: eth0
-GENERAL.TYPE: ethernet
-GENERAL.NM-TYPE: NMDeviceEthernet
-GENERAL.VENDOR: --
-GENERAL.PRODUCT: --
-GENERAL.DRIVER: virtual
-GENERAL.DRIVER-VERSION: --
-GENERAL.FIRMWARE-VERSION: --
-GENERAL.HWADDR: 72:41:AB:90:41:5D
-GENERAL.MTU: 0
-GENERAL.STATE: 20 (niedostępne)
-GENERAL.REASON: 0 (Nie podano przyczyny)
-GENERAL.UDI: /sys/devices/virtual/eth0
-GENERAL.IP-IFACE: --
-GENERAL.IS-SOFTWARE: nie
-GENERAL.NM-MANAGED: tak
-GENERAL.AUTOCONNECT: tak
-GENERAL.FIRMWARE-MISSING: nie
-GENERAL.NM-PLUGIN-MISSING: nie
-GENERAL.PHYS-PORT-ID: --
-GENERAL.CONNECTION: ethernet
-GENERAL.CON-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.METERED: nieznane
-CAPABILITIES.CARRIER-DETECT: nie
-CAPABILITIES.SPEED: 100 Mb/s
-CAPABILITIES.IS-SOFTWARE: nie
-CAPABILITIES.SRIOV: nie
-WIRED-PROPERTIES.CARRIER: wyłączone
-CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: tak
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: nie
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: nieznane
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: nie
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: automatyczne
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: nie
+ipv4.ignore-auto-dns: nie
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: tak
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: nie
+ipv4.may-fail: tak
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: nie
+ipv6.ignore-auto-dns: nie
+ipv6.never-default: nie
+ipv6.may-fail: tak
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: tak
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: nie
+proxy.pac-url: --
+proxy.pac-script: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-024.expected b/clients/tests/test-client.check-on-disk/test_003-024.expected
index b20a45d45c..8429e4979f 100644
--- a/clients/tests/test-client.check-on-disk/test_003-024.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-024.expected
@@ -1,10 +1,99 @@
-location: clients/tests/test-client.py:728:test_003()/24
-cmd: $NMCLI con up ethernet ifname eth1
+location: clients/tests/test-client.py:749:test_003()/24
+cmd: $NMCLI con s ethernet
lang: C
returncode: 0
-stdout: 106 bytes
+stdout: 4180 bytes
>>>
-Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: yes
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: no
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: unknown
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: no
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: auto
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: no
+ipv4.ignore-auto-dns: no
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: yes
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: no
+ipv4.may-fail: yes
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: no
+ipv6.ignore-auto-dns: no
+ipv6.never-default: no
+ipv6.may-fail: yes
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: yes
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: no
+proxy.pac-url: --
+proxy.pac-script: --
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth0
+GENERAL.STATE: activated
+GENERAL.DEFAULT: no
+GENERAL.DEFAULT6: no
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: no
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-025.expected b/clients/tests/test-client.check-on-disk/test_003-025.expected
index 3806099b97..0e3c598318 100644
--- a/clients/tests/test-client.check-on-disk/test_003-025.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-025.expected
@@ -1,13 +1,99 @@
-location: clients/tests/test-client.py:731:test_003()/25
-cmd: $NMCLI con
-lang: C
+location: clients/tests/test-client.py:749:test_003()/25
+cmd: $NMCLI con s ethernet
+lang: pl_PL.UTF-8
returncode: 0
-stdout: 264 bytes
+stdout: 4201 bytes
>>>
-NAME UUID TYPE DEVICE
-ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet eth0
-con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet --
-con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet --
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: tak
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: nie
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: nieznane
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: nie
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: automatyczne
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: nie
+ipv4.ignore-auto-dns: nie
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: tak
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: nie
+ipv4.may-fail: tak
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: nie
+ipv6.ignore-auto-dns: nie
+ipv6.never-default: nie
+ipv6.may-fail: tak
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: tak
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: nie
+proxy.pac-url: --
+proxy.pac-script: --
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth0
+GENERAL.STATE: activated
+GENERAL.DEFAULT: nie
+GENERAL.DEFAULT6: nie
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: nie
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-026.expected b/clients/tests/test-client.check-on-disk/test_003-026.expected
index ee60913461..03d957e0a7 100644
--- a/clients/tests/test-client.check-on-disk/test_003-026.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-026.expected
@@ -1,16 +1,19 @@
-location: clients/tests/test-client.py:731:test_003()/26
-cmd: $NMCLI con
-lang: pl_PL.UTF-8
+location: clients/tests/test-client.py:752:test_003()/26
+cmd: $NMCLI -f ALL dev s eth0
+lang: C
returncode: 0
-stdout: 264 bytes
+stdout: 1056 bytes
>>>
-NAME UUID TYPE DEVICE
-ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet eth0
-con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet --
-con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet --
+DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
+eth1 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 -- -- --
+wlan0 wifi unavailable /org/freedesktop/NetworkManager/Devices/3 -- -- --
+wlan1 wifi unavailable /org/freedesktop/NetworkManager/Devices/4 -- -- --
+wlan1 wifi unavailable /org/freedesktop/NetworkManager/Devices/5 -- -- --
+eth0 ethernet unavailable /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
<<<
-stderr: 0 bytes
+stderr: 24 bytes
>>>
+Unknown parameter: eth0
<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-027.expected b/clients/tests/test-client.check-on-disk/test_003-027.expected
index 96924a425a..62109dbf1f 100644
--- a/clients/tests/test-client.check-on-disk/test_003-027.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-027.expected
@@ -1,16 +1,19 @@
-location: clients/tests/test-client.py:734:test_003()/27
-cmd: $NMCLI -f ALL con
-lang: C
+location: clients/tests/test-client.py:752:test_003()/27
+cmd: $NMCLI -f ALL dev s eth0
+lang: pl_PL.UTF-8
returncode: 0
-stdout: 1084 bytes
+stdout: 1061 bytes
>>>
-NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
-ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/3 yes eth0 activated /org/freedesktop/NetworkManager/ActiveConnection/1 --
-con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/1 no -- -- -- --
-con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/2 no -- -- -- --
+DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
+eth1 ethernet niedostępne /org/freedesktop/NetworkManager/Devices/2 -- -- --
+wlan0 wifi niedostępne /org/freedesktop/NetworkManager/Devices/3 -- -- --
+wlan1 wifi niedostępne /org/freedesktop/NetworkManager/Devices/4 -- -- --
+wlan1 wifi niedostępne /org/freedesktop/NetworkManager/Devices/5 -- -- --
+eth0 ethernet niedostępne /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
<<<
-stderr: 0 bytes
+stderr: 24 bytes
>>>
+Nieznany parametr: eth0
<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-028.expected b/clients/tests/test-client.check-on-disk/test_003-028.expected
index 6065d1ea44..f824d83fb0 100644
--- a/clients/tests/test-client.check-on-disk/test_003-028.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-028.expected
@@ -1,13 +1,39 @@
-location: clients/tests/test-client.py:734:test_003()/28
-cmd: $NMCLI -f ALL con
-lang: pl_PL.UTF-8
+location: clients/tests/test-client.py:755:test_003()/28
+cmd: $NMCLI -f ALL dev show eth0
+lang: C
returncode: 0
-stdout: 1088 bytes
+stdout: 1487 bytes
>>>
-NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
-ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/3 tak eth0 aktywowano /org/freedesktop/NetworkManager/ActiveConnection/1 --
-con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/1 nie -- -- -- --
-con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/2 nie -- -- -- --
+GENERAL.DEVICE: eth0
+GENERAL.TYPE: ethernet
+GENERAL.NM-TYPE: NMDeviceEthernet
+GENERAL.VENDOR: --
+GENERAL.PRODUCT: --
+GENERAL.DRIVER: virtual
+GENERAL.DRIVER-VERSION: --
+GENERAL.FIRMWARE-VERSION: --
+GENERAL.HWADDR: 72:41:AB:90:41:5D
+GENERAL.MTU: 0
+GENERAL.STATE: 20 (unavailable)
+GENERAL.REASON: 0 (No reason given)
+GENERAL.UDI: /sys/devices/virtual/eth0
+GENERAL.IP-IFACE: --
+GENERAL.IS-SOFTWARE: no
+GENERAL.NM-MANAGED: yes
+GENERAL.AUTOCONNECT: yes
+GENERAL.FIRMWARE-MISSING: no
+GENERAL.NM-PLUGIN-MISSING: no
+GENERAL.PHYS-PORT-ID: --
+GENERAL.CONNECTION: ethernet
+GENERAL.CON-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.METERED: unknown
+CAPABILITIES.CARRIER-DETECT: no
+CAPABILITIES.SPEED: 100 Mb/s
+CAPABILITIES.IS-SOFTWARE: no
+CAPABILITIES.SRIOV: no
+WIRED-PROPERTIES.CARRIER: off
+CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-029.expected b/clients/tests/test-client.check-on-disk/test_003-029.expected
index ebb89619ad..1e0f96ed94 100644
--- a/clients/tests/test-client.check-on-disk/test_003-029.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-029.expected
@@ -1,87 +1,39 @@
-location: clients/tests/test-client.py:737:test_003()/29
-cmd: $NMCLI -f ALL con s ethernet
-lang: C
+location: clients/tests/test-client.py:755:test_003()/29
+cmd: $NMCLI -f ALL dev show eth0
+lang: pl_PL.UTF-8
returncode: 0
-stdout: 3516 bytes
+stdout: 1510 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: yes
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: no
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: unknown
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: no
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: auto
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: no
-ipv4.ignore-auto-dns: no
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: yes
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: no
-ipv4.may-fail: yes
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: no
-ipv6.ignore-auto-dns: no
-ipv6.never-default: no
-ipv6.may-fail: yes
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: yes
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: no
-proxy.pac-url: --
-proxy.pac-script: --
+GENERAL.DEVICE: eth0
+GENERAL.TYPE: ethernet
+GENERAL.NM-TYPE: NMDeviceEthernet
+GENERAL.VENDOR: --
+GENERAL.PRODUCT: --
+GENERAL.DRIVER: virtual
+GENERAL.DRIVER-VERSION: --
+GENERAL.FIRMWARE-VERSION: --
+GENERAL.HWADDR: 72:41:AB:90:41:5D
+GENERAL.MTU: 0
+GENERAL.STATE: 20 (niedostępne)
+GENERAL.REASON: 0 (Nie podano przyczyny)
+GENERAL.UDI: /sys/devices/virtual/eth0
+GENERAL.IP-IFACE: --
+GENERAL.IS-SOFTWARE: nie
+GENERAL.NM-MANAGED: tak
+GENERAL.AUTOCONNECT: tak
+GENERAL.FIRMWARE-MISSING: nie
+GENERAL.NM-PLUGIN-MISSING: nie
+GENERAL.PHYS-PORT-ID: --
+GENERAL.CONNECTION: ethernet
+GENERAL.CON-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.METERED: nieznane
+CAPABILITIES.CARRIER-DETECT: nie
+CAPABILITIES.SPEED: 100 Mb/s
+CAPABILITIES.IS-SOFTWARE: nie
+CAPABILITIES.SRIOV: nie
+WIRED-PROPERTIES.CARRIER: wyłączone
+CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-030.expected b/clients/tests/test-client.check-on-disk/test_003-030.expected
index adf743d87d..23f45d284b 100644
--- a/clients/tests/test-client.check-on-disk/test_003-030.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-030.expected
@@ -1,87 +1,10 @@
-location: clients/tests/test-client.py:737:test_003()/30
-cmd: $NMCLI -f ALL con s ethernet
-lang: pl_PL.UTF-8
+location: clients/tests/test-client.py:728:test_003()/30
+cmd: $NMCLI con up ethernet ifname eth1
+lang: C
returncode: 0
-stdout: 3534 bytes
+stdout: 106 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: tak
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: nie
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: nieznane
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: nie
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: automatyczne
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: nie
-ipv4.ignore-auto-dns: nie
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: tak
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: nie
-ipv4.may-fail: tak
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: nie
-ipv6.ignore-auto-dns: nie
-ipv6.never-default: nie
-ipv6.may-fail: tak
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: tak
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: nie
-proxy.pac-url: --
-proxy.pac-script: --
+Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-031.expected b/clients/tests/test-client.check-on-disk/test_003-031.expected
index cbf57afcec..5574b1d386 100644
--- a/clients/tests/test-client.check-on-disk/test_003-031.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-031.expected
@@ -1,112 +1,13 @@
-location: clients/tests/test-client.py:740:test_003()/31
-cmd: $NMCLI con s ethernet
+location: clients/tests/test-client.py:731:test_003()/31
+cmd: $NMCLI con
lang: C
returncode: 0
-stdout: 4845 bytes
+stdout: 264 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: yes
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: no
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: unknown
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: no
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: auto
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: no
-ipv4.ignore-auto-dns: no
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: yes
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: no
-ipv4.may-fail: yes
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: no
-ipv6.ignore-auto-dns: no
-ipv6.never-default: no
-ipv6.may-fail: yes
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: yes
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: no
-proxy.pac-url: --
-proxy.pac-script: --
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth0
-GENERAL.STATE: activated
-GENERAL.DEFAULT: no
-GENERAL.DEFAULT6: no
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: no
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
-
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth1
-GENERAL.STATE: activated
-GENERAL.DEFAULT: no
-GENERAL.DEFAULT6: no
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: no
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
+NAME UUID TYPE DEVICE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet eth0
+con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet --
+con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-032.expected b/clients/tests/test-client.check-on-disk/test_003-032.expected
index e5d74a1be9..aebad4026d 100644
--- a/clients/tests/test-client.check-on-disk/test_003-032.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-032.expected
@@ -1,112 +1,13 @@
-location: clients/tests/test-client.py:740:test_003()/32
-cmd: $NMCLI con s ethernet
+location: clients/tests/test-client.py:731:test_003()/32
+cmd: $NMCLI con
lang: pl_PL.UTF-8
returncode: 0
-stdout: 4869 bytes
+stdout: 264 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: tak
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: nie
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: nieznane
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: nie
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: automatyczne
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: nie
-ipv4.ignore-auto-dns: nie
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: tak
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: nie
-ipv4.may-fail: tak
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: nie
-ipv6.ignore-auto-dns: nie
-ipv6.never-default: nie
-ipv6.may-fail: tak
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: tak
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: nie
-proxy.pac-url: --
-proxy.pac-script: --
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth0
-GENERAL.STATE: activated
-GENERAL.DEFAULT: nie
-GENERAL.DEFAULT6: nie
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: nie
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
-
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth1
-GENERAL.STATE: activated
-GENERAL.DEFAULT: nie
-GENERAL.DEFAULT6: nie
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: nie
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
+NAME UUID TYPE DEVICE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet eth0
+con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet --
+con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-033.expected b/clients/tests/test-client.check-on-disk/test_003-033.expected
index 46b70521ae..3290228e46 100644
--- a/clients/tests/test-client.check-on-disk/test_003-033.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-033.expected
@@ -1,19 +1,16 @@
-location: clients/tests/test-client.py:743:test_003()/33
-cmd: $NMCLI -f ALL dev s eth0
+location: clients/tests/test-client.py:734:test_003()/33
+cmd: $NMCLI -f ALL con
lang: C
returncode: 0
-stdout: 1056 bytes
+stdout: 1084 bytes
>>>
-DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
-wlan0 wifi unavailable /org/freedesktop/NetworkManager/Devices/3 -- -- --
-wlan1 wifi unavailable /org/freedesktop/NetworkManager/Devices/4 -- -- --
-wlan1 wifi unavailable /org/freedesktop/NetworkManager/Devices/5 -- -- --
-eth0 ethernet unavailable /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
-eth1 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2
+NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/3 yes eth0 activated /org/freedesktop/NetworkManager/ActiveConnection/1 --
+con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/1 no -- -- -- --
+con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/2 no -- -- -- --
<<<
-stderr: 24 bytes
+stderr: 0 bytes
>>>
-Unknown parameter: eth0
<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-034.expected b/clients/tests/test-client.check-on-disk/test_003-034.expected
index 77cc99fdff..a96aac2d0e 100644
--- a/clients/tests/test-client.check-on-disk/test_003-034.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-034.expected
@@ -1,19 +1,16 @@
-location: clients/tests/test-client.py:743:test_003()/34
-cmd: $NMCLI -f ALL dev s eth0
+location: clients/tests/test-client.py:734:test_003()/34
+cmd: $NMCLI -f ALL con
lang: pl_PL.UTF-8
returncode: 0
-stdout: 1061 bytes
+stdout: 1088 bytes
>>>
-DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
-wlan0 wifi niedostępne /org/freedesktop/NetworkManager/Devices/3 -- -- --
-wlan1 wifi niedostępne /org/freedesktop/NetworkManager/Devices/4 -- -- --
-wlan1 wifi niedostępne /org/freedesktop/NetworkManager/Devices/5 -- -- --
-eth0 ethernet niedostępne /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
-eth1 ethernet niedostępne /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2
+NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/3 tak eth0 aktywowano /org/freedesktop/NetworkManager/ActiveConnection/1 --
+con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/1 nie -- -- -- --
+con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/2 nie -- -- -- --
<<<
-stderr: 24 bytes
+stderr: 0 bytes
>>>
-Nieznany parametr: eth0
<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-035.expected b/clients/tests/test-client.check-on-disk/test_003-035.expected
index ae9286575f..88b693c2c4 100644
--- a/clients/tests/test-client.check-on-disk/test_003-035.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-035.expected
@@ -1,39 +1,11 @@
-location: clients/tests/test-client.py:746:test_003()/35
-cmd: $NMCLI -f ALL dev show eth0
+location: clients/tests/test-client.py:737:test_003()/35
+cmd: $NMCLI -f ALL con s -a
lang: C
returncode: 0
-stdout: 1487 bytes
+stdout: 542 bytes
>>>
-GENERAL.DEVICE: eth0
-GENERAL.TYPE: ethernet
-GENERAL.NM-TYPE: NMDeviceEthernet
-GENERAL.VENDOR: --
-GENERAL.PRODUCT: --
-GENERAL.DRIVER: virtual
-GENERAL.DRIVER-VERSION: --
-GENERAL.FIRMWARE-VERSION: --
-GENERAL.HWADDR: 72:41:AB:90:41:5D
-GENERAL.MTU: 0
-GENERAL.STATE: 20 (unavailable)
-GENERAL.REASON: 0 (No reason given)
-GENERAL.UDI: /sys/devices/virtual/eth0
-GENERAL.IP-IFACE: --
-GENERAL.IS-SOFTWARE: no
-GENERAL.NM-MANAGED: yes
-GENERAL.AUTOCONNECT: yes
-GENERAL.FIRMWARE-MISSING: no
-GENERAL.NM-PLUGIN-MISSING: no
-GENERAL.PHYS-PORT-ID: --
-GENERAL.CONNECTION: ethernet
-GENERAL.CON-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.METERED: unknown
-CAPABILITIES.CARRIER-DETECT: no
-CAPABILITIES.SPEED: 100 Mb/s
-CAPABILITIES.IS-SOFTWARE: no
-CAPABILITIES.SRIOV: no
-WIRED-PROPERTIES.CARRIER: off
-CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
+NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/3 yes eth0 activated /org/freedesktop/NetworkManager/ActiveConnection/1 --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-036.expected b/clients/tests/test-client.check-on-disk/test_003-036.expected
index 11b511f719..f32284df46 100644
--- a/clients/tests/test-client.check-on-disk/test_003-036.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-036.expected
@@ -1,39 +1,11 @@
-location: clients/tests/test-client.py:746:test_003()/36
-cmd: $NMCLI -f ALL dev show eth0
+location: clients/tests/test-client.py:737:test_003()/36
+cmd: $NMCLI -f ALL con s -a
lang: pl_PL.UTF-8
returncode: 0
-stdout: 1510 bytes
+stdout: 544 bytes
>>>
-GENERAL.DEVICE: eth0
-GENERAL.TYPE: ethernet
-GENERAL.NM-TYPE: NMDeviceEthernet
-GENERAL.VENDOR: --
-GENERAL.PRODUCT: --
-GENERAL.DRIVER: virtual
-GENERAL.DRIVER-VERSION: --
-GENERAL.FIRMWARE-VERSION: --
-GENERAL.HWADDR: 72:41:AB:90:41:5D
-GENERAL.MTU: 0
-GENERAL.STATE: 20 (niedostępne)
-GENERAL.REASON: 0 (Nie podano przyczyny)
-GENERAL.UDI: /sys/devices/virtual/eth0
-GENERAL.IP-IFACE: --
-GENERAL.IS-SOFTWARE: nie
-GENERAL.NM-MANAGED: tak
-GENERAL.AUTOCONNECT: tak
-GENERAL.FIRMWARE-MISSING: nie
-GENERAL.NM-PLUGIN-MISSING: nie
-GENERAL.PHYS-PORT-ID: --
-GENERAL.CONNECTION: ethernet
-GENERAL.CON-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.METERED: nieznane
-CAPABILITIES.CARRIER-DETECT: nie
-CAPABILITIES.SPEED: 100 Mb/s
-CAPABILITIES.IS-SOFTWARE: nie
-CAPABILITIES.SRIOV: nie
-WIRED-PROPERTIES.CARRIER: wyłączone
-CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
+NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/3 tak eth0 aktywowano /org/freedesktop/NetworkManager/ActiveConnection/1 --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-037.expected b/clients/tests/test-client.check-on-disk/test_003-037.expected
index 0346b310fc..ca053f7367 100644
--- a/clients/tests/test-client.check-on-disk/test_003-037.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-037.expected
@@ -1,13 +1,11 @@
-location: clients/tests/test-client.py:755:test_003()/37
-cmd: $NMCLI -f ALL con
+location: clients/tests/test-client.py:740:test_003()/37
+cmd: $NMCLI -f ACTIVE-PATH,DEVICE,UUID con s -act
lang: C
returncode: 0
-stdout: 1096 bytes
+stdout: 196 bytes
>>>
-NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
-ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/3 yes eth0 deactivating /org/freedesktop/NetworkManager/ActiveConnection/1 --
-con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/1 no -- -- -- --
-con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/2 no -- -- -- --
+ACTIVE-PATH DEVICE UUID
+/org/freedesktop/NetworkManager/ActiveConnection/1 eth0 UUID-ethernet-REPLACED-REPLACED-REPL
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-038.expected b/clients/tests/test-client.check-on-disk/test_003-038.expected
index 81c7c237d7..3713c83a26 100644
--- a/clients/tests/test-client.check-on-disk/test_003-038.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-038.expected
@@ -1,13 +1,11 @@
-location: clients/tests/test-client.py:755:test_003()/38
-cmd: $NMCLI -f ALL con
+location: clients/tests/test-client.py:740:test_003()/38
+cmd: $NMCLI -f ACTIVE-PATH,DEVICE,UUID con s -act
lang: pl_PL.UTF-8
returncode: 0
-stdout: 1104 bytes
+stdout: 196 bytes
>>>
-NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
-ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/3 tak eth0 dezaktywowanie /org/freedesktop/NetworkManager/ActiveConnection/1 --
-con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/1 nie -- -- -- --
-con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/2 nie -- -- -- --
+ACTIVE-PATH DEVICE UUID
+/org/freedesktop/NetworkManager/ActiveConnection/1 eth0 UUID-ethernet-REPLACED-REPLACED-REPL
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-039.expected b/clients/tests/test-client.check-on-disk/test_003-039.expected
index 3640d0c9d2..60988bf673 100644
--- a/clients/tests/test-client.check-on-disk/test_003-039.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-039.expected
@@ -1,13 +1,11 @@
-location: clients/tests/test-client.py:758:test_003()/39
-cmd: $NMCLI -f UUID,TYPE con
+location: clients/tests/test-client.py:743:test_003()/39
+cmd: $NMCLI -f UUID,NAME con s --active
lang: C
returncode: 0
-stdout: 192 bytes
+stdout: 96 bytes
>>>
-UUID TYPE
+UUID NAME
UUID-ethernet-REPLACED-REPLACED-REPL ethernet
-5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
-UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-040.expected b/clients/tests/test-client.check-on-disk/test_003-040.expected
index fd263f5507..0160b6648f 100644
--- a/clients/tests/test-client.check-on-disk/test_003-040.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-040.expected
@@ -1,13 +1,11 @@
-location: clients/tests/test-client.py:758:test_003()/40
-cmd: $NMCLI -f UUID,TYPE con
+location: clients/tests/test-client.py:743:test_003()/40
+cmd: $NMCLI -f UUID,NAME con s --active
lang: pl_PL.UTF-8
returncode: 0
-stdout: 192 bytes
+stdout: 96 bytes
>>>
-UUID TYPE
+UUID NAME
UUID-ethernet-REPLACED-REPLACED-REPL ethernet
-5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
-UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-041.expected b/clients/tests/test-client.check-on-disk/test_003-041.expected
index f61fb681a0..c27b6aaeb9 100644
--- a/clients/tests/test-client.check-on-disk/test_003-041.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-041.expected
@@ -1,15 +1,87 @@
-location: clients/tests/test-client.py:761:test_003()/41
-cmd: $NMCLI -f UUID,TYPE --mode multiline con
+location: clients/tests/test-client.py:746:test_003()/41
+cmd: $NMCLI -f ALL con s ethernet
lang: C
returncode: 0
-stdout: 378 bytes
+stdout: 3516 bytes
>>>
-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-TYPE: ethernet
-UUID: 5fcfd6d7-1e63-3332-8826-a7eda103792d
-TYPE: ethernet
-UUID: UUID-con-xx1-REPLACED-REPLACED-REPLA
-TYPE: ethernet
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: yes
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: no
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: unknown
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: no
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: auto
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: no
+ipv4.ignore-auto-dns: no
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: yes
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: no
+ipv4.may-fail: yes
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: no
+ipv6.ignore-auto-dns: no
+ipv6.never-default: no
+ipv6.may-fail: yes
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: yes
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: no
+proxy.pac-url: --
+proxy.pac-script: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-042.expected b/clients/tests/test-client.check-on-disk/test_003-042.expected
index 6ea659e9d4..09229c22c2 100644
--- a/clients/tests/test-client.check-on-disk/test_003-042.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-042.expected
@@ -1,15 +1,87 @@
-location: clients/tests/test-client.py:761:test_003()/42
-cmd: $NMCLI -f UUID,TYPE --mode multiline con
+location: clients/tests/test-client.py:746:test_003()/42
+cmd: $NMCLI -f ALL con s ethernet
lang: pl_PL.UTF-8
returncode: 0
-stdout: 378 bytes
+stdout: 3534 bytes
>>>
-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-TYPE: ethernet
-UUID: 5fcfd6d7-1e63-3332-8826-a7eda103792d
-TYPE: ethernet
-UUID: UUID-con-xx1-REPLACED-REPLACED-REPLA
-TYPE: ethernet
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: tak
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: nie
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: nieznane
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: nie
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: automatyczne
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: nie
+ipv4.ignore-auto-dns: nie
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: tak
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: nie
+ipv4.may-fail: tak
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: nie
+ipv6.ignore-auto-dns: nie
+ipv6.never-default: nie
+ipv6.may-fail: tak
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: tak
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: nie
+proxy.pac-url: --
+proxy.pac-script: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-043.expected b/clients/tests/test-client.check-on-disk/test_003-043.expected
index 8f5aeb7049..41ddfcd3c6 100644
--- a/clients/tests/test-client.check-on-disk/test_003-043.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-043.expected
@@ -1,15 +1,112 @@
-location: clients/tests/test-client.py:764:test_003()/43
-cmd: $NMCLI -f UUID,TYPE --mode multiline --terse con
+location: clients/tests/test-client.py:749:test_003()/43
+cmd: $NMCLI con s ethernet
lang: C
returncode: 0
-stdout: 186 bytes
+stdout: 4845 bytes
>>>
-UUID:UUID-ethernet-REPLACED-REPLACED-REPL
-TYPE:802-3-ethernet
-UUID:5fcfd6d7-1e63-3332-8826-a7eda103792d
-TYPE:802-3-ethernet
-UUID:UUID-con-xx1-REPLACED-REPLACED-REPLA
-TYPE:802-3-ethernet
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: yes
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: no
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: unknown
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: no
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: auto
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: no
+ipv4.ignore-auto-dns: no
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: yes
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: no
+ipv4.may-fail: yes
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: no
+ipv6.ignore-auto-dns: no
+ipv6.never-default: no
+ipv6.may-fail: yes
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: yes
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: no
+proxy.pac-url: --
+proxy.pac-script: --
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth0
+GENERAL.STATE: activated
+GENERAL.DEFAULT: no
+GENERAL.DEFAULT6: no
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: no
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
+
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth1
+GENERAL.STATE: activated
+GENERAL.DEFAULT: no
+GENERAL.DEFAULT6: no
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: no
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-044.expected b/clients/tests/test-client.check-on-disk/test_003-044.expected
index fbe01dab80..67fd20782a 100644
--- a/clients/tests/test-client.check-on-disk/test_003-044.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-044.expected
@@ -1,15 +1,112 @@
-location: clients/tests/test-client.py:764:test_003()/44
-cmd: $NMCLI -f UUID,TYPE --mode multiline --terse con
+location: clients/tests/test-client.py:749:test_003()/44
+cmd: $NMCLI con s ethernet
lang: pl_PL.UTF-8
returncode: 0
-stdout: 186 bytes
+stdout: 4869 bytes
>>>
-UUID:UUID-ethernet-REPLACED-REPLACED-REPL
-TYPE:802-3-ethernet
-UUID:5fcfd6d7-1e63-3332-8826-a7eda103792d
-TYPE:802-3-ethernet
-UUID:UUID-con-xx1-REPLACED-REPLACED-REPLA
-TYPE:802-3-ethernet
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: tak
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: nie
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: nieznane
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: nie
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: automatyczne
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: nie
+ipv4.ignore-auto-dns: nie
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: tak
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: nie
+ipv4.may-fail: tak
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: nie
+ipv6.ignore-auto-dns: nie
+ipv6.never-default: nie
+ipv6.may-fail: tak
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: tak
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: nie
+proxy.pac-url: --
+proxy.pac-script: --
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth0
+GENERAL.STATE: activated
+GENERAL.DEFAULT: nie
+GENERAL.DEFAULT6: nie
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: nie
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
+
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth1
+GENERAL.STATE: activated
+GENERAL.DEFAULT: nie
+GENERAL.DEFAULT6: nie
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: nie
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-045.expected b/clients/tests/test-client.check-on-disk/test_003-045.expected
index 5759e2f429..4545fcfa4e 100644
--- a/clients/tests/test-client.check-on-disk/test_003-045.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-045.expected
@@ -1,24 +1,19 @@
-location: clients/tests/test-client.py:767:test_003()/45
-cmd: $NMCLI -f UUID,TYPE --mode multiline --pretty con
+location: clients/tests/test-client.py:752:test_003()/45
+cmd: $NMCLI -f ALL dev s eth0
lang: C
returncode: 0
-stdout: 835 bytes
+stdout: 1056 bytes
>>>
-===============================================================================
- NetworkManager connection profiles
-===============================================================================
-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-TYPE: ethernet
--------------------------------------------------------------------------------
-UUID: 5fcfd6d7-1e63-3332-8826-a7eda103792d
-TYPE: ethernet
--------------------------------------------------------------------------------
-UUID: UUID-con-xx1-REPLACED-REPLACED-REPLA
-TYPE: ethernet
--------------------------------------------------------------------------------
+DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
+wlan0 wifi unavailable /org/freedesktop/NetworkManager/Devices/3 -- -- --
+wlan1 wifi unavailable /org/freedesktop/NetworkManager/Devices/4 -- -- --
+wlan1 wifi unavailable /org/freedesktop/NetworkManager/Devices/5 -- -- --
+eth0 ethernet unavailable /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
+eth1 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2
<<<
-stderr: 0 bytes
+stderr: 24 bytes
>>>
+Unknown parameter: eth0
<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-046.expected b/clients/tests/test-client.check-on-disk/test_003-046.expected
index d853d48743..628383d789 100644
--- a/clients/tests/test-client.check-on-disk/test_003-046.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-046.expected
@@ -1,24 +1,19 @@
-location: clients/tests/test-client.py:767:test_003()/46
-cmd: $NMCLI -f UUID,TYPE --mode multiline --pretty con
+location: clients/tests/test-client.py:752:test_003()/46
+cmd: $NMCLI -f ALL dev s eth0
lang: pl_PL.UTF-8
returncode: 0
-stdout: 841 bytes
+stdout: 1061 bytes
>>>
-===============================================================================
- Profile połączeń usługi NetworkManager
-===============================================================================
-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-TYPE: ethernet
--------------------------------------------------------------------------------
-UUID: 5fcfd6d7-1e63-3332-8826-a7eda103792d
-TYPE: ethernet
--------------------------------------------------------------------------------
-UUID: UUID-con-xx1-REPLACED-REPLACED-REPLA
-TYPE: ethernet
--------------------------------------------------------------------------------
+DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
+wlan0 wifi niedostępne /org/freedesktop/NetworkManager/Devices/3 -- -- --
+wlan1 wifi niedostępne /org/freedesktop/NetworkManager/Devices/4 -- -- --
+wlan1 wifi niedostępne /org/freedesktop/NetworkManager/Devices/5 -- -- --
+eth0 ethernet niedostępne /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
+eth1 ethernet niedostępne /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2
<<<
-stderr: 0 bytes
+stderr: 24 bytes
>>>
+Nieznany parametr: eth0
<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-047.expected b/clients/tests/test-client.check-on-disk/test_003-047.expected
index 6522c7b20e..0b8013ffa9 100644
--- a/clients/tests/test-client.check-on-disk/test_003-047.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-047.expected
@@ -1,13 +1,39 @@
-location: clients/tests/test-client.py:770:test_003()/47
-cmd: $NMCLI -f UUID,TYPE --mode tabular con
+location: clients/tests/test-client.py:755:test_003()/47
+cmd: $NMCLI -f ALL dev show eth0
lang: C
returncode: 0
-stdout: 192 bytes
+stdout: 1487 bytes
>>>
-UUID TYPE
-UUID-ethernet-REPLACED-REPLACED-REPL ethernet
-5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
-UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
+GENERAL.DEVICE: eth0
+GENERAL.TYPE: ethernet
+GENERAL.NM-TYPE: NMDeviceEthernet
+GENERAL.VENDOR: --
+GENERAL.PRODUCT: --
+GENERAL.DRIVER: virtual
+GENERAL.DRIVER-VERSION: --
+GENERAL.FIRMWARE-VERSION: --
+GENERAL.HWADDR: 72:41:AB:90:41:5D
+GENERAL.MTU: 0
+GENERAL.STATE: 20 (unavailable)
+GENERAL.REASON: 0 (No reason given)
+GENERAL.UDI: /sys/devices/virtual/eth0
+GENERAL.IP-IFACE: --
+GENERAL.IS-SOFTWARE: no
+GENERAL.NM-MANAGED: yes
+GENERAL.AUTOCONNECT: yes
+GENERAL.FIRMWARE-MISSING: no
+GENERAL.NM-PLUGIN-MISSING: no
+GENERAL.PHYS-PORT-ID: --
+GENERAL.CONNECTION: ethernet
+GENERAL.CON-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.METERED: unknown
+CAPABILITIES.CARRIER-DETECT: no
+CAPABILITIES.SPEED: 100 Mb/s
+CAPABILITIES.IS-SOFTWARE: no
+CAPABILITIES.SRIOV: no
+WIRED-PROPERTIES.CARRIER: off
+CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-048.expected b/clients/tests/test-client.check-on-disk/test_003-048.expected
index 08d3ae95c0..86a80ab378 100644
--- a/clients/tests/test-client.check-on-disk/test_003-048.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-048.expected
@@ -1,13 +1,39 @@
-location: clients/tests/test-client.py:770:test_003()/48
-cmd: $NMCLI -f UUID,TYPE --mode tabular con
+location: clients/tests/test-client.py:755:test_003()/48
+cmd: $NMCLI -f ALL dev show eth0
lang: pl_PL.UTF-8
returncode: 0
-stdout: 192 bytes
+stdout: 1510 bytes
>>>
-UUID TYPE
-UUID-ethernet-REPLACED-REPLACED-REPL ethernet
-5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
-UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
+GENERAL.DEVICE: eth0
+GENERAL.TYPE: ethernet
+GENERAL.NM-TYPE: NMDeviceEthernet
+GENERAL.VENDOR: --
+GENERAL.PRODUCT: --
+GENERAL.DRIVER: virtual
+GENERAL.DRIVER-VERSION: --
+GENERAL.FIRMWARE-VERSION: --
+GENERAL.HWADDR: 72:41:AB:90:41:5D
+GENERAL.MTU: 0
+GENERAL.STATE: 20 (niedostępne)
+GENERAL.REASON: 0 (Nie podano przyczyny)
+GENERAL.UDI: /sys/devices/virtual/eth0
+GENERAL.IP-IFACE: --
+GENERAL.IS-SOFTWARE: nie
+GENERAL.NM-MANAGED: tak
+GENERAL.AUTOCONNECT: tak
+GENERAL.FIRMWARE-MISSING: nie
+GENERAL.NM-PLUGIN-MISSING: nie
+GENERAL.PHYS-PORT-ID: --
+GENERAL.CONNECTION: ethernet
+GENERAL.CON-UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.METERED: nieznane
+CAPABILITIES.CARRIER-DETECT: nie
+CAPABILITIES.SPEED: 100 Mb/s
+CAPABILITIES.IS-SOFTWARE: nie
+CAPABILITIES.SRIOV: nie
+WIRED-PROPERTIES.CARRIER: wyłączone
+CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-049.expected b/clients/tests/test-client.check-on-disk/test_003-049.expected
index 3f8f30602a..4ca02a71a2 100644
--- a/clients/tests/test-client.check-on-disk/test_003-049.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-049.expected
@@ -1,12 +1,13 @@
-location: clients/tests/test-client.py:773:test_003()/49
-cmd: $NMCLI -f UUID,TYPE --mode tabular --terse con
+location: clients/tests/test-client.py:764:test_003()/49
+cmd: $NMCLI -f ALL con
lang: C
returncode: 0
-stdout: 156 bytes
+stdout: 1096 bytes
>>>
-UUID-ethernet-REPLACED-REPLACED-REPL:802-3-ethernet
-5fcfd6d7-1e63-3332-8826-a7eda103792d:802-3-ethernet
-UUID-con-xx1-REPLACED-REPLACED-REPLA:802-3-ethernet
+NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/3 yes eth0 deactivating /org/freedesktop/NetworkManager/ActiveConnection/1 --
+con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/1 no -- -- -- --
+con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet 0 never yes 0 no /org/freedesktop/NetworkManager/Settings/Connection/2 no -- -- -- --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-050.expected b/clients/tests/test-client.check-on-disk/test_003-050.expected
index dea01fd2c0..94f73ccf01 100644
--- a/clients/tests/test-client.check-on-disk/test_003-050.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-050.expected
@@ -1,12 +1,13 @@
-location: clients/tests/test-client.py:773:test_003()/50
-cmd: $NMCLI -f UUID,TYPE --mode tabular --terse con
+location: clients/tests/test-client.py:764:test_003()/50
+cmd: $NMCLI -f ALL con
lang: pl_PL.UTF-8
returncode: 0
-stdout: 156 bytes
+stdout: 1104 bytes
>>>
-UUID-ethernet-REPLACED-REPLACED-REPL:802-3-ethernet
-5fcfd6d7-1e63-3332-8826-a7eda103792d:802-3-ethernet
-UUID-con-xx1-REPLACED-REPLACED-REPLA:802-3-ethernet
+NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
+ethernet UUID-ethernet-REPLACED-REPLACED-REPL ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/3 tak eth0 dezaktywowanie /org/freedesktop/NetworkManager/ActiveConnection/1 --
+con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/1 nie -- -- -- --
+con-xx1 UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet 0 nigdy tak 0 nie /org/freedesktop/NetworkManager/Settings/Connection/2 nie -- -- -- --
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-051.expected b/clients/tests/test-client.check-on-disk/test_003-051.expected
index 7e4dd471cf..1e411624b3 100644
--- a/clients/tests/test-client.check-on-disk/test_003-051.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-051.expected
@@ -1,14 +1,10 @@
-location: clients/tests/test-client.py:776:test_003()/51
-cmd: $NMCLI -f UUID,TYPE --mode tabular --pretty con
+location: clients/tests/test-client.py:767:test_003()/51
+cmd: $NMCLI -f UUID,TYPE con
lang: C
returncode: 0
-stdout: 394 bytes
+stdout: 192 bytes
>>>
-======================================
- NetworkManager connection profiles
-======================================
UUID TYPE
---------------------------------------------------------------------------------------
UUID-ethernet-REPLACED-REPLACED-REPL ethernet
5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
diff --git a/clients/tests/test-client.check-on-disk/test_003-052.expected b/clients/tests/test-client.check-on-disk/test_003-052.expected
index 3d6c2ecacc..1b35cce420 100644
--- a/clients/tests/test-client.check-on-disk/test_003-052.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-052.expected
@@ -1,14 +1,10 @@
-location: clients/tests/test-client.py:776:test_003()/52
-cmd: $NMCLI -f UUID,TYPE --mode tabular --pretty con
+location: clients/tests/test-client.py:767:test_003()/52
+cmd: $NMCLI -f UUID,TYPE con
lang: pl_PL.UTF-8
returncode: 0
-stdout: 414 bytes
+stdout: 192 bytes
>>>
-==========================================
- Profile połączeń usługi NetworkManager
-==========================================
UUID TYPE
-------------------------------------------------------------------------------------------
UUID-ethernet-REPLACED-REPLACED-REPL ethernet
5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
diff --git a/clients/tests/test-client.check-on-disk/test_003-053.expected b/clients/tests/test-client.check-on-disk/test_003-053.expected
index dd92ec686a..344e5137c8 100644
--- a/clients/tests/test-client.check-on-disk/test_003-053.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-053.expected
@@ -1,112 +1,15 @@
-location: clients/tests/test-client.py:779:test_003()/53
-cmd: $NMCLI con s ethernet
+location: clients/tests/test-client.py:770:test_003()/53
+cmd: $NMCLI -f UUID,TYPE --mode multiline con
lang: C
returncode: 0
-stdout: 4848 bytes
+stdout: 378 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: yes
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: no
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: unknown
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: no
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: auto
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: no
-ipv4.ignore-auto-dns: no
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: yes
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: no
-ipv4.may-fail: yes
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: no
-ipv6.ignore-auto-dns: no
-ipv6.never-default: no
-ipv6.may-fail: yes
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: yes
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: no
-proxy.pac-url: --
-proxy.pac-script: --
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth0
-GENERAL.STATE: deactivating
-GENERAL.DEFAULT: no
-GENERAL.DEFAULT6: no
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: no
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
-
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth1
-GENERAL.STATE: activated
-GENERAL.DEFAULT: no
-GENERAL.DEFAULT6: no
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: no
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
+UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+TYPE: ethernet
+UUID: 5fcfd6d7-1e63-3332-8826-a7eda103792d
+TYPE: ethernet
+UUID: UUID-con-xx1-REPLACED-REPLACED-REPLA
+TYPE: ethernet
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-054.expected b/clients/tests/test-client.check-on-disk/test_003-054.expected
index 7379f872c6..3fc40383db 100644
--- a/clients/tests/test-client.check-on-disk/test_003-054.expected
+++ b/clients/tests/test-client.check-on-disk/test_003-054.expected
@@ -1,112 +1,15 @@
-location: clients/tests/test-client.py:779:test_003()/54
-cmd: $NMCLI con s ethernet
+location: clients/tests/test-client.py:770:test_003()/54
+cmd: $NMCLI -f UUID,TYPE --mode multiline con
lang: pl_PL.UTF-8
returncode: 0
-stdout: 4872 bytes
+stdout: 378 bytes
>>>
-connection.id: ethernet
-connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
-connection.stable-id: --
-connection.type: 802-3-ethernet
-connection.interface-name: --
-connection.autoconnect: tak
-connection.autoconnect-priority: 0
-connection.autoconnect-retries: -1 (default)
-connection.auth-retries: -1
-connection.timestamp: 0
-connection.read-only: nie
-connection.permissions: --
-connection.zone: --
-connection.master: --
-connection.slave-type: --
-connection.autoconnect-slaves: -1 (default)
-connection.secondaries: --
-connection.gateway-ping-timeout: 0
-connection.metered: nieznane
-connection.lldp: default
-connection.mdns: -1 (default)
-802-3-ethernet.port: --
-802-3-ethernet.speed: 0
-802-3-ethernet.duplex: --
-802-3-ethernet.auto-negotiate: nie
-802-3-ethernet.mac-address: --
-802-3-ethernet.cloned-mac-address: --
-802-3-ethernet.generate-mac-address-mask:--
-802-3-ethernet.mac-address-blacklist: --
-802-3-ethernet.mtu: automatyczne
-802-3-ethernet.s390-subchannels: --
-802-3-ethernet.s390-nettype: --
-802-3-ethernet.s390-options: --
-802-3-ethernet.wake-on-lan: default
-802-3-ethernet.wake-on-lan-password: --
-ipv4.method: auto
-ipv4.dns: --
-ipv4.dns-search: --
-ipv4.dns-options: ""
-ipv4.dns-priority: 0
-ipv4.addresses: --
-ipv4.gateway: --
-ipv4.routes: --
-ipv4.route-metric: -1
-ipv4.route-table: 0 (unspec)
-ipv4.ignore-auto-routes: nie
-ipv4.ignore-auto-dns: nie
-ipv4.dhcp-client-id: --
-ipv4.dhcp-timeout: 0 (default)
-ipv4.dhcp-send-hostname: tak
-ipv4.dhcp-hostname: --
-ipv4.dhcp-fqdn: --
-ipv4.never-default: nie
-ipv4.may-fail: tak
-ipv4.dad-timeout: -1 (default)
-ipv6.method: auto
-ipv6.dns: --
-ipv6.dns-search: --
-ipv6.dns-options: ""
-ipv6.dns-priority: 0
-ipv6.addresses: --
-ipv6.gateway: --
-ipv6.routes: --
-ipv6.route-metric: -1
-ipv6.route-table: 0 (unspec)
-ipv6.ignore-auto-routes: nie
-ipv6.ignore-auto-dns: nie
-ipv6.never-default: nie
-ipv6.may-fail: tak
-ipv6.ip6-privacy: -1 (unknown)
-ipv6.addr-gen-mode: stable-privacy
-ipv6.dhcp-send-hostname: tak
-ipv6.dhcp-hostname: --
-ipv6.token: --
-proxy.method: none
-proxy.browser-only: nie
-proxy.pac-url: --
-proxy.pac-script: --
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth0
-GENERAL.STATE: deactivating
-GENERAL.DEFAULT: nie
-GENERAL.DEFAULT6: nie
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: nie
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
-
-GENERAL.NAME: ethernet
-GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
-GENERAL.DEVICES: eth1
-GENERAL.STATE: activated
-GENERAL.DEFAULT: nie
-GENERAL.DEFAULT6: nie
-GENERAL.SPEC-OBJECT: --
-GENERAL.VPN: nie
-GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
-GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
-GENERAL.ZONE: --
-GENERAL.MASTER-PATH: --
+UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+TYPE: ethernet
+UUID: 5fcfd6d7-1e63-3332-8826-a7eda103792d
+TYPE: ethernet
+UUID: UUID-con-xx1-REPLACED-REPLACED-REPLA
+TYPE: ethernet
<<<
stderr: 0 bytes
diff --git a/clients/tests/test-client.check-on-disk/test_003-055.expected b/clients/tests/test-client.check-on-disk/test_003-055.expected
new file mode 100644
index 0000000000..b7127fe633
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-055.expected
@@ -0,0 +1,18 @@
+location: clients/tests/test-client.py:773:test_003()/55
+cmd: $NMCLI -f UUID,TYPE --mode multiline --terse con
+lang: C
+returncode: 0
+stdout: 186 bytes
+>>>
+UUID:UUID-ethernet-REPLACED-REPLACED-REPL
+TYPE:802-3-ethernet
+UUID:5fcfd6d7-1e63-3332-8826-a7eda103792d
+TYPE:802-3-ethernet
+UUID:UUID-con-xx1-REPLACED-REPLACED-REPLA
+TYPE:802-3-ethernet
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-056.expected b/clients/tests/test-client.check-on-disk/test_003-056.expected
new file mode 100644
index 0000000000..5fd2903f93
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-056.expected
@@ -0,0 +1,18 @@
+location: clients/tests/test-client.py:773:test_003()/56
+cmd: $NMCLI -f UUID,TYPE --mode multiline --terse con
+lang: pl_PL.UTF-8
+returncode: 0
+stdout: 186 bytes
+>>>
+UUID:UUID-ethernet-REPLACED-REPLACED-REPL
+TYPE:802-3-ethernet
+UUID:5fcfd6d7-1e63-3332-8826-a7eda103792d
+TYPE:802-3-ethernet
+UUID:UUID-con-xx1-REPLACED-REPLACED-REPLA
+TYPE:802-3-ethernet
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-057.expected b/clients/tests/test-client.check-on-disk/test_003-057.expected
new file mode 100644
index 0000000000..97beb7cc13
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-057.expected
@@ -0,0 +1,24 @@
+location: clients/tests/test-client.py:776:test_003()/57
+cmd: $NMCLI -f UUID,TYPE --mode multiline --pretty con
+lang: C
+returncode: 0
+stdout: 835 bytes
+>>>
+===============================================================================
+ NetworkManager connection profiles
+===============================================================================
+UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+TYPE: ethernet
+-------------------------------------------------------------------------------
+UUID: 5fcfd6d7-1e63-3332-8826-a7eda103792d
+TYPE: ethernet
+-------------------------------------------------------------------------------
+UUID: UUID-con-xx1-REPLACED-REPLACED-REPLA
+TYPE: ethernet
+-------------------------------------------------------------------------------
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-058.expected b/clients/tests/test-client.check-on-disk/test_003-058.expected
new file mode 100644
index 0000000000..9992a2d8a4
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-058.expected
@@ -0,0 +1,24 @@
+location: clients/tests/test-client.py:776:test_003()/58
+cmd: $NMCLI -f UUID,TYPE --mode multiline --pretty con
+lang: pl_PL.UTF-8
+returncode: 0
+stdout: 841 bytes
+>>>
+===============================================================================
+ Profile połączeń usługi NetworkManager
+===============================================================================
+UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+TYPE: ethernet
+-------------------------------------------------------------------------------
+UUID: 5fcfd6d7-1e63-3332-8826-a7eda103792d
+TYPE: ethernet
+-------------------------------------------------------------------------------
+UUID: UUID-con-xx1-REPLACED-REPLACED-REPLA
+TYPE: ethernet
+-------------------------------------------------------------------------------
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-059.expected b/clients/tests/test-client.check-on-disk/test_003-059.expected
new file mode 100644
index 0000000000..c8ba8072b8
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-059.expected
@@ -0,0 +1,16 @@
+location: clients/tests/test-client.py:779:test_003()/59
+cmd: $NMCLI -f UUID,TYPE --mode tabular con
+lang: C
+returncode: 0
+stdout: 192 bytes
+>>>
+UUID TYPE
+UUID-ethernet-REPLACED-REPLACED-REPL ethernet
+5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
+UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-060.expected b/clients/tests/test-client.check-on-disk/test_003-060.expected
new file mode 100644
index 0000000000..a73eb11c88
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-060.expected
@@ -0,0 +1,16 @@
+location: clients/tests/test-client.py:779:test_003()/60
+cmd: $NMCLI -f UUID,TYPE --mode tabular con
+lang: pl_PL.UTF-8
+returncode: 0
+stdout: 192 bytes
+>>>
+UUID TYPE
+UUID-ethernet-REPLACED-REPLACED-REPL ethernet
+5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
+UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-061.expected b/clients/tests/test-client.check-on-disk/test_003-061.expected
new file mode 100644
index 0000000000..7ed41d0b61
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-061.expected
@@ -0,0 +1,15 @@
+location: clients/tests/test-client.py:782:test_003()/61
+cmd: $NMCLI -f UUID,TYPE --mode tabular --terse con
+lang: C
+returncode: 0
+stdout: 156 bytes
+>>>
+UUID-ethernet-REPLACED-REPLACED-REPL:802-3-ethernet
+5fcfd6d7-1e63-3332-8826-a7eda103792d:802-3-ethernet
+UUID-con-xx1-REPLACED-REPLACED-REPLA:802-3-ethernet
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-062.expected b/clients/tests/test-client.check-on-disk/test_003-062.expected
new file mode 100644
index 0000000000..cf7f3378b8
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-062.expected
@@ -0,0 +1,15 @@
+location: clients/tests/test-client.py:782:test_003()/62
+cmd: $NMCLI -f UUID,TYPE --mode tabular --terse con
+lang: pl_PL.UTF-8
+returncode: 0
+stdout: 156 bytes
+>>>
+UUID-ethernet-REPLACED-REPLACED-REPL:802-3-ethernet
+5fcfd6d7-1e63-3332-8826-a7eda103792d:802-3-ethernet
+UUID-con-xx1-REPLACED-REPLACED-REPLA:802-3-ethernet
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-063.expected b/clients/tests/test-client.check-on-disk/test_003-063.expected
new file mode 100644
index 0000000000..1d46e678cd
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-063.expected
@@ -0,0 +1,20 @@
+location: clients/tests/test-client.py:785:test_003()/63
+cmd: $NMCLI -f UUID,TYPE --mode tabular --pretty con
+lang: C
+returncode: 0
+stdout: 394 bytes
+>>>
+======================================
+ NetworkManager connection profiles
+======================================
+UUID TYPE
+--------------------------------------------------------------------------------------
+UUID-ethernet-REPLACED-REPLACED-REPL ethernet
+5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
+UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-064.expected b/clients/tests/test-client.check-on-disk/test_003-064.expected
new file mode 100644
index 0000000000..8bb2133e6c
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-064.expected
@@ -0,0 +1,20 @@
+location: clients/tests/test-client.py:785:test_003()/64
+cmd: $NMCLI -f UUID,TYPE --mode tabular --pretty con
+lang: pl_PL.UTF-8
+returncode: 0
+stdout: 414 bytes
+>>>
+==========================================
+ Profile połączeń usługi NetworkManager
+==========================================
+UUID TYPE
+------------------------------------------------------------------------------------------
+UUID-ethernet-REPLACED-REPLACED-REPL ethernet
+5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
+UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-065.expected b/clients/tests/test-client.check-on-disk/test_003-065.expected
new file mode 100644
index 0000000000..839ceb4ae0
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-065.expected
@@ -0,0 +1,115 @@
+location: clients/tests/test-client.py:788:test_003()/65
+cmd: $NMCLI con s ethernet
+lang: C
+returncode: 0
+stdout: 4848 bytes
+>>>
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: yes
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: no
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: unknown
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: no
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: auto
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: no
+ipv4.ignore-auto-dns: no
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: yes
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: no
+ipv4.may-fail: yes
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: no
+ipv6.ignore-auto-dns: no
+ipv6.never-default: no
+ipv6.may-fail: yes
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: yes
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: no
+proxy.pac-url: --
+proxy.pac-script: --
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth0
+GENERAL.STATE: deactivating
+GENERAL.DEFAULT: no
+GENERAL.DEFAULT6: no
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: no
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
+
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth1
+GENERAL.STATE: activated
+GENERAL.DEFAULT: no
+GENERAL.DEFAULT6: no
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: no
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_003-066.expected b/clients/tests/test-client.check-on-disk/test_003-066.expected
new file mode 100644
index 0000000000..92eed2c372
--- /dev/null
+++ b/clients/tests/test-client.check-on-disk/test_003-066.expected
@@ -0,0 +1,115 @@
+location: clients/tests/test-client.py:788:test_003()/66
+cmd: $NMCLI con s ethernet
+lang: pl_PL.UTF-8
+returncode: 0
+stdout: 4872 bytes
+>>>
+connection.id: ethernet
+connection.uuid: UUID-ethernet-REPLACED-REPLACED-REPL
+connection.stable-id: --
+connection.type: 802-3-ethernet
+connection.interface-name: --
+connection.autoconnect: tak
+connection.autoconnect-priority: 0
+connection.autoconnect-retries: -1 (default)
+connection.auth-retries: -1
+connection.timestamp: 0
+connection.read-only: nie
+connection.permissions: --
+connection.zone: --
+connection.master: --
+connection.slave-type: --
+connection.autoconnect-slaves: -1 (default)
+connection.secondaries: --
+connection.gateway-ping-timeout: 0
+connection.metered: nieznane
+connection.lldp: default
+connection.mdns: -1 (default)
+802-3-ethernet.port: --
+802-3-ethernet.speed: 0
+802-3-ethernet.duplex: --
+802-3-ethernet.auto-negotiate: nie
+802-3-ethernet.mac-address: --
+802-3-ethernet.cloned-mac-address: --
+802-3-ethernet.generate-mac-address-mask:--
+802-3-ethernet.mac-address-blacklist: --
+802-3-ethernet.mtu: automatyczne
+802-3-ethernet.s390-subchannels: --
+802-3-ethernet.s390-nettype: --
+802-3-ethernet.s390-options: --
+802-3-ethernet.wake-on-lan: default
+802-3-ethernet.wake-on-lan-password: --
+ipv4.method: auto
+ipv4.dns: --
+ipv4.dns-search: --
+ipv4.dns-options: ""
+ipv4.dns-priority: 0
+ipv4.addresses: --
+ipv4.gateway: --
+ipv4.routes: --
+ipv4.route-metric: -1
+ipv4.route-table: 0 (unspec)
+ipv4.ignore-auto-routes: nie
+ipv4.ignore-auto-dns: nie
+ipv4.dhcp-client-id: --
+ipv4.dhcp-timeout: 0 (default)
+ipv4.dhcp-send-hostname: tak
+ipv4.dhcp-hostname: --
+ipv4.dhcp-fqdn: --
+ipv4.never-default: nie
+ipv4.may-fail: tak
+ipv4.dad-timeout: -1 (default)
+ipv6.method: auto
+ipv6.dns: --
+ipv6.dns-search: --
+ipv6.dns-options: ""
+ipv6.dns-priority: 0
+ipv6.addresses: --
+ipv6.gateway: --
+ipv6.routes: --
+ipv6.route-metric: -1
+ipv6.route-table: 0 (unspec)
+ipv6.ignore-auto-routes: nie
+ipv6.ignore-auto-dns: nie
+ipv6.never-default: nie
+ipv6.may-fail: tak
+ipv6.ip6-privacy: -1 (unknown)
+ipv6.addr-gen-mode: stable-privacy
+ipv6.dhcp-send-hostname: tak
+ipv6.dhcp-hostname: --
+ipv6.token: --
+proxy.method: none
+proxy.browser-only: nie
+proxy.pac-url: --
+proxy.pac-script: --
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth0
+GENERAL.STATE: deactivating
+GENERAL.DEFAULT: nie
+GENERAL.DEFAULT6: nie
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: nie
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
+
+GENERAL.NAME: ethernet
+GENERAL.UUID: UUID-ethernet-REPLACED-REPLACED-REPL
+GENERAL.DEVICES: eth1
+GENERAL.STATE: activated
+GENERAL.DEFAULT: nie
+GENERAL.DEFAULT6: nie
+GENERAL.SPEC-OBJECT: --
+GENERAL.VPN: nie
+GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
+GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/Connection/3
+GENERAL.ZONE: --
+GENERAL.MASTER-PATH: --
+
+<<<
+stderr: 0 bytes
+>>>
+
+<<<
diff --git a/clients/tests/test-client.check-on-disk/test_004-001.expected b/clients/tests/test-client.check-on-disk/test_004-001.expected
index 0723731d1f..ab01dd6a3d 100644
--- a/clients/tests/test-client.check-on-disk/test_004-001.expected
+++ b/clients/tests/test-client.check-on-disk/test_004-001.expected
@@ -1,4 +1,4 @@
-location: clients/tests/test-client.py:789:test_004()/1
+location: clients/tests/test-client.py:798:test_004()/1
cmd: $NMCLI c add type wifi ifname '*' ssid foobar con-name con-xx1
lang: C
returncode: 0
diff --git a/clients/tests/test-client.check-on-disk/test_004-002.expected b/clients/tests/test-client.check-on-disk/test_004-002.expected
index 37c88812da..856faaffcd 100644
--- a/clients/tests/test-client.check-on-disk/test_004-002.expected
+++ b/clients/tests/test-client.check-on-disk/test_004-002.expected
@@ -1,4 +1,4 @@
-location: clients/tests/test-client.py:791:test_004()/2
+location: clients/tests/test-client.py:800:test_004()/2
cmd: $NMCLI connection mod con-xx1 ip.gateway ''
lang: C
returncode: 2
diff --git a/clients/tests/test-client.check-on-disk/test_004-003.expected b/clients/tests/test-client.check-on-disk/test_004-003.expected
index e76bb0bf11..e86635447d 100644
--- a/clients/tests/test-client.check-on-disk/test_004-003.expected
+++ b/clients/tests/test-client.check-on-disk/test_004-003.expected
@@ -1,4 +1,4 @@
-location: clients/tests/test-client.py:792:test_004()/3
+location: clients/tests/test-client.py:801:test_004()/3
cmd: $NMCLI connection mod con-xx1 ipv4.gateway 172.16.0.1
lang: C
returncode: 0
diff --git a/clients/tests/test-client.check-on-disk/test_004-004.expected b/clients/tests/test-client.check-on-disk/test_004-004.expected
index 17233cd113..3b4ef64ba4 100644
--- a/clients/tests/test-client.check-on-disk/test_004-004.expected
+++ b/clients/tests/test-client.check-on-disk/test_004-004.expected
@@ -1,4 +1,4 @@
-location: clients/tests/test-client.py:793:test_004()/4
+location: clients/tests/test-client.py:802:test_004()/4
cmd: $NMCLI connection mod con-xx1 ipv6.gateway ::99
lang: C
returncode: 0
diff --git a/clients/tests/test-client.check-on-disk/test_004-005.expected b/clients/tests/test-client.check-on-disk/test_004-005.expected
index a4b0a592dc..512ab81973 100644
--- a/clients/tests/test-client.check-on-disk/test_004-005.expected
+++ b/clients/tests/test-client.check-on-disk/test_004-005.expected
@@ -1,4 +1,4 @@
-location: clients/tests/test-client.py:794:test_004()/5
+location: clients/tests/test-client.py:803:test_004()/5
cmd: $NMCLI connection mod con-xx1 802.abc ''
lang: C
returncode: 2
diff --git a/clients/tests/test-client.check-on-disk/test_004-006.expected b/clients/tests/test-client.check-on-disk/test_004-006.expected
index 9fd5fe42de..3ac5a4ff11 100644
--- a/clients/tests/test-client.check-on-disk/test_004-006.expected
+++ b/clients/tests/test-client.check-on-disk/test_004-006.expected
@@ -1,4 +1,4 @@
-location: clients/tests/test-client.py:795:test_004()/6
+location: clients/tests/test-client.py:804:test_004()/6
cmd: $NMCLI connection mod con-xx1 802-11-wireless.band a
lang: C
returncode: 0
diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py
index a8e107a0a2..51dd5cec3d 100755
--- a/clients/tests/test-client.py
+++ b/clients/tests/test-client.py
@@ -733,6 +733,15 @@ class TestNmcli(NmTestBase):
self.call_nmcli_l(['-f', 'ALL', 'con'],
replace_stdout = replace_stdout)
+ self.call_nmcli_l(['-f', 'ALL', 'con', 's', '-a'],
+ replace_stdout = replace_stdout)
+
+ self.call_nmcli_l(['-f', 'ACTIVE-PATH,DEVICE,UUID', 'con', 's', '-act'],
+ replace_stdout = replace_stdout)
+
+ self.call_nmcli_l(['-f', 'UUID,NAME', 'con', 's', '--active'],
+ replace_stdout = replace_stdout)
+
self.call_nmcli_l(['-f', 'ALL', 'con', 's', 'ethernet'],
replace_stdout = replace_stdout)