test/nm-service: default the devices to DISCONNETED not UNAVAILABLE

It is a little odd that client tests connect "UNAVAILABLE" devices, and
the devices return to "DISCONNECTED" after deactivation.

It differs from what happens in reality, and some client tools
(hey nm-cloud-setup) can break when they rightly assume that the
device is not ready for activation when it's "UNAVAILABLE" not
"DISCONNECTED".
This commit is contained in:
Lubomir Rintel
2025-04-10 11:07:41 +02:00
parent 548e27ef5f
commit 79b1877c02
4 changed files with 1563 additions and 1551 deletions

View File

@@ -1,87 +1,89 @@
size: 376 size: 382
location: src/tests/client/test-client.py:test_002()/1 location: src/tests/client/test-client.py:test_002()/1
cmd: $NMCLI d cmd: $NMCLI d
lang: C lang: C
returncode: 0 returncode: 0
stdout: 258 bytes stdout: 264 bytes
>>> >>>
DEVICE TYPE STATE CONNECTION DEVICE TYPE STATE CONNECTION
eth0 ethernet unavailable -- eth0 ethernet disconnected --
eth1 ethernet unavailable -- eth1 ethernet disconnected --
wlan0 wifi unavailable -- wlan0 wifi disconnected --
wlan1 wifi unavailable -- wlan1 wifi disconnected --
wlan1 wifi unavailable -- wlan1 wifi disconnected --
<<< <<<
size: 391 size: 390
location: src/tests/client/test-client.py:test_002()/2 location: src/tests/client/test-client.py:test_002()/2
cmd: $NMCLI d cmd: $NMCLI d
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
stdout: 263 bytes stdout: 262 bytes
>>> >>>
DEVICE TYPE STATE CONNECTION DEVICE TYPE STATE CONNECTION
eth0 ethernet niedostępne -- eth0 ethernet rozłączono --
eth1 ethernet niedostępne -- eth1 ethernet rozłączono --
wlan0 wifi niedostępne -- wlan0 wifi rozłączono --
wlan1 wifi niedostępne -- wlan1 wifi rozłączono --
wlan1 wifi niedostępne -- wlan1 wifi rozłączono --
<<< <<<
size: 977 size: 983
location: src/tests/client/test-client.py:test_002()/3 location: src/tests/client/test-client.py:test_002()/3
cmd: $NMCLI -f all d cmd: $NMCLI -f all d
lang: C lang: C
returncode: 0 returncode: 0
stdout: 852 bytes stdout: 858 bytes
>>> >>>
DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
eth0 ethernet unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/1 -- -- -- eth0 ethernet disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/1 -- -- --
eth1 ethernet unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/2 -- -- -- eth1 ethernet disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/2 -- -- --
wlan0 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/3 -- -- -- wlan0 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/3 -- -- --
wlan1 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/4 -- -- -- wlan1 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/4 -- -- --
wlan1 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/5 -- -- -- wlan1 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/5 -- -- --
<<< <<<
size: 992 size: 991
location: src/tests/client/test-client.py:test_002()/4 location: src/tests/client/test-client.py:test_002()/4
cmd: $NMCLI -f all d cmd: $NMCLI -f all d
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
stdout: 857 bytes stdout: 856 bytes
>>> >>>
DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
eth0 ethernet niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/1 -- -- -- eth0 ethernet rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/1 -- -- --
eth1 ethernet niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/2 -- -- -- eth1 ethernet rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/2 -- -- --
wlan0 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/3 -- -- -- wlan0 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/3 -- -- --
wlan1 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/4 -- -- -- wlan1 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/4 -- -- --
wlan1 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/5 -- -- -- wlan1 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/5 -- -- --
<<< <<<
size: 738 size: 791
location: src/tests/client/test-client.py:test_002()/5 location: src/tests/client/test-client.py:test_002()/5
cmd: $NMCLI cmd: $NMCLI
lang: C lang: C
returncode: 0 returncode: 0
stdout: 621 bytes stdout: 674 bytes
>>> >>>
eth0: unavailable eth0: disconnected
"eth0" "eth0"
1 connection available
ethernet (virtual), 65:2E:D3:9E:0A:0D, hw ethernet (virtual), 65:2E:D3:9E:0A:0D, hw
eth1: unavailable eth1: disconnected
"eth1" "eth1"
1 connection available
ethernet (virtual), 47:D5:6B:65:FD:6A, hw ethernet (virtual), 47:D5:6B:65:FD:6A, hw
wlan0: unavailable wlan0: disconnected
"wlan0" "wlan0"
wifi (virtual), 3D:99:1D:8B:74:4D, hw wifi (virtual), 3D:99:1D:8B:74:4D, hw
wlan1: unavailable wlan1: disconnected
"wlan1" "wlan1"
wifi (virtual), 99:09:77:FD:FE:1D, hw wifi (virtual), 99:09:77:FD:FE:1D, hw
wlan1: unavailable wlan1: disconnected
"wlan1" "wlan1"
wifi (virtual), 5D:30:4A:EC:3F:61, hw wifi (virtual), 5D:30:4A:EC:3F:61, hw
@@ -94,30 +96,32 @@ Use "nmcli device show" to get complete information about known devices and
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details. Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
<<< <<<
size: 811 size: 873
location: src/tests/client/test-client.py:test_002()/6 location: src/tests/client/test-client.py:test_002()/6
cmd: $NMCLI cmd: $NMCLI
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
stdout: 684 bytes stdout: 746 bytes
>>> >>>
eth0: niedostępne eth0: rozłączono
"eth0" "eth0"
1 połączenie jest dostępne
ethernet (virtual), 65:2E:D3:9E:0A:0D, sprzęt ethernet (virtual), 65:2E:D3:9E:0A:0D, sprzęt
eth1: niedostępne eth1: rozłączono
"eth1" "eth1"
1 połączenie jest dostępne
ethernet (virtual), 47:D5:6B:65:FD:6A, sprzęt ethernet (virtual), 47:D5:6B:65:FD:6A, sprzęt
wlan0: niedostępne wlan0: rozłączono
"wlan0" "wlan0"
wifi (virtual), 3D:99:1D:8B:74:4D, sprzęt wifi (virtual), 3D:99:1D:8B:74:4D, sprzęt
wlan1: niedostępne wlan1: rozłączono
"wlan1" "wlan1"
wifi (virtual), 99:09:77:FD:FE:1D, sprzęt wifi (virtual), 99:09:77:FD:FE:1D, sprzęt
wlan1: niedostępne wlan1: rozłączono
"wlan1" "wlan1"
wifi (virtual), 5D:30:4A:EC:3F:61, sprzęt wifi (virtual), 5D:30:4A:EC:3F:61, sprzęt

View File

@@ -1878,34 +1878,34 @@ GENERAL.ZONE: --
GENERAL.MASTER-PATH: -- GENERAL.MASTER-PATH: --
<<< <<<
size: 1408 size: 1414
location: src/tests/client/test-client.py:test_003()/43 location: src/tests/client/test-client.py:test_003()/43
cmd: $NMCLI -f ALL dev status cmd: $NMCLI -f ALL dev status
lang: C lang: C
returncode: 0 returncode: 0
stdout: 1272 bytes stdout: 1278 bytes
>>> >>>
DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
eth0 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1 eth0 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
eth1 ethernet unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/2 -- -- -- eth1 ethernet disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/2 -- -- --
wlan0 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/3 -- -- -- wlan0 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/3 -- -- --
wlan1 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/4 -- -- -- wlan1 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/4 -- -- --
wlan1 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/5 -- -- -- wlan1 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/5 -- -- --
<<< <<<
size: 1424 size: 1422
location: src/tests/client/test-client.py:test_003()/44 location: src/tests/client/test-client.py:test_003()/44
cmd: $NMCLI -f ALL dev status cmd: $NMCLI -f ALL dev status
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
stdout: 1278 bytes stdout: 1276 bytes
>>> >>>
DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
eth0 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1 eth0 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
eth1 ethernet niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/2 -- -- -- eth1 ethernet rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/2 -- -- --
wlan0 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/3 -- -- -- wlan0 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/3 -- -- --
wlan1 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/4 -- -- -- wlan1 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/4 -- -- --
wlan1 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/5 -- -- -- wlan1 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/5 -- -- --
<<< <<<
size: 172 size: 172
@@ -2974,34 +2974,34 @@ GENERAL.ZONE: --
GENERAL.MASTER-PATH: -- GENERAL.MASTER-PATH: --
<<< <<<
size: 1408 size: 1414
location: src/tests/client/test-client.py:test_003()/68 location: src/tests/client/test-client.py:test_003()/68
cmd: $NMCLI -f ALL dev status cmd: $NMCLI -f ALL dev status
lang: C lang: C
returncode: 0 returncode: 0
stdout: 1272 bytes stdout: 1278 bytes
>>> >>>
DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
eth0 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1 eth0 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
eth1 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2 eth1 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2
wlan0 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/3 -- -- -- wlan0 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/3 -- -- --
wlan1 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/4 -- -- -- wlan1 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/4 -- -- --
wlan1 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/5 -- -- -- wlan1 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/5 -- -- --
<<< <<<
size: 1425 size: 1422
location: src/tests/client/test-client.py:test_003()/69 location: src/tests/client/test-client.py:test_003()/69
cmd: $NMCLI -f ALL dev status cmd: $NMCLI -f ALL dev status
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
stdout: 1279 bytes stdout: 1276 bytes
>>> >>>
DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
eth0 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1 eth0 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
eth1 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2 eth1 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2
wlan0 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/3 -- -- -- wlan0 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/3 -- -- --
wlan1 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/4 -- -- -- wlan1 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/4 -- -- --
wlan1 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/5 -- -- -- wlan1 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/5 -- -- --
<<< <<<
size: 172 size: 172
@@ -3312,42 +3312,42 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[2]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con-
CONNECTIONS.AVAILABLE-CONNECTIONS[3]:UUID-ethernet-REPLACED-REPLACED-REPL | ethernet CONNECTIONS.AVAILABLE-CONNECTIONS[3]:UUID-ethernet-REPLACED-REPLACED-REPL | ethernet
<<< <<<
size: 1399 size: 1405
location: src/tests/client/test-client.py:test_003()/76 location: src/tests/client/test-client.py:test_003()/76
cmd: $NMCLI -f all d cmd: $NMCLI -f all d
lang: C lang: C
returncode: 0 returncode: 0
stdout: 1272 bytes stdout: 1278 bytes
>>> >>>
DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
eth1 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2 eth1 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2
eth0 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1 eth0 ethernet connected unknown unknown /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
wlan0 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/3 -- -- -- wlan0 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/3 -- -- --
wlan1 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/4 -- -- -- wlan1 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/4 -- -- --
wlan1 wifi unavailable unknown unknown /org/freedesktop/NetworkManager/Devices/5 -- -- -- wlan1 wifi disconnected unknown unknown /org/freedesktop/NetworkManager/Devices/5 -- -- --
<<< <<<
size: 1416 size: 1413
location: src/tests/client/test-client.py:test_003()/77 location: src/tests/client/test-client.py:test_003()/77
cmd: $NMCLI -f all d cmd: $NMCLI -f all d
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
stdout: 1279 bytes stdout: 1276 bytes
>>> >>>
DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
eth1 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2 eth1 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/2 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/2
eth0 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1 eth0 ethernet połączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/1 ethernet UUID-ethernet-REPLACED-REPLACED-REPL /org/freedesktop/NetworkManager/ActiveConnection/1
wlan0 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/3 -- -- -- wlan0 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/3 -- -- --
wlan1 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/4 -- -- -- wlan1 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/4 -- -- --
wlan1 wifi niedostępne nieznane nieznane /org/freedesktop/NetworkManager/Devices/5 -- -- -- wlan1 wifi rozłączono nieznane nieznane /org/freedesktop/NetworkManager/Devices/5 -- -- --
<<< <<<
size: 759 size: 762
location: src/tests/client/test-client.py:test_003()/78 location: src/tests/client/test-client.py:test_003()/78
cmd: $NMCLI cmd: $NMCLI
lang: C lang: C
returncode: 0 returncode: 0
stdout: 641 bytes stdout: 644 bytes
>>> >>>
eth1: connected to ethernet eth1: connected to ethernet
"eth1" "eth1"
@@ -3357,15 +3357,15 @@ eth0: connected to ethernet
"eth0" "eth0"
ethernet (virtual), C0:61:AE:26:4D:D7, hw ethernet (virtual), C0:61:AE:26:4D:D7, hw
wlan0: unavailable wlan0: disconnected
"wlan0" "wlan0"
wifi (virtual), DC:39:87:BA:3E:5D, hw wifi (virtual), DC:39:87:BA:3E:5D, hw
wlan1: unavailable wlan1: disconnected
"wlan1" "wlan1"
wifi (virtual), AC:4E:5B:7B:57:49, hw wifi (virtual), AC:4E:5B:7B:57:49, hw
wlan1: unavailable wlan1: disconnected
"wlan1" "wlan1"
wifi (virtual), 24:C4:52:BC:3D:37, hw wifi (virtual), 24:C4:52:BC:3D:37, hw
@@ -3393,15 +3393,15 @@ eth0: połączono do ethernet
"eth0" "eth0"
ethernet (virtual), C0:61:AE:26:4D:D7, sprzęt ethernet (virtual), C0:61:AE:26:4D:D7, sprzęt
wlan0: niedostępne wlan0: rozłączono
"wlan0" "wlan0"
wifi (virtual), DC:39:87:BA:3E:5D, sprzęt wifi (virtual), DC:39:87:BA:3E:5D, sprzęt
wlan1: niedostępne wlan1: rozłączono
"wlan1" "wlan1"
wifi (virtual), AC:4E:5B:7B:57:49, sprzęt wifi (virtual), AC:4E:5B:7B:57:49, sprzęt
wlan1: niedostępne wlan1: rozłączono
"wlan1" "wlan1"
wifi (virtual), 24:C4:52:BC:3D:37, sprzęt wifi (virtual), 24:C4:52:BC:3D:37, sprzęt

File diff suppressed because it is too large Load Diff

View File

@@ -868,7 +868,7 @@ class Device(ExportedObj):
self.activation_state_change_delay_ms = 50 self.activation_state_change_delay_ms = 50
self.hwaddr = hwaddr is None if "" else hwaddr self.hwaddr = hwaddr is None if "" else hwaddr
self.prp_state = NM.DeviceState.UNAVAILABLE self.prp_state = NM.DeviceState.DISCONNECTED
if devtype == NM.DeviceType.MODEM: if devtype == NM.DeviceType.MODEM:
udi = "/org/freedesktop/ModemManager1/Modem/0" udi = "/org/freedesktop/ModemManager1/Modem/0"