From a66ab735b672aa3593b5926016e8af9cb4ac40db Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Tue, 26 Mar 2019 18:34:53 +0100 Subject: [PATCH 01/13] lldp: drop _access* macros Use unaligned access functions instead where needed. --- src/devices/nm-lldp-listener.c | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index cb3b5907da..378ee3e3ea 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -25,6 +25,7 @@ #include #include "platform/nm-platform.h" +#include "nm-utils/unaligned.h" #include "nm-utils.h" #include "systemd/nm-sd.h" @@ -155,21 +156,6 @@ ether_addr_equal (const struct ether_addr *a1, const struct ether_addr *a2) return memcmp (a1, a2, ETH_ALEN) == 0; } -static guint32 -_access_uint8 (const void *data) -{ - return *((const guint8 *) data); -} - -static guint32 -_access_uint16 (const void *data) -{ - guint16 v; - - memcpy (&v, data, sizeof (v)); - return ntohs (v); -} - /*****************************************************************************/ NM_UTILS_LOOKUP_STR_DEFINE_STATIC (_lldp_attr_id_to_name, LldpAttrId, @@ -514,15 +500,15 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) if (len != 2) continue; _lldp_attr_set_uint32 (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_PVID, - _access_uint16 (data8)); + unaligned_read_be16 (data8)); break; case SD_LLDP_OUI_802_1_SUBTYPE_PORT_PROTOCOL_VLAN_ID: if (len != 3) continue; _lldp_attr_set_uint32 (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, - _access_uint8 (&data8[0])); + data8[0]); _lldp_attr_set_uint32 (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_PPVID, - _access_uint16 (&data8[1])); + unaligned_read_be16 (&data8[1])); break; case SD_LLDP_OUI_802_1_SUBTYPE_VLAN_NAME: { int l; @@ -537,7 +523,7 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) continue; _lldp_attr_set_uint32 (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_VID, - _access_uint16 (&data8[0])); + unaligned_read_be16 (&data8[0])); _lldp_attr_set_str_ptr (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, &data8[3], l); break; From b1d5f11b3d062a8cbb6fe3af4ff4038e8dcedb6c Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 24 Jan 2019 18:11:26 +0100 Subject: [PATCH 02/13] cli: add lldp output tests Check the result of 'nmcli device lldp' command. --- .../test_004.expected | 2504 +++++++++++------ clients/tests/test-client.py | 3 + tools/test-networkmanager-service.py | 36 + 3 files changed, 1759 insertions(+), 784 deletions(-) diff --git a/clients/tests/test-client.check-on-disk/test_004.expected b/clients/tests/test-client.check-on-disk/test_004.expected index d62778c5a3..7a5548129f 100644 --- a/clients/tests/test-client.check-on-disk/test_004.expected +++ b/clients/tests/test-client.check-on-disk/test_004.expected @@ -3621,9 +3621,69 @@ DHCP6.OPTION[5]: dhcp-6-opt-5 = val-5 CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/Connection/{2} CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1434 +location: clients/tests/test-client.py:1101:test_004()/69 +cmd: $NMCLI dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1288 bytes +>>> +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) + +<<< +size: 1444 +location: clients/tests/test-client.py:1101:test_004()/70 +cmd: $NMCLI dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1288 bytes +>>> +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) + <<< size: 4615 -location: clients/tests/test-client.py:1036:test_004()/69 +location: clients/tests/test-client.py:1036:test_004()/71 cmd: $NMCLI --color yes con s con-vpn-1 lang: C returncode: 0 @@ -3725,7 +3785,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4645 -location: clients/tests/test-client.py:1036:test_004()/70 +location: clients/tests/test-client.py:1036:test_004()/72 cmd: $NMCLI --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -3827,7 +3887,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4615 -location: clients/tests/test-client.py:1038:test_004()/71 +location: clients/tests/test-client.py:1038:test_004()/73 cmd: $NMCLI --color yes con s con-vpn-1 lang: C returncode: 0 @@ -3929,7 +3989,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4645 -location: clients/tests/test-client.py:1038:test_004()/72 +location: clients/tests/test-client.py:1038:test_004()/74 cmd: $NMCLI --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -4031,7 +4091,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 3534 -location: clients/tests/test-client.py:1041:test_004()/73 +location: clients/tests/test-client.py:1041:test_004()/75 cmd: $NMCLI --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -4113,7 +4173,7 @@ proxy.pac-script: -- <<< size: 3554 -location: clients/tests/test-client.py:1041:test_004()/74 +location: clients/tests/test-client.py:1041:test_004()/76 cmd: $NMCLI --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -4195,7 +4255,7 @@ proxy.pac-script: -- <<< size: 488 -location: clients/tests/test-client.py:1047:test_004()/75 +location: clients/tests/test-client.py:1047:test_004()/77 cmd: $NMCLI --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -4210,7 +4270,7 @@ vpn.timeout: 0 <<< size: 499 -location: clients/tests/test-client.py:1047:test_004()/76 +location: clients/tests/test-client.py:1047:test_004()/78 cmd: $NMCLI --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -4225,7 +4285,7 @@ vpn.timeout: 0 <<< size: 825 -location: clients/tests/test-client.py:1050:test_004()/77 +location: clients/tests/test-client.py:1050:test_004()/79 cmd: $NMCLI --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -4246,7 +4306,7 @@ GENERAL.MASTER-PATH: -- <<< size: 838 -location: clients/tests/test-client.py:1050:test_004()/78 +location: clients/tests/test-client.py:1050:test_004()/80 cmd: $NMCLI --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -4267,7 +4327,7 @@ GENERAL.MASTER-PATH: -- <<< size: 555 -location: clients/tests/test-client.py:1053:test_004()/79 +location: clients/tests/test-client.py:1053:test_004()/81 cmd: $NMCLI --color yes dev s lang: C returncode: 0 @@ -4282,7 +4342,7 @@ DEVICE TYPE STATE CONNECTION <<< size: 570 -location: clients/tests/test-client.py:1053:test_004()/80 +location: clients/tests/test-client.py:1053:test_004()/82 cmd: $NMCLI --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -4297,7 +4357,7 @@ DEVICE TYPE STATE CONNECTION <<< size: 1782 -location: clients/tests/test-client.py:1056:test_004()/81 +location: clients/tests/test-client.py:1056:test_004()/83 cmd: $NMCLI --color yes -f all dev status lang: C returncode: 0 @@ -4312,7 +4372,7 @@ DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH <<< size: 1797 -location: clients/tests/test-client.py:1056:test_004()/82 +location: clients/tests/test-client.py:1056:test_004()/84 cmd: $NMCLI --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -4327,7 +4387,7 @@ DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH <<< size: 8059 -location: clients/tests/test-client.py:1059:test_004()/83 +location: clients/tests/test-client.py:1059:test_004()/85 cmd: $NMCLI --color yes dev show lang: C returncode: 0 @@ -4473,7 +4533,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 8090 -location: clients/tests/test-client.py:1059:test_004()/84 +location: clients/tests/test-client.py:1059:test_004()/86 cmd: $NMCLI --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -4619,7 +4679,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 20960 -location: clients/tests/test-client.py:1062:test_004()/85 +location: clients/tests/test-client.py:1062:test_004()/87 cmd: $NMCLI --color yes -f all dev show lang: C returncode: 0 @@ -5008,7 +5068,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 21110 -location: clients/tests/test-client.py:1062:test_004()/86 +location: clients/tests/test-client.py:1062:test_004()/88 cmd: $NMCLI --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -5397,7 +5457,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1510 -location: clients/tests/test-client.py:1065:test_004()/87 +location: clients/tests/test-client.py:1065:test_004()/89 cmd: $NMCLI --color yes dev show wlan0 lang: C returncode: 0 @@ -5430,7 +5490,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 1521 -location: clients/tests/test-client.py:1065:test_004()/88 +location: clients/tests/test-client.py:1065:test_004()/90 cmd: $NMCLI --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -5463,7 +5523,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 5075 -location: clients/tests/test-client.py:1068:test_004()/89 +location: clients/tests/test-client.py:1068:test_004()/91 cmd: $NMCLI --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -5563,7 +5623,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 5130 -location: clients/tests/test-client.py:1068:test_004()/90 +location: clients/tests/test-client.py:1068:test_004()/92 cmd: $NMCLI --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -5663,7 +5723,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1972 -location: clients/tests/test-client.py:1071:test_004()/91 +location: clients/tests/test-client.py:1071:test_004()/93 cmd: $NMCLI --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -5708,7 +5768,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 1996 -location: clients/tests/test-client.py:1071:test_004()/92 +location: clients/tests/test-client.py:1071:test_004()/94 cmd: $NMCLI --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -5753,7 +5813,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 1972 -location: clients/tests/test-client.py:1074:test_004()/93 +location: clients/tests/test-client.py:1074:test_004()/95 cmd: $NMCLI --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -5798,7 +5858,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 1996 -location: clients/tests/test-client.py:1074:test_004()/94 +location: clients/tests/test-client.py:1074:test_004()/96 cmd: $NMCLI --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -5843,7 +5903,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 646 -location: clients/tests/test-client.py:1077:test_004()/95 +location: clients/tests/test-client.py:1077:test_004()/97 cmd: $NMCLI --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -5858,7 +5918,7 @@ DEVICE TYPE DBUS-PATH <<< size: 656 -location: clients/tests/test-client.py:1077:test_004()/96 +location: clients/tests/test-client.py:1077:test_004()/98 cmd: $NMCLI --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -5873,7 +5933,7 @@ DEVICE TYPE DBUS-PATH <<< size: 2608 -location: clients/tests/test-client.py:1080:test_004()/97 +location: clients/tests/test-client.py:1080:test_004()/99 cmd: $NMCLI --color yes -f ALL device wifi list lang: C returncode: 0 @@ -5890,8 +5950,8 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA-FLAGS RSN-FLAGS DEVICE ACTIVE IN-USE DBUS-PATH <<< -size: 2676 -location: clients/tests/test-client.py:1080:test_004()/98 +size: 2677 +location: clients/tests/test-client.py:1080:test_004()/100 cmd: $NMCLI --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -5908,8 +5968,8 @@ NAME SSID SSID-HEX BSSID MODE CHAN NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA-FLAGS RSN-FLAGS DEVICE ACTIVE IN-USE DBUS-PATH <<< -size: 918 -location: clients/tests/test-client.py:1082:test_004()/99 +size: 919 +location: clients/tests/test-client.py:1082:test_004()/101 cmd: $NMCLI --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -5927,7 +5987,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 979 -location: clients/tests/test-client.py:1082:test_004()/100 +location: clients/tests/test-client.py:1082:test_004()/102 cmd: $NMCLI --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -5945,7 +6005,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 2722 -location: clients/tests/test-client.py:1085:test_004()/101 +location: clients/tests/test-client.py:1085:test_004()/103 cmd: $NMCLI --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -5963,7 +6023,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 2790 -location: clients/tests/test-client.py:1085:test_004()/102 +location: clients/tests/test-client.py:1085:test_004()/104 cmd: $NMCLI --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -5981,7 +6041,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 903 -location: clients/tests/test-client.py:1087:test_004()/103 +location: clients/tests/test-client.py:1087:test_004()/105 cmd: $NMCLI --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -5994,7 +6054,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ <<< size: 931 -location: clients/tests/test-client.py:1087:test_004()/104 +location: clients/tests/test-client.py:1087:test_004()/106 cmd: $NMCLI --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -6007,7 +6067,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN <<< size: 395 -location: clients/tests/test-client.py:1089:test_004()/105 +location: clients/tests/test-client.py:1089:test_004()/107 cmd: $NMCLI --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -6020,7 +6080,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 421 -location: clients/tests/test-client.py:1089:test_004()/106 +location: clients/tests/test-client.py:1089:test_004()/108 cmd: $NMCLI --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -6033,7 +6093,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1016 -location: clients/tests/test-client.py:1092:test_004()/107 +location: clients/tests/test-client.py:1092:test_004()/109 cmd: $NMCLI --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -6046,7 +6106,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ <<< size: 1044 -location: clients/tests/test-client.py:1092:test_004()/108 +location: clients/tests/test-client.py:1092:test_004()/110 cmd: $NMCLI --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -6059,7 +6119,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN <<< size: 5079 -location: clients/tests/test-client.py:1094:test_004()/109 +location: clients/tests/test-client.py:1094:test_004()/111 cmd: $NMCLI --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -6159,7 +6219,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 5134 -location: clients/tests/test-client.py:1094:test_004()/110 +location: clients/tests/test-client.py:1094:test_004()/112 cmd: $NMCLI --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -6259,7 +6319,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1524 -location: clients/tests/test-client.py:1096:test_004()/111 +location: clients/tests/test-client.py:1096:test_004()/113 cmd: $NMCLI --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -6292,7 +6352,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 1535 -location: clients/tests/test-client.py:1096:test_004()/112 +location: clients/tests/test-client.py:1096:test_004()/114 cmd: $NMCLI --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -6325,7 +6385,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 5217 -location: clients/tests/test-client.py:1098:test_004()/113 +location: clients/tests/test-client.py:1098:test_004()/115 cmd: $NMCLI --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -6425,7 +6485,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 5272 -location: clients/tests/test-client.py:1098:test_004()/114 +location: clients/tests/test-client.py:1098:test_004()/116 cmd: $NMCLI --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -6523,9 +6583,69 @@ DHCP6.OPTION[5]: dhcp-6-opt-5 = val-5 CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/Connection/{2} CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1447 +location: clients/tests/test-client.py:1101:test_004()/117 +cmd: $NMCLI --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1288 bytes +>>> +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) + +<<< +size: 1457 +location: clients/tests/test-client.py:1101:test_004()/118 +cmd: $NMCLI --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1288 bytes +>>> +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) + <<< size: 5625 -location: clients/tests/test-client.py:1036:test_004()/115 +location: clients/tests/test-client.py:1036:test_004()/119 cmd: $NMCLI --pretty con s con-vpn-1 lang: C returncode: 0 @@ -6640,7 +6760,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5667 -location: clients/tests/test-client.py:1036:test_004()/116 +location: clients/tests/test-client.py:1036:test_004()/120 cmd: $NMCLI --pretty con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -6755,7 +6875,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5625 -location: clients/tests/test-client.py:1038:test_004()/117 +location: clients/tests/test-client.py:1038:test_004()/121 cmd: $NMCLI --pretty con s con-vpn-1 lang: C returncode: 0 @@ -6870,7 +6990,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5667 -location: clients/tests/test-client.py:1038:test_004()/118 +location: clients/tests/test-client.py:1038:test_004()/122 cmd: $NMCLI --pretty con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -6985,7 +7105,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4151 -location: clients/tests/test-client.py:1041:test_004()/119 +location: clients/tests/test-client.py:1041:test_004()/123 cmd: $NMCLI --pretty -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -7075,7 +7195,7 @@ proxy.pac-script: -- <<< size: 4176 -location: clients/tests/test-client.py:1041:test_004()/120 +location: clients/tests/test-client.py:1041:test_004()/124 cmd: $NMCLI --pretty -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -7165,7 +7285,7 @@ proxy.pac-script: -- <<< size: 785 -location: clients/tests/test-client.py:1047:test_004()/121 +location: clients/tests/test-client.py:1047:test_004()/125 cmd: $NMCLI --pretty -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -7184,7 +7304,7 @@ vpn.timeout: 0 <<< size: 801 -location: clients/tests/test-client.py:1047:test_004()/122 +location: clients/tests/test-client.py:1047:test_004()/126 cmd: $NMCLI --pretty -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -7203,7 +7323,7 @@ vpn.timeout: 0 <<< size: 1136 -location: clients/tests/test-client.py:1050:test_004()/123 +location: clients/tests/test-client.py:1050:test_004()/127 cmd: $NMCLI --pretty -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -7228,7 +7348,7 @@ GENERAL.MASTER-PATH: -- <<< size: 1156 -location: clients/tests/test-client.py:1050:test_004()/124 +location: clients/tests/test-client.py:1050:test_004()/128 cmd: $NMCLI --pretty -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -7253,7 +7373,7 @@ GENERAL.MASTER-PATH: -- <<< size: 522 -location: clients/tests/test-client.py:1053:test_004()/125 +location: clients/tests/test-client.py:1053:test_004()/129 cmd: $NMCLI --pretty dev s lang: C returncode: 0 @@ -7272,7 +7392,7 @@ wlan1 wifi unavailable -- <<< size: 530 -location: clients/tests/test-client.py:1053:test_004()/126 +location: clients/tests/test-client.py:1053:test_004()/130 cmd: $NMCLI --pretty dev s lang: pl_PL.UTF-8 returncode: 0 @@ -7291,7 +7411,7 @@ wlan1 wifi niedostępne -- <<< size: 1718 -location: clients/tests/test-client.py:1056:test_004()/127 +location: clients/tests/test-client.py:1056:test_004()/131 cmd: $NMCLI --pretty -f all dev status lang: C returncode: 0 @@ -7310,7 +7430,7 @@ wlan1 wifi unavailable unknown unknown /org/freedesk <<< size: 1726 -location: clients/tests/test-client.py:1056:test_004()/128 +location: clients/tests/test-client.py:1056:test_004()/132 cmd: $NMCLI --pretty -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -7329,7 +7449,7 @@ wlan1 wifi niedostępne nieznane nieznane /org/freedes <<< size: 12873 -location: clients/tests/test-client.py:1059:test_004()/129 +location: clients/tests/test-client.py:1059:test_004()/133 cmd: $NMCLI --pretty dev show lang: C returncode: 0 @@ -7537,7 +7657,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 12937 -location: clients/tests/test-client.py:1059:test_004()/130 +location: clients/tests/test-client.py:1059:test_004()/134 cmd: $NMCLI --pretty dev show lang: pl_PL.UTF-8 returncode: 0 @@ -7745,7 +7865,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 25245 -location: clients/tests/test-client.py:1062:test_004()/131 +location: clients/tests/test-client.py:1062:test_004()/135 cmd: $NMCLI --pretty -f all dev show lang: C returncode: 0 @@ -8193,7 +8313,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 25428 -location: clients/tests/test-client.py:1062:test_004()/132 +location: clients/tests/test-client.py:1062:test_004()/136 cmd: $NMCLI --pretty -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -8641,7 +8761,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2439 -location: clients/tests/test-client.py:1065:test_004()/133 +location: clients/tests/test-client.py:1065:test_004()/137 cmd: $NMCLI --pretty dev show wlan0 lang: C returncode: 0 @@ -8686,7 +8806,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 2457 -location: clients/tests/test-client.py:1065:test_004()/134 +location: clients/tests/test-client.py:1065:test_004()/138 cmd: $NMCLI --pretty dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -8731,7 +8851,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 5948 -location: clients/tests/test-client.py:1068:test_004()/135 +location: clients/tests/test-client.py:1068:test_004()/139 cmd: $NMCLI --pretty -f all dev show wlan0 lang: C returncode: 0 @@ -8845,7 +8965,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6010 -location: clients/tests/test-client.py:1068:test_004()/136 +location: clients/tests/test-client.py:1068:test_004()/140 cmd: $NMCLI --pretty -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -8959,7 +9079,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2421 -location: clients/tests/test-client.py:1071:test_004()/137 +location: clients/tests/test-client.py:1071:test_004()/141 cmd: $NMCLI --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -9010,7 +9130,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2452 -location: clients/tests/test-client.py:1071:test_004()/138 +location: clients/tests/test-client.py:1071:test_004()/142 cmd: $NMCLI --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -9061,7 +9181,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 2421 -location: clients/tests/test-client.py:1074:test_004()/139 +location: clients/tests/test-client.py:1074:test_004()/143 cmd: $NMCLI --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -9112,7 +9232,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2452 -location: clients/tests/test-client.py:1074:test_004()/140 +location: clients/tests/test-client.py:1074:test_004()/144 cmd: $NMCLI --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -9163,7 +9283,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 671 -location: clients/tests/test-client.py:1077:test_004()/141 +location: clients/tests/test-client.py:1077:test_004()/145 cmd: $NMCLI --pretty -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -9182,7 +9302,7 @@ wlan1 wifi /org/freedesktop/NetworkManager/Devices/5 <<< size: 674 -location: clients/tests/test-client.py:1077:test_004()/142 +location: clients/tests/test-client.py:1077:test_004()/146 cmd: $NMCLI --pretty -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -9201,7 +9321,7 @@ wlan1 wifi /org/freedesktop/NetworkManager/Devices/5 <<< size: 3026 -location: clients/tests/test-client.py:1080:test_004()/143 +location: clients/tests/test-client.py:1080:test_004()/147 cmd: $NMCLI --pretty -f ALL device wifi list lang: C returncode: 0 @@ -9231,7 +9351,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 3264 -location: clients/tests/test-client.py:1080:test_004()/144 +location: clients/tests/test-client.py:1080:test_004()/148 cmd: $NMCLI --pretty -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -9261,7 +9381,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 1152 -location: clients/tests/test-client.py:1082:test_004()/145 +location: clients/tests/test-client.py:1082:test_004()/149 cmd: $NMCLI --pretty -f COMMON device wifi list lang: C returncode: 0 @@ -9291,7 +9411,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1383 -location: clients/tests/test-client.py:1082:test_004()/146 +location: clients/tests/test-client.py:1082:test_004()/150 cmd: $NMCLI --pretty -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -9321,7 +9441,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 3139 -location: clients/tests/test-client.py:1085:test_004()/147 +location: clients/tests/test-client.py:1085:test_004()/151 cmd: $NMCLI --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -9351,7 +9471,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 3377 -location: clients/tests/test-client.py:1085:test_004()/148 +location: clients/tests/test-client.py:1085:test_004()/152 cmd: $NMCLI --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -9381,7 +9501,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 1141 -location: clients/tests/test-client.py:1087:test_004()/149 +location: clients/tests/test-client.py:1087:test_004()/153 cmd: $NMCLI --pretty -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -9398,7 +9518,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infra 1 2412 MH <<< size: 1229 -location: clients/tests/test-client.py:1087:test_004()/150 +location: clients/tests/test-client.py:1087:test_004()/154 cmd: $NMCLI --pretty -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -9415,7 +9535,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infrastruktura 1 <<< size: 499 -location: clients/tests/test-client.py:1089:test_004()/151 +location: clients/tests/test-client.py:1089:test_004()/155 cmd: $NMCLI --pretty -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -9432,7 +9552,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 584 -location: clients/tests/test-client.py:1089:test_004()/152 +location: clients/tests/test-client.py:1089:test_004()/156 cmd: $NMCLI --pretty -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -9449,7 +9569,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1254 -location: clients/tests/test-client.py:1092:test_004()/153 +location: clients/tests/test-client.py:1092:test_004()/157 cmd: $NMCLI --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -9466,7 +9586,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infra 1 2412 MH <<< size: 1342 -location: clients/tests/test-client.py:1092:test_004()/154 +location: clients/tests/test-client.py:1092:test_004()/158 cmd: $NMCLI --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -9483,7 +9603,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infrastruktura 1 <<< size: 5951 -location: clients/tests/test-client.py:1094:test_004()/155 +location: clients/tests/test-client.py:1094:test_004()/159 cmd: $NMCLI --pretty -f ALL device show wlan0 lang: C returncode: 0 @@ -9597,7 +9717,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6013 -location: clients/tests/test-client.py:1094:test_004()/156 +location: clients/tests/test-client.py:1094:test_004()/160 cmd: $NMCLI --pretty -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -9711,7 +9831,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2452 -location: clients/tests/test-client.py:1096:test_004()/157 +location: clients/tests/test-client.py:1096:test_004()/161 cmd: $NMCLI --pretty -f COMMON device show wlan0 lang: C returncode: 0 @@ -9756,7 +9876,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 2470 -location: clients/tests/test-client.py:1096:test_004()/158 +location: clients/tests/test-client.py:1096:test_004()/162 cmd: $NMCLI --pretty -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -9801,7 +9921,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 6089 -location: clients/tests/test-client.py:1098:test_004()/159 +location: clients/tests/test-client.py:1098:test_004()/163 cmd: $NMCLI --pretty -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -9915,7 +10035,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6151 -location: clients/tests/test-client.py:1098:test_004()/160 +location: clients/tests/test-client.py:1098:test_004()/164 cmd: $NMCLI --pretty -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -10027,9 +10147,81 @@ CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 ------------------------------------------------------------------------------- +<<< +size: 1898 +location: clients/tests/test-client.py:1101:test_004()/165 +cmd: $NMCLI --pretty dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1742 bytes +>>> +=============================================================================== + Device LLDP neighbors (eth0) +=============================================================================== +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +------------------------------------------------------------------------------- +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +------------------------------------------------------------------------------- +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) +------------------------------------------------------------------------------- + +<<< +size: 1912 +location: clients/tests/test-client.py:1101:test_004()/166 +cmd: $NMCLI --pretty dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1746 bytes +>>> +=============================================================================== + Sąsiedzi LLDP urządzenia (eth0) +=============================================================================== +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +------------------------------------------------------------------------------- +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +------------------------------------------------------------------------------- +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) +------------------------------------------------------------------------------- + <<< size: 5637 -location: clients/tests/test-client.py:1036:test_004()/161 +location: clients/tests/test-client.py:1036:test_004()/167 cmd: $NMCLI --pretty --color yes con s con-vpn-1 lang: C returncode: 0 @@ -10144,7 +10336,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5679 -location: clients/tests/test-client.py:1036:test_004()/162 +location: clients/tests/test-client.py:1036:test_004()/168 cmd: $NMCLI --pretty --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -10259,7 +10451,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5637 -location: clients/tests/test-client.py:1038:test_004()/163 +location: clients/tests/test-client.py:1038:test_004()/169 cmd: $NMCLI --pretty --color yes con s con-vpn-1 lang: C returncode: 0 @@ -10374,7 +10566,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5679 -location: clients/tests/test-client.py:1038:test_004()/164 +location: clients/tests/test-client.py:1038:test_004()/170 cmd: $NMCLI --pretty --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -10489,7 +10681,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4163 -location: clients/tests/test-client.py:1041:test_004()/165 +location: clients/tests/test-client.py:1041:test_004()/171 cmd: $NMCLI --pretty --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -10579,7 +10771,7 @@ proxy.pac-script: -- <<< size: 4188 -location: clients/tests/test-client.py:1041:test_004()/166 +location: clients/tests/test-client.py:1041:test_004()/172 cmd: $NMCLI --pretty --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -10669,7 +10861,7 @@ proxy.pac-script: -- <<< size: 797 -location: clients/tests/test-client.py:1047:test_004()/167 +location: clients/tests/test-client.py:1047:test_004()/173 cmd: $NMCLI --pretty --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -10688,7 +10880,7 @@ vpn.timeout: 0 <<< size: 813 -location: clients/tests/test-client.py:1047:test_004()/168 +location: clients/tests/test-client.py:1047:test_004()/174 cmd: $NMCLI --pretty --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -10707,7 +10899,7 @@ vpn.timeout: 0 <<< size: 1148 -location: clients/tests/test-client.py:1050:test_004()/169 +location: clients/tests/test-client.py:1050:test_004()/175 cmd: $NMCLI --pretty --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -10732,7 +10924,7 @@ GENERAL.MASTER-PATH: -- <<< size: 1168 -location: clients/tests/test-client.py:1050:test_004()/170 +location: clients/tests/test-client.py:1050:test_004()/176 cmd: $NMCLI --pretty --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -10757,7 +10949,7 @@ GENERAL.MASTER-PATH: -- <<< size: 694 -location: clients/tests/test-client.py:1053:test_004()/171 +location: clients/tests/test-client.py:1053:test_004()/177 cmd: $NMCLI --pretty --color yes dev s lang: C returncode: 0 @@ -10776,7 +10968,7 @@ DEVICE TYPE STATE CONNECTION <<< size: 702 -location: clients/tests/test-client.py:1053:test_004()/172 +location: clients/tests/test-client.py:1053:test_004()/178 cmd: $NMCLI --pretty --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -10795,7 +10987,7 @@ DEVICE TYPE STATE CONNECTION <<< size: 2090 -location: clients/tests/test-client.py:1056:test_004()/173 +location: clients/tests/test-client.py:1056:test_004()/179 cmd: $NMCLI --pretty --color yes -f all dev status lang: C returncode: 0 @@ -10814,7 +11006,7 @@ DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH <<< size: 2098 -location: clients/tests/test-client.py:1056:test_004()/174 +location: clients/tests/test-client.py:1056:test_004()/180 cmd: $NMCLI --pretty --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -10833,7 +11025,7 @@ DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH <<< size: 12885 -location: clients/tests/test-client.py:1059:test_004()/175 +location: clients/tests/test-client.py:1059:test_004()/181 cmd: $NMCLI --pretty --color yes dev show lang: C returncode: 0 @@ -11041,7 +11233,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 12949 -location: clients/tests/test-client.py:1059:test_004()/176 +location: clients/tests/test-client.py:1059:test_004()/182 cmd: $NMCLI --pretty --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -11249,7 +11441,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 25545 -location: clients/tests/test-client.py:1062:test_004()/177 +location: clients/tests/test-client.py:1062:test_004()/183 cmd: $NMCLI --pretty --color yes -f all dev show lang: C returncode: 0 @@ -11697,7 +11889,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 25728 -location: clients/tests/test-client.py:1062:test_004()/178 +location: clients/tests/test-client.py:1062:test_004()/184 cmd: $NMCLI --pretty --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -12145,7 +12337,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2451 -location: clients/tests/test-client.py:1065:test_004()/179 +location: clients/tests/test-client.py:1065:test_004()/185 cmd: $NMCLI --pretty --color yes dev show wlan0 lang: C returncode: 0 @@ -12190,7 +12382,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 2469 -location: clients/tests/test-client.py:1065:test_004()/180 +location: clients/tests/test-client.py:1065:test_004()/186 cmd: $NMCLI --pretty --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -12235,7 +12427,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 6176 -location: clients/tests/test-client.py:1068:test_004()/181 +location: clients/tests/test-client.py:1068:test_004()/187 cmd: $NMCLI --pretty --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -12349,7 +12541,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6238 -location: clients/tests/test-client.py:1068:test_004()/182 +location: clients/tests/test-client.py:1068:test_004()/188 cmd: $NMCLI --pretty --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -12463,7 +12655,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2433 -location: clients/tests/test-client.py:1071:test_004()/183 +location: clients/tests/test-client.py:1071:test_004()/189 cmd: $NMCLI --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -12514,7 +12706,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2464 -location: clients/tests/test-client.py:1071:test_004()/184 +location: clients/tests/test-client.py:1071:test_004()/190 cmd: $NMCLI --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -12565,7 +12757,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 2433 -location: clients/tests/test-client.py:1074:test_004()/185 +location: clients/tests/test-client.py:1074:test_004()/191 cmd: $NMCLI --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -12616,7 +12808,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2464 -location: clients/tests/test-client.py:1074:test_004()/186 +location: clients/tests/test-client.py:1074:test_004()/192 cmd: $NMCLI --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -12667,7 +12859,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 803 -location: clients/tests/test-client.py:1077:test_004()/187 +location: clients/tests/test-client.py:1077:test_004()/193 cmd: $NMCLI --pretty --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -12686,7 +12878,7 @@ DEVICE TYPE DBUS-PATH <<< size: 806 -location: clients/tests/test-client.py:1077:test_004()/188 +location: clients/tests/test-client.py:1077:test_004()/194 cmd: $NMCLI --pretty --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -12705,7 +12897,7 @@ DEVICE TYPE DBUS-PATH <<< size: 3650 -location: clients/tests/test-client.py:1080:test_004()/189 +location: clients/tests/test-client.py:1080:test_004()/195 cmd: $NMCLI --pretty --color yes -f ALL device wifi list lang: C returncode: 0 @@ -12735,7 +12927,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 3888 -location: clients/tests/test-client.py:1080:test_004()/190 +location: clients/tests/test-client.py:1080:test_004()/196 cmd: $NMCLI --pretty --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -12765,7 +12957,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 1453 -location: clients/tests/test-client.py:1082:test_004()/191 +location: clients/tests/test-client.py:1082:test_004()/197 cmd: $NMCLI --pretty --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -12795,7 +12987,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1683 -location: clients/tests/test-client.py:1082:test_004()/192 +location: clients/tests/test-client.py:1082:test_004()/198 cmd: $NMCLI --pretty --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -12825,7 +13017,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 3763 -location: clients/tests/test-client.py:1085:test_004()/193 +location: clients/tests/test-client.py:1085:test_004()/199 cmd: $NMCLI --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -12855,7 +13047,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 4001 -location: clients/tests/test-client.py:1085:test_004()/194 +location: clients/tests/test-client.py:1085:test_004()/200 cmd: $NMCLI --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -12885,7 +13077,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 1307 -location: clients/tests/test-client.py:1087:test_004()/195 +location: clients/tests/test-client.py:1087:test_004()/201 cmd: $NMCLI --pretty --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -12902,7 +13094,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ <<< size: 1394 -location: clients/tests/test-client.py:1087:test_004()/196 +location: clients/tests/test-client.py:1087:test_004()/202 cmd: $NMCLI --pretty --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -12919,7 +13111,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN <<< size: 583 -location: clients/tests/test-client.py:1089:test_004()/197 +location: clients/tests/test-client.py:1089:test_004()/203 cmd: $NMCLI --pretty --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -12936,7 +13128,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 668 -location: clients/tests/test-client.py:1089:test_004()/198 +location: clients/tests/test-client.py:1089:test_004()/204 cmd: $NMCLI --pretty --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -12953,7 +13145,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1420 -location: clients/tests/test-client.py:1092:test_004()/199 +location: clients/tests/test-client.py:1092:test_004()/205 cmd: $NMCLI --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -12970,7 +13162,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ <<< size: 1507 -location: clients/tests/test-client.py:1092:test_004()/200 +location: clients/tests/test-client.py:1092:test_004()/206 cmd: $NMCLI --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -12987,7 +13179,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN <<< size: 6179 -location: clients/tests/test-client.py:1094:test_004()/201 +location: clients/tests/test-client.py:1094:test_004()/207 cmd: $NMCLI --pretty --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -13101,7 +13293,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6241 -location: clients/tests/test-client.py:1094:test_004()/202 +location: clients/tests/test-client.py:1094:test_004()/208 cmd: $NMCLI --pretty --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -13215,7 +13407,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2464 -location: clients/tests/test-client.py:1096:test_004()/203 +location: clients/tests/test-client.py:1096:test_004()/209 cmd: $NMCLI --pretty --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -13260,7 +13452,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 2482 -location: clients/tests/test-client.py:1096:test_004()/204 +location: clients/tests/test-client.py:1096:test_004()/210 cmd: $NMCLI --pretty --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -13305,7 +13497,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 6317 -location: clients/tests/test-client.py:1098:test_004()/205 +location: clients/tests/test-client.py:1098:test_004()/211 cmd: $NMCLI --pretty --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -13419,7 +13611,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6379 -location: clients/tests/test-client.py:1098:test_004()/206 +location: clients/tests/test-client.py:1098:test_004()/212 cmd: $NMCLI --pretty --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -13531,9 +13723,81 @@ CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 ------------------------------------------------------------------------------- +<<< +size: 1910 +location: clients/tests/test-client.py:1101:test_004()/213 +cmd: $NMCLI --pretty --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1742 bytes +>>> +=============================================================================== + Device LLDP neighbors (eth0) +=============================================================================== +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +------------------------------------------------------------------------------- +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +------------------------------------------------------------------------------- +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) +------------------------------------------------------------------------------- + +<<< +size: 1924 +location: clients/tests/test-client.py:1101:test_004()/214 +cmd: $NMCLI --pretty --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1746 bytes +>>> +=============================================================================== + Sąsiedzi LLDP urządzenia (eth0) +=============================================================================== +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +------------------------------------------------------------------------------- +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +------------------------------------------------------------------------------- +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) +------------------------------------------------------------------------------- + <<< size: 2323 -location: clients/tests/test-client.py:1036:test_004()/207 +location: clients/tests/test-client.py:1036:test_004()/215 cmd: $NMCLI --terse con s con-vpn-1 lang: C returncode: 0 @@ -13635,7 +13899,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2333 -location: clients/tests/test-client.py:1036:test_004()/208 +location: clients/tests/test-client.py:1036:test_004()/216 cmd: $NMCLI --terse con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -13737,7 +14001,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2323 -location: clients/tests/test-client.py:1038:test_004()/209 +location: clients/tests/test-client.py:1038:test_004()/217 cmd: $NMCLI --terse con s con-vpn-1 lang: C returncode: 0 @@ -13839,7 +14103,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2333 -location: clients/tests/test-client.py:1038:test_004()/210 +location: clients/tests/test-client.py:1038:test_004()/218 cmd: $NMCLI --terse con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -13941,7 +14205,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 1771 -location: clients/tests/test-client.py:1041:test_004()/211 +location: clients/tests/test-client.py:1041:test_004()/219 cmd: $NMCLI --terse -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -14023,7 +14287,7 @@ proxy.pac-script: <<< size: 1781 -location: clients/tests/test-client.py:1041:test_004()/212 +location: clients/tests/test-client.py:1041:test_004()/220 cmd: $NMCLI --terse -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -14105,7 +14369,7 @@ proxy.pac-script: <<< size: 322 -location: clients/tests/test-client.py:1047:test_004()/213 +location: clients/tests/test-client.py:1047:test_004()/221 cmd: $NMCLI --terse -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -14120,7 +14384,7 @@ vpn.timeout:0 <<< size: 332 -location: clients/tests/test-client.py:1047:test_004()/214 +location: clients/tests/test-client.py:1047:test_004()/222 cmd: $NMCLI --terse -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -14135,7 +14399,7 @@ vpn.timeout:0 <<< size: 525 -location: clients/tests/test-client.py:1050:test_004()/215 +location: clients/tests/test-client.py:1050:test_004()/223 cmd: $NMCLI --terse -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -14156,7 +14420,7 @@ GENERAL.MASTER-PATH: <<< size: 535 -location: clients/tests/test-client.py:1050:test_004()/216 +location: clients/tests/test-client.py:1050:test_004()/224 cmd: $NMCLI --terse -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -14177,7 +14441,7 @@ GENERAL.MASTER-PATH: <<< size: 269 -location: clients/tests/test-client.py:1053:test_004()/217 +location: clients/tests/test-client.py:1053:test_004()/225 cmd: $NMCLI --terse dev s lang: C returncode: 0 @@ -14191,7 +14455,7 @@ wlan1:wifi:unavailable: <<< size: 279 -location: clients/tests/test-client.py:1053:test_004()/218 +location: clients/tests/test-client.py:1053:test_004()/226 cmd: $NMCLI --terse dev s lang: pl_PL.UTF-8 returncode: 0 @@ -14205,7 +14469,7 @@ wlan1:wifi:unavailable: <<< size: 667 -location: clients/tests/test-client.py:1056:test_004()/219 +location: clients/tests/test-client.py:1056:test_004()/227 cmd: $NMCLI --terse -f all dev status lang: C returncode: 0 @@ -14219,7 +14483,7 @@ wlan1:wifi:unavailable:unknown:unknown:/org/freedesktop/NetworkManager/Devices/5 <<< size: 677 -location: clients/tests/test-client.py:1056:test_004()/220 +location: clients/tests/test-client.py:1056:test_004()/228 cmd: $NMCLI --terse -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -14233,7 +14497,7 @@ wlan1:wifi:unavailable:unknown:unknown:/org/freedesktop/NetworkManager/Devices/5 <<< size: 4540 -location: clients/tests/test-client.py:1059:test_004()/221 +location: clients/tests/test-client.py:1059:test_004()/229 cmd: $NMCLI --terse dev show lang: C returncode: 0 @@ -14379,7 +14643,7 @@ IP6.DOMAIN[1]:sear6.fo.x.y <<< size: 4550 -location: clients/tests/test-client.py:1059:test_004()/222 +location: clients/tests/test-client.py:1059:test_004()/230 cmd: $NMCLI --terse dev show lang: pl_PL.UTF-8 returncode: 0 @@ -14525,7 +14789,7 @@ IP6.DOMAIN[1]:sear6.fo.x.y <<< size: 11927 -location: clients/tests/test-client.py:1062:test_004()/223 +location: clients/tests/test-client.py:1062:test_004()/231 cmd: $NMCLI --terse -f all dev show lang: C returncode: 0 @@ -14914,7 +15178,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 11973 -location: clients/tests/test-client.py:1062:test_004()/224 +location: clients/tests/test-client.py:1062:test_004()/232 cmd: $NMCLI --terse -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -15303,7 +15567,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 882 -location: clients/tests/test-client.py:1065:test_004()/225 +location: clients/tests/test-client.py:1065:test_004()/233 cmd: $NMCLI --terse dev show wlan0 lang: C returncode: 0 @@ -15336,7 +15600,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 892 -location: clients/tests/test-client.py:1065:test_004()/226 +location: clients/tests/test-client.py:1065:test_004()/234 cmd: $NMCLI --terse dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -15369,7 +15633,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 2693 -location: clients/tests/test-client.py:1068:test_004()/227 +location: clients/tests/test-client.py:1068:test_004()/235 cmd: $NMCLI --terse -f all dev show wlan0 lang: C returncode: 0 @@ -15469,7 +15733,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2730 -location: clients/tests/test-client.py:1068:test_004()/228 +location: clients/tests/test-client.py:1068:test_004()/236 cmd: $NMCLI --terse -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -15569,7 +15833,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 1191 -location: clients/tests/test-client.py:1071:test_004()/229 +location: clients/tests/test-client.py:1071:test_004()/237 cmd: $NMCLI --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -15614,7 +15878,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1201 -location: clients/tests/test-client.py:1071:test_004()/230 +location: clients/tests/test-client.py:1071:test_004()/238 cmd: $NMCLI --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -15659,7 +15923,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1191 -location: clients/tests/test-client.py:1074:test_004()/231 +location: clients/tests/test-client.py:1074:test_004()/239 cmd: $NMCLI --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -15704,7 +15968,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1201 -location: clients/tests/test-client.py:1074:test_004()/232 +location: clients/tests/test-client.py:1074:test_004()/240 cmd: $NMCLI --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -15749,7 +16013,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 428 -location: clients/tests/test-client.py:1077:test_004()/233 +location: clients/tests/test-client.py:1077:test_004()/241 cmd: $NMCLI --terse -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -15763,7 +16027,7 @@ wlan1:wifi:/org/freedesktop/NetworkManager/Devices/5 <<< size: 438 -location: clients/tests/test-client.py:1077:test_004()/234 +location: clients/tests/test-client.py:1077:test_004()/242 cmd: $NMCLI --terse -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -15777,7 +16041,7 @@ wlan1:wifi:/org/freedesktop/NetworkManager/Devices/5 <<< size: 1086 -location: clients/tests/test-client.py:1080:test_004()/235 +location: clients/tests/test-client.py:1080:test_004()/243 cmd: $NMCLI --terse -f ALL device wifi list lang: C returncode: 0 @@ -15792,7 +16056,7 @@ AP[1]:wlan1-ap-4:776C616E312D61702D34:94\:2B\:E8\:F6\:D2\:86:Infra:1:2412 MHz:54 <<< size: 1144 -location: clients/tests/test-client.py:1080:test_004()/236 +location: clients/tests/test-client.py:1080:test_004()/244 cmd: $NMCLI --terse -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -15807,7 +16071,7 @@ AP[1]:wlan1-ap-4:776C616E312D61702D34:94\:2B\:E8\:F6\:D2\:86:Infrastruktura:1:24 <<< size: 343 -location: clients/tests/test-client.py:1082:test_004()/237 +location: clients/tests/test-client.py:1082:test_004()/245 cmd: $NMCLI --terse -f COMMON device wifi list lang: C returncode: 0 @@ -15822,7 +16086,7 @@ stdout: 188 bytes <<< size: 389 -location: clients/tests/test-client.py:1082:test_004()/238 +location: clients/tests/test-client.py:1082:test_004()/246 cmd: $NMCLI --terse -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -15837,7 +16101,7 @@ stdout: 224 bytes <<< size: 1199 -location: clients/tests/test-client.py:1085:test_004()/239 +location: clients/tests/test-client.py:1085:test_004()/247 cmd: $NMCLI --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -15852,7 +16116,7 @@ AP[1]:wlan1-ap-4:776C616E312D61702D34:94\:2B\:E8\:F6\:D2\:86:Infra:1:2412 MHz:54 <<< size: 1257 -location: clients/tests/test-client.py:1085:test_004()/240 +location: clients/tests/test-client.py:1085:test_004()/248 cmd: $NMCLI --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -15867,7 +16131,7 @@ AP[1]:wlan1-ap-4:776C616E312D61702D34:94\:2B\:E8\:F6\:D2\:86:Infrastruktura:1:24 <<< size: 433 -location: clients/tests/test-client.py:1087:test_004()/241 +location: clients/tests/test-client.py:1087:test_004()/249 cmd: $NMCLI --terse -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -15879,7 +16143,7 @@ AP[1]:wlan0-ap-2:776C616E302D61702D32:C0\:E2\:BE\:E8\:EF\:B6:Infra:1:2412 MHz:54 <<< size: 455 -location: clients/tests/test-client.py:1087:test_004()/242 +location: clients/tests/test-client.py:1087:test_004()/250 cmd: $NMCLI --terse -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -15891,7 +16155,7 @@ AP[1]:wlan0-ap-2:776C616E302D61702D32:C0\:E2\:BE\:E8\:EF\:B6:Infrastruktura:1:24 <<< size: 229 -location: clients/tests/test-client.py:1089:test_004()/243 +location: clients/tests/test-client.py:1089:test_004()/251 cmd: $NMCLI --terse -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -15903,7 +16167,7 @@ stdout: 51 bytes <<< size: 248 -location: clients/tests/test-client.py:1089:test_004()/244 +location: clients/tests/test-client.py:1089:test_004()/252 cmd: $NMCLI --terse -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -15915,7 +16179,7 @@ stdout: 60 bytes <<< size: 546 -location: clients/tests/test-client.py:1092:test_004()/245 +location: clients/tests/test-client.py:1092:test_004()/253 cmd: $NMCLI --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -15927,7 +16191,7 @@ AP[1]:wlan0-ap-2:776C616E302D61702D32:C0\:E2\:BE\:E8\:EF\:B6:Infra:1:2412 MHz:54 <<< size: 568 -location: clients/tests/test-client.py:1092:test_004()/246 +location: clients/tests/test-client.py:1092:test_004()/254 cmd: $NMCLI --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -15939,7 +16203,7 @@ AP[1]:wlan0-ap-2:776C616E302D61702D32:C0\:E2\:BE\:E8\:EF\:B6:Infrastruktura:1:24 <<< size: 2696 -location: clients/tests/test-client.py:1094:test_004()/247 +location: clients/tests/test-client.py:1094:test_004()/255 cmd: $NMCLI --terse -f ALL device show wlan0 lang: C returncode: 0 @@ -16039,7 +16303,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2733 -location: clients/tests/test-client.py:1094:test_004()/248 +location: clients/tests/test-client.py:1094:test_004()/256 cmd: $NMCLI --terse -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -16139,7 +16403,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 895 -location: clients/tests/test-client.py:1096:test_004()/249 +location: clients/tests/test-client.py:1096:test_004()/257 cmd: $NMCLI --terse -f COMMON device show wlan0 lang: C returncode: 0 @@ -16172,7 +16436,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 905 -location: clients/tests/test-client.py:1096:test_004()/250 +location: clients/tests/test-client.py:1096:test_004()/258 cmd: $NMCLI --terse -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -16205,7 +16469,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 2834 -location: clients/tests/test-client.py:1098:test_004()/251 +location: clients/tests/test-client.py:1098:test_004()/259 cmd: $NMCLI --terse -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -16305,7 +16569,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2871 -location: clients/tests/test-client.py:1098:test_004()/252 +location: clients/tests/test-client.py:1098:test_004()/260 cmd: $NMCLI --terse -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -16403,9 +16667,69 @@ DHCP6.OPTION[5]:dhcp-6-opt-5 = val-5 CONNECTIONS.AVAILABLE-CONNECTION-PATHS:/org/freedesktop/NetworkManager/Settings/Connection/{2} CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1136 +location: clients/tests/test-client.py:1101:test_004()/261 +cmd: $NMCLI --terse dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 982 bytes +>>> +NEIGHBOR[0].DEVICE:eth0 +NEIGHBOR[0].CHASSIS-ID:00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID:Uplink port +NEIGHBOR[0].PORT-DESCRIPTION:GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME:test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION:Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES:20 (mac-bridge,router) +NEIGHBOR[1].DEVICE:eth0 +NEIGHBOR[1].CHASSIS-ID:chassis1 +NEIGHBOR[1].PORT-ID:44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION:GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME:test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION:Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE:eth0 +NEIGHBOR[2].CHASSIS-ID:00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID:port1 +NEIGHBOR[2].PORT-DESCRIPTION:GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME:test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION:Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES:40 (wlan-access-point,telephone) + +<<< +size: 1146 +location: clients/tests/test-client.py:1101:test_004()/262 +cmd: $NMCLI --terse dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 982 bytes +>>> +NEIGHBOR[0].DEVICE:eth0 +NEIGHBOR[0].CHASSIS-ID:00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID:Uplink port +NEIGHBOR[0].PORT-DESCRIPTION:GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME:test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION:Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES:20 (mac-bridge,router) +NEIGHBOR[1].DEVICE:eth0 +NEIGHBOR[1].CHASSIS-ID:chassis1 +NEIGHBOR[1].PORT-ID:44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION:GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME:test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION:Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE:eth0 +NEIGHBOR[2].CHASSIS-ID:00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID:port1 +NEIGHBOR[2].PORT-DESCRIPTION:GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME:test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION:Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES:40 (wlan-access-point,telephone) + <<< size: 2335 -location: clients/tests/test-client.py:1036:test_004()/253 +location: clients/tests/test-client.py:1036:test_004()/263 cmd: $NMCLI --terse --color yes con s con-vpn-1 lang: C returncode: 0 @@ -16507,7 +16831,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2345 -location: clients/tests/test-client.py:1036:test_004()/254 +location: clients/tests/test-client.py:1036:test_004()/264 cmd: $NMCLI --terse --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -16609,7 +16933,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2335 -location: clients/tests/test-client.py:1038:test_004()/255 +location: clients/tests/test-client.py:1038:test_004()/265 cmd: $NMCLI --terse --color yes con s con-vpn-1 lang: C returncode: 0 @@ -16711,7 +17035,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2345 -location: clients/tests/test-client.py:1038:test_004()/256 +location: clients/tests/test-client.py:1038:test_004()/266 cmd: $NMCLI --terse --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -16813,7 +17137,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 1783 -location: clients/tests/test-client.py:1041:test_004()/257 +location: clients/tests/test-client.py:1041:test_004()/267 cmd: $NMCLI --terse --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -16895,7 +17219,7 @@ proxy.pac-script: <<< size: 1793 -location: clients/tests/test-client.py:1041:test_004()/258 +location: clients/tests/test-client.py:1041:test_004()/268 cmd: $NMCLI --terse --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -16977,7 +17301,7 @@ proxy.pac-script: <<< size: 334 -location: clients/tests/test-client.py:1047:test_004()/259 +location: clients/tests/test-client.py:1047:test_004()/269 cmd: $NMCLI --terse --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -16992,7 +17316,7 @@ vpn.timeout:0 <<< size: 344 -location: clients/tests/test-client.py:1047:test_004()/260 +location: clients/tests/test-client.py:1047:test_004()/270 cmd: $NMCLI --terse --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -17007,7 +17331,7 @@ vpn.timeout:0 <<< size: 537 -location: clients/tests/test-client.py:1050:test_004()/261 +location: clients/tests/test-client.py:1050:test_004()/271 cmd: $NMCLI --terse --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -17028,7 +17352,7 @@ GENERAL.MASTER-PATH: <<< size: 547 -location: clients/tests/test-client.py:1050:test_004()/262 +location: clients/tests/test-client.py:1050:test_004()/272 cmd: $NMCLI --terse --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -17049,7 +17373,7 @@ GENERAL.MASTER-PATH: <<< size: 441 -location: clients/tests/test-client.py:1053:test_004()/263 +location: clients/tests/test-client.py:1053:test_004()/273 cmd: $NMCLI --terse --color yes dev s lang: C returncode: 0 @@ -17063,7 +17387,7 @@ stdout: 295 bytes <<< size: 451 -location: clients/tests/test-client.py:1053:test_004()/264 +location: clients/tests/test-client.py:1053:test_004()/274 cmd: $NMCLI --terse --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -17077,7 +17401,7 @@ stdout: 295 bytes <<< size: 1039 -location: clients/tests/test-client.py:1056:test_004()/265 +location: clients/tests/test-client.py:1056:test_004()/275 cmd: $NMCLI --terse --color yes -f all dev status lang: C returncode: 0 @@ -17091,7 +17415,7 @@ stdout: 881 bytes <<< size: 1049 -location: clients/tests/test-client.py:1056:test_004()/266 +location: clients/tests/test-client.py:1056:test_004()/276 cmd: $NMCLI --terse --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -17105,7 +17429,7 @@ stdout: 881 bytes <<< size: 4552 -location: clients/tests/test-client.py:1059:test_004()/267 +location: clients/tests/test-client.py:1059:test_004()/277 cmd: $NMCLI --terse --color yes dev show lang: C returncode: 0 @@ -17251,7 +17575,7 @@ IP6.DOMAIN[1]:sear6.fo.x.y <<< size: 4562 -location: clients/tests/test-client.py:1059:test_004()/268 +location: clients/tests/test-client.py:1059:test_004()/278 cmd: $NMCLI --terse --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -17397,7 +17721,7 @@ IP6.DOMAIN[1]:sear6.fo.x.y <<< size: 12227 -location: clients/tests/test-client.py:1062:test_004()/269 +location: clients/tests/test-client.py:1062:test_004()/279 cmd: $NMCLI --terse --color yes -f all dev show lang: C returncode: 0 @@ -17786,7 +18110,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 12273 -location: clients/tests/test-client.py:1062:test_004()/270 +location: clients/tests/test-client.py:1062:test_004()/280 cmd: $NMCLI --terse --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -18175,7 +18499,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 894 -location: clients/tests/test-client.py:1065:test_004()/271 +location: clients/tests/test-client.py:1065:test_004()/281 cmd: $NMCLI --terse --color yes dev show wlan0 lang: C returncode: 0 @@ -18208,7 +18532,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 904 -location: clients/tests/test-client.py:1065:test_004()/272 +location: clients/tests/test-client.py:1065:test_004()/282 cmd: $NMCLI --terse --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -18241,7 +18565,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 2921 -location: clients/tests/test-client.py:1068:test_004()/273 +location: clients/tests/test-client.py:1068:test_004()/283 cmd: $NMCLI --terse --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -18341,7 +18665,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2958 -location: clients/tests/test-client.py:1068:test_004()/274 +location: clients/tests/test-client.py:1068:test_004()/284 cmd: $NMCLI --terse --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -18441,7 +18765,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 1203 -location: clients/tests/test-client.py:1071:test_004()/275 +location: clients/tests/test-client.py:1071:test_004()/285 cmd: $NMCLI --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -18486,7 +18810,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1213 -location: clients/tests/test-client.py:1071:test_004()/276 +location: clients/tests/test-client.py:1071:test_004()/286 cmd: $NMCLI --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -18531,7 +18855,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1203 -location: clients/tests/test-client.py:1074:test_004()/277 +location: clients/tests/test-client.py:1074:test_004()/287 cmd: $NMCLI --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -18576,7 +18900,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1213 -location: clients/tests/test-client.py:1074:test_004()/278 +location: clients/tests/test-client.py:1074:test_004()/288 cmd: $NMCLI --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -18621,7 +18945,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 560 -location: clients/tests/test-client.py:1077:test_004()/279 +location: clients/tests/test-client.py:1077:test_004()/289 cmd: $NMCLI --terse --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -18635,7 +18959,7 @@ stdout: 391 bytes <<< size: 570 -location: clients/tests/test-client.py:1077:test_004()/280 +location: clients/tests/test-client.py:1077:test_004()/290 cmd: $NMCLI --terse --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -18649,7 +18973,7 @@ stdout: 391 bytes <<< size: 1711 -location: clients/tests/test-client.py:1080:test_004()/281 +location: clients/tests/test-client.py:1080:test_004()/291 cmd: $NMCLI --terse --color yes -f ALL device wifi list lang: C returncode: 0 @@ -18664,7 +18988,7 @@ stdout: 1546 bytes <<< size: 1769 -location: clients/tests/test-client.py:1080:test_004()/282 +location: clients/tests/test-client.py:1080:test_004()/292 cmd: $NMCLI --terse --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -18679,7 +19003,7 @@ stdout: 1594 bytes <<< size: 643 -location: clients/tests/test-client.py:1082:test_004()/283 +location: clients/tests/test-client.py:1082:test_004()/293 cmd: $NMCLI --terse --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -18694,7 +19018,7 @@ stdout: 476 bytes <<< size: 689 -location: clients/tests/test-client.py:1082:test_004()/284 +location: clients/tests/test-client.py:1082:test_004()/294 cmd: $NMCLI --terse --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -18709,7 +19033,7 @@ stdout: 512 bytes <<< size: 1824 -location: clients/tests/test-client.py:1085:test_004()/285 +location: clients/tests/test-client.py:1085:test_004()/295 cmd: $NMCLI --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -18724,7 +19048,7 @@ stdout: 1546 bytes <<< size: 1882 -location: clients/tests/test-client.py:1085:test_004()/286 +location: clients/tests/test-client.py:1085:test_004()/296 cmd: $NMCLI --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -18739,7 +19063,7 @@ stdout: 1594 bytes <<< size: 598 -location: clients/tests/test-client.py:1087:test_004()/287 +location: clients/tests/test-client.py:1087:test_004()/297 cmd: $NMCLI --terse --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -18751,7 +19075,7 @@ stdout: 410 bytes <<< size: 620 -location: clients/tests/test-client.py:1087:test_004()/288 +location: clients/tests/test-client.py:1087:test_004()/298 cmd: $NMCLI --terse --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -18763,7 +19087,7 @@ stdout: 422 bytes <<< size: 314 -location: clients/tests/test-client.py:1089:test_004()/289 +location: clients/tests/test-client.py:1089:test_004()/299 cmd: $NMCLI --terse --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -18775,7 +19099,7 @@ stdout: 123 bytes <<< size: 333 -location: clients/tests/test-client.py:1089:test_004()/290 +location: clients/tests/test-client.py:1089:test_004()/300 cmd: $NMCLI --terse --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -18787,7 +19111,7 @@ stdout: 132 bytes <<< size: 711 -location: clients/tests/test-client.py:1092:test_004()/291 +location: clients/tests/test-client.py:1092:test_004()/301 cmd: $NMCLI --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -18799,7 +19123,7 @@ stdout: 410 bytes <<< size: 733 -location: clients/tests/test-client.py:1092:test_004()/292 +location: clients/tests/test-client.py:1092:test_004()/302 cmd: $NMCLI --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -18811,7 +19135,7 @@ stdout: 422 bytes <<< size: 2924 -location: clients/tests/test-client.py:1094:test_004()/293 +location: clients/tests/test-client.py:1094:test_004()/303 cmd: $NMCLI --terse --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -18911,7 +19235,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2961 -location: clients/tests/test-client.py:1094:test_004()/294 +location: clients/tests/test-client.py:1094:test_004()/304 cmd: $NMCLI --terse --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -19011,7 +19335,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 907 -location: clients/tests/test-client.py:1096:test_004()/295 +location: clients/tests/test-client.py:1096:test_004()/305 cmd: $NMCLI --terse --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -19044,7 +19368,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 917 -location: clients/tests/test-client.py:1096:test_004()/296 +location: clients/tests/test-client.py:1096:test_004()/306 cmd: $NMCLI --terse --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -19077,7 +19401,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 3062 -location: clients/tests/test-client.py:1098:test_004()/297 +location: clients/tests/test-client.py:1098:test_004()/307 cmd: $NMCLI --terse --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -19177,7 +19501,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 3099 -location: clients/tests/test-client.py:1098:test_004()/298 +location: clients/tests/test-client.py:1098:test_004()/308 cmd: $NMCLI --terse --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -19275,9 +19599,69 @@ DHCP6.OPTION[5]:dhcp-6-opt-5 = val-5 CONNECTIONS.AVAILABLE-CONNECTION-PATHS:/org/freedesktop/NetworkManager/Settings/Connection/{2} CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1148 +location: clients/tests/test-client.py:1101:test_004()/309 +cmd: $NMCLI --terse --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 982 bytes +>>> +NEIGHBOR[0].DEVICE:eth0 +NEIGHBOR[0].CHASSIS-ID:00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID:Uplink port +NEIGHBOR[0].PORT-DESCRIPTION:GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME:test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION:Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES:20 (mac-bridge,router) +NEIGHBOR[1].DEVICE:eth0 +NEIGHBOR[1].CHASSIS-ID:chassis1 +NEIGHBOR[1].PORT-ID:44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION:GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME:test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION:Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE:eth0 +NEIGHBOR[2].CHASSIS-ID:00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID:port1 +NEIGHBOR[2].PORT-DESCRIPTION:GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME:test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION:Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES:40 (wlan-access-point,telephone) + +<<< +size: 1158 +location: clients/tests/test-client.py:1101:test_004()/310 +cmd: $NMCLI --terse --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 982 bytes +>>> +NEIGHBOR[0].DEVICE:eth0 +NEIGHBOR[0].CHASSIS-ID:00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID:Uplink port +NEIGHBOR[0].PORT-DESCRIPTION:GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME:test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION:Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES:20 (mac-bridge,router) +NEIGHBOR[1].DEVICE:eth0 +NEIGHBOR[1].CHASSIS-ID:chassis1 +NEIGHBOR[1].PORT-ID:44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION:GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME:test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION:Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE:eth0 +NEIGHBOR[2].CHASSIS-ID:00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID:port1 +NEIGHBOR[2].PORT-DESCRIPTION:GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME:test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION:Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES:40 (wlan-access-point,telephone) + <<< size: 2978 -location: clients/tests/test-client.py:1036:test_004()/299 +location: clients/tests/test-client.py:1036:test_004()/311 cmd: $NMCLI --mode tabular con s con-vpn-1 lang: C returncode: 0 @@ -19306,7 +19690,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 - VPN conn <<< size: 3001 -location: clients/tests/test-client.py:1036:test_004()/300 +location: clients/tests/test-client.py:1036:test_004()/312 cmd: $NMCLI --mode tabular con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -19335,7 +19719,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 — Połą <<< size: 2978 -location: clients/tests/test-client.py:1038:test_004()/301 +location: clients/tests/test-client.py:1038:test_004()/313 cmd: $NMCLI --mode tabular con s con-vpn-1 lang: C returncode: 0 @@ -19364,7 +19748,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 - VPN conn <<< size: 3001 -location: clients/tests/test-client.py:1038:test_004()/302 +location: clients/tests/test-client.py:1038:test_004()/314 cmd: $NMCLI --mode tabular con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -19393,7 +19777,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 — Połą <<< size: 2246 -location: clients/tests/test-client.py:1041:test_004()/303 +location: clients/tests/test-client.py:1041:test_004()/315 cmd: $NMCLI --mode tabular -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -19417,7 +19801,7 @@ proxy none no -- -- <<< size: 2258 -location: clients/tests/test-client.py:1041:test_004()/304 +location: clients/tests/test-client.py:1041:test_004()/316 cmd: $NMCLI --mode tabular -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -19441,7 +19825,7 @@ proxy none nie -- -- <<< size: 412 -location: clients/tests/test-client.py:1047:test_004()/305 +location: clients/tests/test-client.py:1047:test_004()/317 cmd: $NMCLI --mode tabular -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -19452,7 +19836,7 @@ vpn org.freedesktop.NetworkManager.openvpn -- key1 = val1, key2 = val <<< size: 422 -location: clients/tests/test-client.py:1047:test_004()/306 +location: clients/tests/test-client.py:1047:test_004()/318 cmd: $NMCLI --mode tabular -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -19463,7 +19847,7 @@ vpn org.freedesktop.NetworkManager.openvpn -- key1 = val1, key2 = val <<< size: 644 -location: clients/tests/test-client.py:1050:test_004()/307 +location: clients/tests/test-client.py:1050:test_004()/319 cmd: $NMCLI --mode tabular -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -19474,7 +19858,7 @@ GENERAL con-vpn-1 UUID-con-vpn-1-REPLACED-REPLACED-REP wlan0 activated no <<< size: 656 -location: clients/tests/test-client.py:1050:test_004()/308 +location: clients/tests/test-client.py:1050:test_004()/320 cmd: $NMCLI --mode tabular -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -19485,7 +19869,7 @@ GENERAL con-vpn-1 UUID-con-vpn-1-REPLACED-REPLACED-REP wlan0 aktywowano n <<< size: 399 -location: clients/tests/test-client.py:1053:test_004()/309 +location: clients/tests/test-client.py:1053:test_004()/321 cmd: $NMCLI --mode tabular dev s lang: C returncode: 0 @@ -19500,7 +19884,7 @@ wlan1 wifi unavailable -- <<< size: 414 -location: clients/tests/test-client.py:1053:test_004()/310 +location: clients/tests/test-client.py:1053:test_004()/322 cmd: $NMCLI --mode tabular dev s lang: pl_PL.UTF-8 returncode: 0 @@ -19515,7 +19899,7 @@ wlan1 wifi niedostępne -- <<< size: 1426 -location: clients/tests/test-client.py:1056:test_004()/311 +location: clients/tests/test-client.py:1056:test_004()/323 cmd: $NMCLI --mode tabular -f all dev status lang: C returncode: 0 @@ -19530,7 +19914,7 @@ wlan1 wifi unavailable unknown unknown /org/freedesk <<< size: 1441 -location: clients/tests/test-client.py:1056:test_004()/312 +location: clients/tests/test-client.py:1056:test_004()/324 cmd: $NMCLI --mode tabular -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -19545,7 +19929,7 @@ wlan1 wifi niedostępne nieznane nieznane /org/freedes <<< size: 6361 -location: clients/tests/test-client.py:1059:test_004()/313 +location: clients/tests/test-client.py:1059:test_004()/325 cmd: $NMCLI --mode tabular dev show lang: C returncode: 0 @@ -19694,7 +20078,7 @@ IP6 2001:a::88ca:3654:96b:ab44/89 -- dst = 2001:a::cc8b:7c09:4673:bbb0 <<< size: 6388 -location: clients/tests/test-client.py:1059:test_004()/314 +location: clients/tests/test-client.py:1059:test_004()/326 cmd: $NMCLI --mode tabular dev show lang: pl_PL.UTF-8 returncode: 0 @@ -19843,7 +20227,7 @@ IP6 2001:a::88ca:3654:96b:ab44/89 -- dst = 2001:a::cc8b:7c09:4673:bbb0 <<< size: 14861 -location: clients/tests/test-client.py:1062:test_004()/315 +location: clients/tests/test-client.py:1062:test_004()/327 cmd: $NMCLI --mode tabular -f all dev show lang: C returncode: 0 @@ -19981,7 +20365,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 15020 -location: clients/tests/test-client.py:1062:test_004()/316 +location: clients/tests/test-client.py:1062:test_004()/328 cmd: $NMCLI --mode tabular -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -20119,7 +20503,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1130 -location: clients/tests/test-client.py:1065:test_004()/317 +location: clients/tests/test-client.py:1065:test_004()/329 cmd: $NMCLI --mode tabular dev show wlan0 lang: C returncode: 0 @@ -20154,7 +20538,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 1141 -location: clients/tests/test-client.py:1065:test_004()/318 +location: clients/tests/test-client.py:1065:test_004()/330 cmd: $NMCLI --mode tabular dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -20189,7 +20573,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 3012 -location: clients/tests/test-client.py:1068:test_004()/319 +location: clients/tests/test-client.py:1068:test_004()/331 cmd: $NMCLI --mode tabular -f all dev show wlan0 lang: C returncode: 0 @@ -20226,7 +20610,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 3075 -location: clients/tests/test-client.py:1068:test_004()/320 +location: clients/tests/test-client.py:1068:test_004()/332 cmd: $NMCLI --mode tabular -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -20263,7 +20647,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1251 -location: clients/tests/test-client.py:1071:test_004()/321 +location: clients/tests/test-client.py:1071:test_004()/333 cmd: $NMCLI --mode tabular -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -20280,7 +20664,7 @@ WIFI-PROPERTIES yes yes yes yes yes yes yes unknown unknown <<< size: 1278 -location: clients/tests/test-client.py:1071:test_004()/322 +location: clients/tests/test-client.py:1071:test_004()/334 cmd: $NMCLI --mode tabular -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -20297,7 +20681,7 @@ WIFI-PROPERTIES tak tak tak tak tak tak tak nieznane nieznane <<< size: 1251 -location: clients/tests/test-client.py:1074:test_004()/323 +location: clients/tests/test-client.py:1074:test_004()/335 cmd: $NMCLI --mode tabular -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -20314,7 +20698,7 @@ WIFI-PROPERTIES yes yes yes yes yes yes yes unknown unknown <<< size: 1278 -location: clients/tests/test-client.py:1074:test_004()/324 +location: clients/tests/test-client.py:1074:test_004()/336 cmd: $NMCLI --mode tabular -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -20331,7 +20715,7 @@ WIFI-PROPERTIES tak tak tak tak tak tak tak nieznane nieznane <<< size: 530 -location: clients/tests/test-client.py:1077:test_004()/325 +location: clients/tests/test-client.py:1077:test_004()/337 cmd: $NMCLI --mode tabular -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -20346,7 +20730,7 @@ wlan1 wifi /org/freedesktop/NetworkManager/Devices/5 <<< size: 540 -location: clients/tests/test-client.py:1077:test_004()/326 +location: clients/tests/test-client.py:1077:test_004()/338 cmd: $NMCLI --mode tabular -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -20361,7 +20745,7 @@ wlan1 wifi /org/freedesktop/NetworkManager/Devices/5 <<< size: 2000 -location: clients/tests/test-client.py:1080:test_004()/327 +location: clients/tests/test-client.py:1080:test_004()/339 cmd: $NMCLI --mode tabular -f ALL device wifi list lang: C returncode: 0 @@ -20379,7 +20763,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 2068 -location: clients/tests/test-client.py:1080:test_004()/328 +location: clients/tests/test-client.py:1080:test_004()/340 cmd: $NMCLI --mode tabular -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -20397,7 +20781,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 634 -location: clients/tests/test-client.py:1082:test_004()/329 +location: clients/tests/test-client.py:1082:test_004()/341 cmd: $NMCLI --mode tabular -f COMMON device wifi list lang: C returncode: 0 @@ -20415,7 +20799,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 694 -location: clients/tests/test-client.py:1082:test_004()/330 +location: clients/tests/test-client.py:1082:test_004()/342 cmd: $NMCLI --mode tabular -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -20433,7 +20817,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 2113 -location: clients/tests/test-client.py:1085:test_004()/331 +location: clients/tests/test-client.py:1085:test_004()/343 cmd: $NMCLI --mode tabular -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -20451,7 +20835,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 2181 -location: clients/tests/test-client.py:1085:test_004()/332 +location: clients/tests/test-client.py:1085:test_004()/344 cmd: $NMCLI --mode tabular -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -20469,7 +20853,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 753 -location: clients/tests/test-client.py:1087:test_004()/333 +location: clients/tests/test-client.py:1087:test_004()/345 cmd: $NMCLI --mode tabular -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -20482,7 +20866,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infra 1 2412 MH <<< size: 781 -location: clients/tests/test-client.py:1087:test_004()/334 +location: clients/tests/test-client.py:1087:test_004()/346 cmd: $NMCLI --mode tabular -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -20495,7 +20879,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infrastruktura 1 <<< size: 326 -location: clients/tests/test-client.py:1089:test_004()/335 +location: clients/tests/test-client.py:1089:test_004()/347 cmd: $NMCLI --mode tabular -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -20508,7 +20892,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 352 -location: clients/tests/test-client.py:1089:test_004()/336 +location: clients/tests/test-client.py:1089:test_004()/348 cmd: $NMCLI --mode tabular -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -20521,7 +20905,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 866 -location: clients/tests/test-client.py:1092:test_004()/337 +location: clients/tests/test-client.py:1092:test_004()/349 cmd: $NMCLI --mode tabular -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -20534,7 +20918,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infra 1 2412 MH <<< size: 894 -location: clients/tests/test-client.py:1092:test_004()/338 +location: clients/tests/test-client.py:1092:test_004()/350 cmd: $NMCLI --mode tabular -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -20547,7 +20931,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infrastruktura 1 <<< size: 3015 -location: clients/tests/test-client.py:1094:test_004()/339 +location: clients/tests/test-client.py:1094:test_004()/351 cmd: $NMCLI --mode tabular -f ALL device show wlan0 lang: C returncode: 0 @@ -20584,7 +20968,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 3078 -location: clients/tests/test-client.py:1094:test_004()/340 +location: clients/tests/test-client.py:1094:test_004()/352 cmd: $NMCLI --mode tabular -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -20621,7 +21005,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1143 -location: clients/tests/test-client.py:1096:test_004()/341 +location: clients/tests/test-client.py:1096:test_004()/353 cmd: $NMCLI --mode tabular -f COMMON device show wlan0 lang: C returncode: 0 @@ -20656,7 +21040,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 1154 -location: clients/tests/test-client.py:1096:test_004()/342 +location: clients/tests/test-client.py:1096:test_004()/354 cmd: $NMCLI --mode tabular -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -20691,7 +21075,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 3153 -location: clients/tests/test-client.py:1098:test_004()/343 +location: clients/tests/test-client.py:1098:test_004()/355 cmd: $NMCLI --mode tabular -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -20728,7 +21112,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 3216 -location: clients/tests/test-client.py:1098:test_004()/344 +location: clients/tests/test-client.py:1098:test_004()/356 cmd: $NMCLI --mode tabular -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -20763,9 +21147,35 @@ DHCP6 dhcp-6-opt-1 = val-1 | dhcp-6-opt-2 = val-2 | dhcp-6-opt-3 = val-3 | dhcp NAME AVAILABLE-CONNECTION-PATHS AVAILABLE-CONNECTIONS CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1145 +location: clients/tests/test-client.py:1101:test_004()/357 +cmd: $NMCLI --mode tabular dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 984 bytes +>>> +DEVICE CHASSIS-ID PORT-ID PORT-DESCRIPTION SYSTEM-NAME SYSTEM-DESCRIPTION SYSTEM-CAPABILITIES +eth0 00:11:22:33:44:00 Uplink port GigabitEthernet #1 test1.example.com Test system #1 20 (mac-bridge,router) +eth0 chassis1 44:44:44:44:44:44 GigabitEthernet #2 test2.example.com Test system #2 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0 00:11:22:33:44:22 port1 GigabitEthernet #3 test3.example.com Test system #3 40 (wlan-access-point,telephone) + +<<< +size: 1155 +location: clients/tests/test-client.py:1101:test_004()/358 +cmd: $NMCLI --mode tabular dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 984 bytes +>>> +DEVICE CHASSIS-ID PORT-ID PORT-DESCRIPTION SYSTEM-NAME SYSTEM-DESCRIPTION SYSTEM-CAPABILITIES +eth0 00:11:22:33:44:00 Uplink port GigabitEthernet #1 test1.example.com Test system #1 20 (mac-bridge,router) +eth0 chassis1 44:44:44:44:44:44 GigabitEthernet #2 test2.example.com Test system #2 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0 00:11:22:33:44:22 port1 GigabitEthernet #3 test3.example.com Test system #3 40 (wlan-access-point,telephone) + <<< size: 2990 -location: clients/tests/test-client.py:1036:test_004()/345 +location: clients/tests/test-client.py:1036:test_004()/359 cmd: $NMCLI --mode tabular --color yes con s con-vpn-1 lang: C returncode: 0 @@ -20794,7 +21204,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 - VPN conn <<< size: 3013 -location: clients/tests/test-client.py:1036:test_004()/346 +location: clients/tests/test-client.py:1036:test_004()/360 cmd: $NMCLI --mode tabular --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -20823,7 +21233,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 — Połą <<< size: 2990 -location: clients/tests/test-client.py:1038:test_004()/347 +location: clients/tests/test-client.py:1038:test_004()/361 cmd: $NMCLI --mode tabular --color yes con s con-vpn-1 lang: C returncode: 0 @@ -20852,7 +21262,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 - VPN conn <<< size: 3013 -location: clients/tests/test-client.py:1038:test_004()/348 +location: clients/tests/test-client.py:1038:test_004()/362 cmd: $NMCLI --mode tabular --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -20881,7 +21291,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 — Połą <<< size: 2258 -location: clients/tests/test-client.py:1041:test_004()/349 +location: clients/tests/test-client.py:1041:test_004()/363 cmd: $NMCLI --mode tabular --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -20905,7 +21315,7 @@ proxy none no -- -- <<< size: 2270 -location: clients/tests/test-client.py:1041:test_004()/350 +location: clients/tests/test-client.py:1041:test_004()/364 cmd: $NMCLI --mode tabular --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -20929,7 +21339,7 @@ proxy none nie -- -- <<< size: 424 -location: clients/tests/test-client.py:1047:test_004()/351 +location: clients/tests/test-client.py:1047:test_004()/365 cmd: $NMCLI --mode tabular --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -20940,7 +21350,7 @@ vpn org.freedesktop.NetworkManager.openvpn -- key1 = val1, key2 = val <<< size: 434 -location: clients/tests/test-client.py:1047:test_004()/352 +location: clients/tests/test-client.py:1047:test_004()/366 cmd: $NMCLI --mode tabular --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -20951,7 +21361,7 @@ vpn org.freedesktop.NetworkManager.openvpn -- key1 = val1, key2 = val <<< size: 656 -location: clients/tests/test-client.py:1050:test_004()/353 +location: clients/tests/test-client.py:1050:test_004()/367 cmd: $NMCLI --mode tabular --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -20962,7 +21372,7 @@ GENERAL con-vpn-1 UUID-con-vpn-1-REPLACED-REPLACED-REP wlan0 activated no <<< size: 668 -location: clients/tests/test-client.py:1050:test_004()/354 +location: clients/tests/test-client.py:1050:test_004()/368 cmd: $NMCLI --mode tabular --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -20973,7 +21383,7 @@ GENERAL con-vpn-1 UUID-con-vpn-1-REPLACED-REPLACED-REP wlan0 aktywowano n <<< size: 571 -location: clients/tests/test-client.py:1053:test_004()/355 +location: clients/tests/test-client.py:1053:test_004()/369 cmd: $NMCLI --mode tabular --color yes dev s lang: C returncode: 0 @@ -20988,7 +21398,7 @@ DEVICE TYPE STATE CONNECTION <<< size: 586 -location: clients/tests/test-client.py:1053:test_004()/356 +location: clients/tests/test-client.py:1053:test_004()/370 cmd: $NMCLI --mode tabular --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -21003,7 +21413,7 @@ DEVICE TYPE STATE CONNECTION <<< size: 1798 -location: clients/tests/test-client.py:1056:test_004()/357 +location: clients/tests/test-client.py:1056:test_004()/371 cmd: $NMCLI --mode tabular --color yes -f all dev status lang: C returncode: 0 @@ -21018,7 +21428,7 @@ DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH <<< size: 1813 -location: clients/tests/test-client.py:1056:test_004()/358 +location: clients/tests/test-client.py:1056:test_004()/372 cmd: $NMCLI --mode tabular --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -21033,7 +21443,7 @@ DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH <<< size: 6373 -location: clients/tests/test-client.py:1059:test_004()/359 +location: clients/tests/test-client.py:1059:test_004()/373 cmd: $NMCLI --mode tabular --color yes dev show lang: C returncode: 0 @@ -21182,7 +21592,7 @@ IP6 2001:a::88ca:3654:96b:ab44/89 -- dst = 2001:a::cc8b:7c09:4673:bbb0 <<< size: 6400 -location: clients/tests/test-client.py:1059:test_004()/360 +location: clients/tests/test-client.py:1059:test_004()/374 cmd: $NMCLI --mode tabular --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -21331,7 +21741,7 @@ IP6 2001:a::88ca:3654:96b:ab44/89 -- dst = 2001:a::cc8b:7c09:4673:bbb0 <<< size: 15197 -location: clients/tests/test-client.py:1062:test_004()/361 +location: clients/tests/test-client.py:1062:test_004()/375 cmd: $NMCLI --mode tabular --color yes -f all dev show lang: C returncode: 0 @@ -21469,7 +21879,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 15356 -location: clients/tests/test-client.py:1062:test_004()/362 +location: clients/tests/test-client.py:1062:test_004()/376 cmd: $NMCLI --mode tabular --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -21607,7 +22017,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1142 -location: clients/tests/test-client.py:1065:test_004()/363 +location: clients/tests/test-client.py:1065:test_004()/377 cmd: $NMCLI --mode tabular --color yes dev show wlan0 lang: C returncode: 0 @@ -21642,7 +22052,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 1153 -location: clients/tests/test-client.py:1065:test_004()/364 +location: clients/tests/test-client.py:1065:test_004()/378 cmd: $NMCLI --mode tabular --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -21677,7 +22087,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 3267 -location: clients/tests/test-client.py:1068:test_004()/365 +location: clients/tests/test-client.py:1068:test_004()/379 cmd: $NMCLI --mode tabular --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -21714,7 +22124,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 3330 -location: clients/tests/test-client.py:1068:test_004()/366 +location: clients/tests/test-client.py:1068:test_004()/380 cmd: $NMCLI --mode tabular --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -21751,7 +22161,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1263 -location: clients/tests/test-client.py:1071:test_004()/367 +location: clients/tests/test-client.py:1071:test_004()/381 cmd: $NMCLI --mode tabular --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -21768,7 +22178,7 @@ WIFI-PROPERTIES yes yes yes yes yes yes yes unknown unknown <<< size: 1290 -location: clients/tests/test-client.py:1071:test_004()/368 +location: clients/tests/test-client.py:1071:test_004()/382 cmd: $NMCLI --mode tabular --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -21785,7 +22195,7 @@ WIFI-PROPERTIES tak tak tak tak tak tak tak nieznane nieznane <<< size: 1263 -location: clients/tests/test-client.py:1074:test_004()/369 +location: clients/tests/test-client.py:1074:test_004()/383 cmd: $NMCLI --mode tabular --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -21802,7 +22212,7 @@ WIFI-PROPERTIES yes yes yes yes yes yes yes unknown unknown <<< size: 1290 -location: clients/tests/test-client.py:1074:test_004()/370 +location: clients/tests/test-client.py:1074:test_004()/384 cmd: $NMCLI --mode tabular --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -21819,7 +22229,7 @@ WIFI-PROPERTIES tak tak tak tak tak tak tak nieznane nieznane <<< size: 662 -location: clients/tests/test-client.py:1077:test_004()/371 +location: clients/tests/test-client.py:1077:test_004()/385 cmd: $NMCLI --mode tabular --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -21834,7 +22244,7 @@ DEVICE TYPE DBUS-PATH <<< size: 672 -location: clients/tests/test-client.py:1077:test_004()/372 +location: clients/tests/test-client.py:1077:test_004()/386 cmd: $NMCLI --mode tabular --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -21849,7 +22259,7 @@ DEVICE TYPE DBUS-PATH <<< size: 2624 -location: clients/tests/test-client.py:1080:test_004()/373 +location: clients/tests/test-client.py:1080:test_004()/387 cmd: $NMCLI --mode tabular --color yes -f ALL device wifi list lang: C returncode: 0 @@ -21867,7 +22277,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 2692 -location: clients/tests/test-client.py:1080:test_004()/374 +location: clients/tests/test-client.py:1080:test_004()/388 cmd: $NMCLI --mode tabular --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -21885,7 +22295,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 934 -location: clients/tests/test-client.py:1082:test_004()/375 +location: clients/tests/test-client.py:1082:test_004()/389 cmd: $NMCLI --mode tabular --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -21903,7 +22313,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 994 -location: clients/tests/test-client.py:1082:test_004()/376 +location: clients/tests/test-client.py:1082:test_004()/390 cmd: $NMCLI --mode tabular --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -21921,7 +22331,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 2737 -location: clients/tests/test-client.py:1085:test_004()/377 +location: clients/tests/test-client.py:1085:test_004()/391 cmd: $NMCLI --mode tabular --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -21939,7 +22349,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 2805 -location: clients/tests/test-client.py:1085:test_004()/378 +location: clients/tests/test-client.py:1085:test_004()/392 cmd: $NMCLI --mode tabular --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -21957,7 +22367,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 918 -location: clients/tests/test-client.py:1087:test_004()/379 +location: clients/tests/test-client.py:1087:test_004()/393 cmd: $NMCLI --mode tabular --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -21970,7 +22380,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ <<< size: 946 -location: clients/tests/test-client.py:1087:test_004()/380 +location: clients/tests/test-client.py:1087:test_004()/394 cmd: $NMCLI --mode tabular --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -21983,7 +22393,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN <<< size: 410 -location: clients/tests/test-client.py:1089:test_004()/381 +location: clients/tests/test-client.py:1089:test_004()/395 cmd: $NMCLI --mode tabular --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -21996,7 +22406,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 436 -location: clients/tests/test-client.py:1089:test_004()/382 +location: clients/tests/test-client.py:1089:test_004()/396 cmd: $NMCLI --mode tabular --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -22009,7 +22419,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1031 -location: clients/tests/test-client.py:1092:test_004()/383 +location: clients/tests/test-client.py:1092:test_004()/397 cmd: $NMCLI --mode tabular --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -22022,7 +22432,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ <<< size: 1059 -location: clients/tests/test-client.py:1092:test_004()/384 +location: clients/tests/test-client.py:1092:test_004()/398 cmd: $NMCLI --mode tabular --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -22035,7 +22445,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN <<< size: 3270 -location: clients/tests/test-client.py:1094:test_004()/385 +location: clients/tests/test-client.py:1094:test_004()/399 cmd: $NMCLI --mode tabular --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -22072,7 +22482,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 3333 -location: clients/tests/test-client.py:1094:test_004()/386 +location: clients/tests/test-client.py:1094:test_004()/400 cmd: $NMCLI --mode tabular --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -22109,7 +22519,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1155 -location: clients/tests/test-client.py:1096:test_004()/387 +location: clients/tests/test-client.py:1096:test_004()/401 cmd: $NMCLI --mode tabular --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -22144,7 +22554,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 1166 -location: clients/tests/test-client.py:1096:test_004()/388 +location: clients/tests/test-client.py:1096:test_004()/402 cmd: $NMCLI --mode tabular --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -22179,7 +22589,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 3408 -location: clients/tests/test-client.py:1098:test_004()/389 +location: clients/tests/test-client.py:1098:test_004()/403 cmd: $NMCLI --mode tabular --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -22216,7 +22626,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 3471 -location: clients/tests/test-client.py:1098:test_004()/390 +location: clients/tests/test-client.py:1098:test_004()/404 cmd: $NMCLI --mode tabular --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -22251,9 +22661,35 @@ DHCP6 dhcp-6-opt-1 = val-1 | dhcp-6-opt-2 = val-2 | dhcp-6-opt-3 = val-3 | dhcp NAME AVAILABLE-CONNECTION-PATHS AVAILABLE-CONNECTIONS CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1157 +location: clients/tests/test-client.py:1101:test_004()/405 +cmd: $NMCLI --mode tabular --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 984 bytes +>>> +DEVICE CHASSIS-ID PORT-ID PORT-DESCRIPTION SYSTEM-NAME SYSTEM-DESCRIPTION SYSTEM-CAPABILITIES +eth0 00:11:22:33:44:00 Uplink port GigabitEthernet #1 test1.example.com Test system #1 20 (mac-bridge,router) +eth0 chassis1 44:44:44:44:44:44 GigabitEthernet #2 test2.example.com Test system #2 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0 00:11:22:33:44:22 port1 GigabitEthernet #3 test3.example.com Test system #3 40 (wlan-access-point,telephone) + +<<< +size: 1167 +location: clients/tests/test-client.py:1101:test_004()/406 +cmd: $NMCLI --mode tabular --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 984 bytes +>>> +DEVICE CHASSIS-ID PORT-ID PORT-DESCRIPTION SYSTEM-NAME SYSTEM-DESCRIPTION SYSTEM-CAPABILITIES +eth0 00:11:22:33:44:00 Uplink port GigabitEthernet #1 test1.example.com Test system #1 20 (mac-bridge,router) +eth0 chassis1 44:44:44:44:44:44 GigabitEthernet #2 test2.example.com Test system #2 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0 00:11:22:33:44:22 port1 GigabitEthernet #3 test3.example.com Test system #3 40 (wlan-access-point,telephone) + <<< size: 4742 -location: clients/tests/test-client.py:1036:test_004()/391 +location: clients/tests/test-client.py:1036:test_004()/407 cmd: $NMCLI --mode tabular --pretty con s con-vpn-1 lang: C returncode: 0 @@ -22295,7 +22731,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 - VPN conn <<< size: 4798 -location: clients/tests/test-client.py:1036:test_004()/392 +location: clients/tests/test-client.py:1036:test_004()/408 cmd: $NMCLI --mode tabular --pretty con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -22337,7 +22773,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 — Połą <<< size: 4742 -location: clients/tests/test-client.py:1038:test_004()/393 +location: clients/tests/test-client.py:1038:test_004()/409 cmd: $NMCLI --mode tabular --pretty con s con-vpn-1 lang: C returncode: 0 @@ -22379,7 +22815,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 - VPN conn <<< size: 4798 -location: clients/tests/test-client.py:1038:test_004()/394 +location: clients/tests/test-client.py:1038:test_004()/410 cmd: $NMCLI --mode tabular --pretty con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -22421,7 +22857,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 — Połą <<< size: 3428 -location: clients/tests/test-client.py:1041:test_004()/395 +location: clients/tests/test-client.py:1041:test_004()/411 cmd: $NMCLI --mode tabular --pretty -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -22453,7 +22889,7 @@ proxy none no -- -- <<< size: 3451 -location: clients/tests/test-client.py:1041:test_004()/396 +location: clients/tests/test-client.py:1041:test_004()/412 cmd: $NMCLI --mode tabular --pretty -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -22485,7 +22921,7 @@ proxy none nie -- -- <<< size: 676 -location: clients/tests/test-client.py:1047:test_004()/397 +location: clients/tests/test-client.py:1047:test_004()/413 cmd: $NMCLI --mode tabular --pretty -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -22500,7 +22936,7 @@ vpn org.freedesktop.NetworkManager.openvpn -- key1 = val1, key2 = val <<< size: 696 -location: clients/tests/test-client.py:1047:test_004()/398 +location: clients/tests/test-client.py:1047:test_004()/414 cmd: $NMCLI --mode tabular --pretty -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -22515,7 +22951,7 @@ vpn org.freedesktop.NetworkManager.openvpn -- key1 = val1, key2 = val <<< size: 1106 -location: clients/tests/test-client.py:1050:test_004()/399 +location: clients/tests/test-client.py:1050:test_004()/415 cmd: $NMCLI --mode tabular --pretty -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -22530,7 +22966,7 @@ GENERAL con-vpn-1 UUID-con-vpn-1-REPLACED-REPLACED-REP wlan0 activated no <<< size: 1138 -location: clients/tests/test-client.py:1050:test_004()/400 +location: clients/tests/test-client.py:1050:test_004()/416 cmd: $NMCLI --mode tabular --pretty -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -22545,7 +22981,7 @@ GENERAL con-vpn-1 UUID-con-vpn-1-REPLACED-REPLACED-REP wlan0 aktywowano n <<< size: 537 -location: clients/tests/test-client.py:1053:test_004()/401 +location: clients/tests/test-client.py:1053:test_004()/417 cmd: $NMCLI --mode tabular --pretty dev s lang: C returncode: 0 @@ -22564,7 +23000,7 @@ wlan1 wifi unavailable -- <<< size: 545 -location: clients/tests/test-client.py:1053:test_004()/402 +location: clients/tests/test-client.py:1053:test_004()/418 cmd: $NMCLI --mode tabular --pretty dev s lang: pl_PL.UTF-8 returncode: 0 @@ -22583,7 +23019,7 @@ wlan1 wifi niedostępne -- <<< size: 1733 -location: clients/tests/test-client.py:1056:test_004()/403 +location: clients/tests/test-client.py:1056:test_004()/419 cmd: $NMCLI --mode tabular --pretty -f all dev status lang: C returncode: 0 @@ -22602,7 +23038,7 @@ wlan1 wifi unavailable unknown unknown /org/freedesk <<< size: 1741 -location: clients/tests/test-client.py:1056:test_004()/404 +location: clients/tests/test-client.py:1056:test_004()/420 cmd: $NMCLI --mode tabular --pretty -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -22621,7 +23057,7 @@ wlan1 wifi niedostępne nieznane nieznane /org/freedes <<< size: 9891 -location: clients/tests/test-client.py:1059:test_004()/405 +location: clients/tests/test-client.py:1059:test_004()/421 cmd: $NMCLI --mode tabular --pretty dev show lang: C returncode: 0 @@ -22832,7 +23268,7 @@ IP6 2001:a::88ca:3654:96b:ab44/89 -- dst = 2001:a::cc8b:7c09:4673:bbb0 <<< size: 10067 -location: clients/tests/test-client.py:1059:test_004()/406 +location: clients/tests/test-client.py:1059:test_004()/422 cmd: $NMCLI --mode tabular --pretty dev show lang: pl_PL.UTF-8 returncode: 0 @@ -23043,7 +23479,7 @@ IP6 2001:a::88ca:3654:96b:ab44/89 -- dst = 2001:a::cc8b:7c09:4673:bbb0 <<< size: 22590 -location: clients/tests/test-client.py:1062:test_004()/407 +location: clients/tests/test-client.py:1062:test_004()/423 cmd: $NMCLI --mode tabular --pretty -f all dev show lang: C returncode: 0 @@ -23239,7 +23675,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 22951 -location: clients/tests/test-client.py:1062:test_004()/408 +location: clients/tests/test-client.py:1062:test_004()/424 cmd: $NMCLI --mode tabular --pretty -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -23435,7 +23871,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1714 -location: clients/tests/test-client.py:1065:test_004()/409 +location: clients/tests/test-client.py:1065:test_004()/425 cmd: $NMCLI --mode tabular --pretty dev show wlan0 lang: C returncode: 0 @@ -23482,7 +23918,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 1754 -location: clients/tests/test-client.py:1065:test_004()/410 +location: clients/tests/test-client.py:1065:test_004()/426 cmd: $NMCLI --mode tabular --pretty dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -23529,7 +23965,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 4456 -location: clients/tests/test-client.py:1068:test_004()/411 +location: clients/tests/test-client.py:1068:test_004()/427 cmd: $NMCLI --mode tabular --pretty -f all dev show wlan0 lang: C returncode: 0 @@ -23578,7 +24014,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 4564 -location: clients/tests/test-client.py:1068:test_004()/412 +location: clients/tests/test-client.py:1068:test_004()/428 cmd: $NMCLI --mode tabular --pretty -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -23627,7 +24063,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1870 -location: clients/tests/test-client.py:1071:test_004()/413 +location: clients/tests/test-client.py:1071:test_004()/429 cmd: $NMCLI --mode tabular --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -23650,7 +24086,7 @@ WIFI-PROPERTIES yes yes yes yes yes yes yes unknown unknown <<< size: 1934 -location: clients/tests/test-client.py:1071:test_004()/414 +location: clients/tests/test-client.py:1071:test_004()/430 cmd: $NMCLI --mode tabular --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -23673,7 +24109,7 @@ WIFI-PROPERTIES tak tak tak tak tak tak tak nieznane nieznane <<< size: 1870 -location: clients/tests/test-client.py:1074:test_004()/415 +location: clients/tests/test-client.py:1074:test_004()/431 cmd: $NMCLI --mode tabular --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -23696,7 +24132,7 @@ WIFI-PROPERTIES yes yes yes yes yes yes yes unknown unknown <<< size: 1934 -location: clients/tests/test-client.py:1074:test_004()/416 +location: clients/tests/test-client.py:1074:test_004()/432 cmd: $NMCLI --mode tabular --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -23719,7 +24155,7 @@ WIFI-PROPERTIES tak tak tak tak tak tak tak nieznane nieznane <<< size: 686 -location: clients/tests/test-client.py:1077:test_004()/417 +location: clients/tests/test-client.py:1077:test_004()/433 cmd: $NMCLI --mode tabular --pretty -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -23738,7 +24174,7 @@ wlan1 wifi /org/freedesktop/NetworkManager/Devices/5 <<< size: 689 -location: clients/tests/test-client.py:1077:test_004()/418 +location: clients/tests/test-client.py:1077:test_004()/434 cmd: $NMCLI --mode tabular --pretty -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -23757,7 +24193,7 @@ wlan1 wifi /org/freedesktop/NetworkManager/Devices/5 <<< size: 3041 -location: clients/tests/test-client.py:1080:test_004()/419 +location: clients/tests/test-client.py:1080:test_004()/435 cmd: $NMCLI --mode tabular --pretty -f ALL device wifi list lang: C returncode: 0 @@ -23787,7 +24223,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 3279 -location: clients/tests/test-client.py:1080:test_004()/420 +location: clients/tests/test-client.py:1080:test_004()/436 cmd: $NMCLI --mode tabular --pretty -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -23817,7 +24253,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 1167 -location: clients/tests/test-client.py:1082:test_004()/421 +location: clients/tests/test-client.py:1082:test_004()/437 cmd: $NMCLI --mode tabular --pretty -f COMMON device wifi list lang: C returncode: 0 @@ -23847,7 +24283,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1398 -location: clients/tests/test-client.py:1082:test_004()/422 +location: clients/tests/test-client.py:1082:test_004()/438 cmd: $NMCLI --mode tabular --pretty -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -23877,7 +24313,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 3154 -location: clients/tests/test-client.py:1085:test_004()/423 +location: clients/tests/test-client.py:1085:test_004()/439 cmd: $NMCLI --mode tabular --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -23907,7 +24343,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 3392 -location: clients/tests/test-client.py:1085:test_004()/424 +location: clients/tests/test-client.py:1085:test_004()/440 cmd: $NMCLI --mode tabular --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -23937,7 +24373,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 1156 -location: clients/tests/test-client.py:1087:test_004()/425 +location: clients/tests/test-client.py:1087:test_004()/441 cmd: $NMCLI --mode tabular --pretty -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -23954,7 +24390,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infra 1 2412 MH <<< size: 1244 -location: clients/tests/test-client.py:1087:test_004()/426 +location: clients/tests/test-client.py:1087:test_004()/442 cmd: $NMCLI --mode tabular --pretty -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -23971,7 +24407,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infrastruktura 1 <<< size: 514 -location: clients/tests/test-client.py:1089:test_004()/427 +location: clients/tests/test-client.py:1089:test_004()/443 cmd: $NMCLI --mode tabular --pretty -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -23988,7 +24424,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 599 -location: clients/tests/test-client.py:1089:test_004()/428 +location: clients/tests/test-client.py:1089:test_004()/444 cmd: $NMCLI --mode tabular --pretty -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -24005,7 +24441,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1269 -location: clients/tests/test-client.py:1092:test_004()/429 +location: clients/tests/test-client.py:1092:test_004()/445 cmd: $NMCLI --mode tabular --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -24022,7 +24458,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infra 1 2412 MH <<< size: 1357 -location: clients/tests/test-client.py:1092:test_004()/430 +location: clients/tests/test-client.py:1092:test_004()/446 cmd: $NMCLI --mode tabular --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -24039,7 +24475,7 @@ AP[1] wlan0-ap-2 776C616E302D61702D32 C0:E2:BE:E8:EF:B6 Infrastruktura 1 <<< size: 4459 -location: clients/tests/test-client.py:1094:test_004()/431 +location: clients/tests/test-client.py:1094:test_004()/447 cmd: $NMCLI --mode tabular --pretty -f ALL device show wlan0 lang: C returncode: 0 @@ -24088,7 +24524,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 4567 -location: clients/tests/test-client.py:1094:test_004()/432 +location: clients/tests/test-client.py:1094:test_004()/448 cmd: $NMCLI --mode tabular --pretty -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -24137,7 +24573,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1727 -location: clients/tests/test-client.py:1096:test_004()/433 +location: clients/tests/test-client.py:1096:test_004()/449 cmd: $NMCLI --mode tabular --pretty -f COMMON device show wlan0 lang: C returncode: 0 @@ -24184,7 +24620,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 1767 -location: clients/tests/test-client.py:1096:test_004()/434 +location: clients/tests/test-client.py:1096:test_004()/450 cmd: $NMCLI --mode tabular --pretty -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -24231,7 +24667,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 4597 -location: clients/tests/test-client.py:1098:test_004()/435 +location: clients/tests/test-client.py:1098:test_004()/451 cmd: $NMCLI --mode tabular --pretty -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -24280,7 +24716,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 4705 -location: clients/tests/test-client.py:1098:test_004()/436 +location: clients/tests/test-client.py:1098:test_004()/452 cmd: $NMCLI --mode tabular --pretty -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -24327,9 +24763,43 @@ NAME AVAILABLE-CONNECTION-PATHS AVAILABLE- ---------------------------------------------------------------------------------------------------------------------- CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1531 +location: clients/tests/test-client.py:1101:test_004()/453 +cmd: $NMCLI --mode tabular --pretty dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1360 bytes +>>> +================================ + Device LLDP neighbors (eth0) +================================ +DEVICE CHASSIS-ID PORT-ID PORT-DESCRIPTION SYSTEM-NAME SYSTEM-DESCRIPTION SYSTEM-CAPABILITIES +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +eth0 00:11:22:33:44:00 Uplink port GigabitEthernet #1 test1.example.com Test system #1 20 (mac-bridge,router) +eth0 chassis1 44:44:44:44:44:44 GigabitEthernet #2 test2.example.com Test system #2 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0 00:11:22:33:44:22 port1 GigabitEthernet #3 test3.example.com Test system #3 40 (wlan-access-point,telephone) + +<<< +size: 1555 +location: clients/tests/test-client.py:1101:test_004()/454 +cmd: $NMCLI --mode tabular --pretty dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1374 bytes +>>> +=================================== + Sąsiedzi LLDP urządzenia (eth0) +=================================== +DEVICE CHASSIS-ID PORT-ID PORT-DESCRIPTION SYSTEM-NAME SYSTEM-DESCRIPTION SYSTEM-CAPABILITIES +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +eth0 00:11:22:33:44:00 Uplink port GigabitEthernet #1 test1.example.com Test system #1 20 (mac-bridge,router) +eth0 chassis1 44:44:44:44:44:44 GigabitEthernet #2 test2.example.com Test system #2 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0 00:11:22:33:44:22 port1 GigabitEthernet #3 test3.example.com Test system #3 40 (wlan-access-point,telephone) + <<< size: 4754 -location: clients/tests/test-client.py:1036:test_004()/437 +location: clients/tests/test-client.py:1036:test_004()/455 cmd: $NMCLI --mode tabular --pretty --color yes con s con-vpn-1 lang: C returncode: 0 @@ -24371,7 +24841,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 - VPN conn <<< size: 4810 -location: clients/tests/test-client.py:1036:test_004()/438 +location: clients/tests/test-client.py:1036:test_004()/456 cmd: $NMCLI --mode tabular --pretty --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -24413,7 +24883,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 — Połą <<< size: 4754 -location: clients/tests/test-client.py:1038:test_004()/439 +location: clients/tests/test-client.py:1038:test_004()/457 cmd: $NMCLI --mode tabular --pretty --color yes con s con-vpn-1 lang: C returncode: 0 @@ -24455,7 +24925,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 - VPN conn <<< size: 4810 -location: clients/tests/test-client.py:1038:test_004()/440 +location: clients/tests/test-client.py:1038:test_004()/458 cmd: $NMCLI --mode tabular --pretty --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -24497,7 +24967,7 @@ VPN openvpn -- -- *** VPN connection con-vpn-1 *** 5 — Połą <<< size: 3440 -location: clients/tests/test-client.py:1041:test_004()/441 +location: clients/tests/test-client.py:1041:test_004()/459 cmd: $NMCLI --mode tabular --pretty --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -24529,7 +24999,7 @@ proxy none no -- -- <<< size: 3463 -location: clients/tests/test-client.py:1041:test_004()/442 +location: clients/tests/test-client.py:1041:test_004()/460 cmd: $NMCLI --mode tabular --pretty --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -24561,7 +25031,7 @@ proxy none nie -- -- <<< size: 688 -location: clients/tests/test-client.py:1047:test_004()/443 +location: clients/tests/test-client.py:1047:test_004()/461 cmd: $NMCLI --mode tabular --pretty --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -24576,7 +25046,7 @@ vpn org.freedesktop.NetworkManager.openvpn -- key1 = val1, key2 = val <<< size: 708 -location: clients/tests/test-client.py:1047:test_004()/444 +location: clients/tests/test-client.py:1047:test_004()/462 cmd: $NMCLI --mode tabular --pretty --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -24591,7 +25061,7 @@ vpn org.freedesktop.NetworkManager.openvpn -- key1 = val1, key2 = val <<< size: 1118 -location: clients/tests/test-client.py:1050:test_004()/445 +location: clients/tests/test-client.py:1050:test_004()/463 cmd: $NMCLI --mode tabular --pretty --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -24606,7 +25076,7 @@ GENERAL con-vpn-1 UUID-con-vpn-1-REPLACED-REPLACED-REP wlan0 activated no <<< size: 1150 -location: clients/tests/test-client.py:1050:test_004()/446 +location: clients/tests/test-client.py:1050:test_004()/464 cmd: $NMCLI --mode tabular --pretty --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -24621,7 +25091,7 @@ GENERAL con-vpn-1 UUID-con-vpn-1-REPLACED-REPLACED-REP wlan0 aktywowano n <<< size: 709 -location: clients/tests/test-client.py:1053:test_004()/447 +location: clients/tests/test-client.py:1053:test_004()/465 cmd: $NMCLI --mode tabular --pretty --color yes dev s lang: C returncode: 0 @@ -24640,7 +25110,7 @@ DEVICE TYPE STATE CONNECTION <<< size: 717 -location: clients/tests/test-client.py:1053:test_004()/448 +location: clients/tests/test-client.py:1053:test_004()/466 cmd: $NMCLI --mode tabular --pretty --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -24659,7 +25129,7 @@ DEVICE TYPE STATE CONNECTION <<< size: 2105 -location: clients/tests/test-client.py:1056:test_004()/449 +location: clients/tests/test-client.py:1056:test_004()/467 cmd: $NMCLI --mode tabular --pretty --color yes -f all dev status lang: C returncode: 0 @@ -24678,7 +25148,7 @@ DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH <<< size: 2113 -location: clients/tests/test-client.py:1056:test_004()/450 +location: clients/tests/test-client.py:1056:test_004()/468 cmd: $NMCLI --mode tabular --pretty --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -24697,7 +25167,7 @@ DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH <<< size: 9903 -location: clients/tests/test-client.py:1059:test_004()/451 +location: clients/tests/test-client.py:1059:test_004()/469 cmd: $NMCLI --mode tabular --pretty --color yes dev show lang: C returncode: 0 @@ -24908,7 +25378,7 @@ IP6 2001:a::88ca:3654:96b:ab44/89 -- dst = 2001:a::cc8b:7c09:4673:bbb0 <<< size: 10079 -location: clients/tests/test-client.py:1059:test_004()/452 +location: clients/tests/test-client.py:1059:test_004()/470 cmd: $NMCLI --mode tabular --pretty --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -25119,7 +25589,7 @@ IP6 2001:a::88ca:3654:96b:ab44/89 -- dst = 2001:a::cc8b:7c09:4673:bbb0 <<< size: 22926 -location: clients/tests/test-client.py:1062:test_004()/453 +location: clients/tests/test-client.py:1062:test_004()/471 cmd: $NMCLI --mode tabular --pretty --color yes -f all dev show lang: C returncode: 0 @@ -25315,7 +25785,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 23287 -location: clients/tests/test-client.py:1062:test_004()/454 +location: clients/tests/test-client.py:1062:test_004()/472 cmd: $NMCLI --mode tabular --pretty --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -25511,7 +25981,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1726 -location: clients/tests/test-client.py:1065:test_004()/455 +location: clients/tests/test-client.py:1065:test_004()/473 cmd: $NMCLI --mode tabular --pretty --color yes dev show wlan0 lang: C returncode: 0 @@ -25558,7 +26028,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 1766 -location: clients/tests/test-client.py:1065:test_004()/456 +location: clients/tests/test-client.py:1065:test_004()/474 cmd: $NMCLI --mode tabular --pretty --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -25605,7 +26075,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 4711 -location: clients/tests/test-client.py:1068:test_004()/457 +location: clients/tests/test-client.py:1068:test_004()/475 cmd: $NMCLI --mode tabular --pretty --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -25654,7 +26124,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 4819 -location: clients/tests/test-client.py:1068:test_004()/458 +location: clients/tests/test-client.py:1068:test_004()/476 cmd: $NMCLI --mode tabular --pretty --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -25703,7 +26173,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1882 -location: clients/tests/test-client.py:1071:test_004()/459 +location: clients/tests/test-client.py:1071:test_004()/477 cmd: $NMCLI --mode tabular --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -25726,7 +26196,7 @@ WIFI-PROPERTIES yes yes yes yes yes yes yes unknown unknown <<< size: 1946 -location: clients/tests/test-client.py:1071:test_004()/460 +location: clients/tests/test-client.py:1071:test_004()/478 cmd: $NMCLI --mode tabular --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -25749,7 +26219,7 @@ WIFI-PROPERTIES tak tak tak tak tak tak tak nieznane nieznane <<< size: 1882 -location: clients/tests/test-client.py:1074:test_004()/461 +location: clients/tests/test-client.py:1074:test_004()/479 cmd: $NMCLI --mode tabular --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -25772,7 +26242,7 @@ WIFI-PROPERTIES yes yes yes yes yes yes yes unknown unknown <<< size: 1946 -location: clients/tests/test-client.py:1074:test_004()/462 +location: clients/tests/test-client.py:1074:test_004()/480 cmd: $NMCLI --mode tabular --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -25795,7 +26265,7 @@ WIFI-PROPERTIES tak tak tak tak tak tak tak nieznane nieznane <<< size: 818 -location: clients/tests/test-client.py:1077:test_004()/463 +location: clients/tests/test-client.py:1077:test_004()/481 cmd: $NMCLI --mode tabular --pretty --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -25814,7 +26284,7 @@ DEVICE TYPE DBUS-PATH <<< size: 821 -location: clients/tests/test-client.py:1077:test_004()/464 +location: clients/tests/test-client.py:1077:test_004()/482 cmd: $NMCLI --mode tabular --pretty --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -25833,7 +26303,7 @@ DEVICE TYPE DBUS-PATH <<< size: 3665 -location: clients/tests/test-client.py:1080:test_004()/465 +location: clients/tests/test-client.py:1080:test_004()/483 cmd: $NMCLI --mode tabular --pretty --color yes -f ALL device wifi list lang: C returncode: 0 @@ -25863,7 +26333,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 3903 -location: clients/tests/test-client.py:1080:test_004()/466 +location: clients/tests/test-client.py:1080:test_004()/484 cmd: $NMCLI --mode tabular --pretty --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -25893,7 +26363,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 1468 -location: clients/tests/test-client.py:1082:test_004()/467 +location: clients/tests/test-client.py:1082:test_004()/485 cmd: $NMCLI --mode tabular --pretty --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -25923,7 +26393,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1698 -location: clients/tests/test-client.py:1082:test_004()/468 +location: clients/tests/test-client.py:1082:test_004()/486 cmd: $NMCLI --mode tabular --pretty --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -25953,7 +26423,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 3778 -location: clients/tests/test-client.py:1085:test_004()/469 +location: clients/tests/test-client.py:1085:test_004()/487 cmd: $NMCLI --mode tabular --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -25983,7 +26453,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 4016 -location: clients/tests/test-client.py:1085:test_004()/470 +location: clients/tests/test-client.py:1085:test_004()/488 cmd: $NMCLI --mode tabular --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -26013,7 +26483,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA <<< size: 1322 -location: clients/tests/test-client.py:1087:test_004()/471 +location: clients/tests/test-client.py:1087:test_004()/489 cmd: $NMCLI --mode tabular --pretty --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -26030,7 +26500,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ <<< size: 1409 -location: clients/tests/test-client.py:1087:test_004()/472 +location: clients/tests/test-client.py:1087:test_004()/490 cmd: $NMCLI --mode tabular --pretty --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -26047,7 +26517,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN <<< size: 598 -location: clients/tests/test-client.py:1089:test_004()/473 +location: clients/tests/test-client.py:1089:test_004()/491 cmd: $NMCLI --mode tabular --pretty --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -26064,7 +26534,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 683 -location: clients/tests/test-client.py:1089:test_004()/474 +location: clients/tests/test-client.py:1089:test_004()/492 cmd: $NMCLI --mode tabular --pretty --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -26081,7 +26551,7 @@ IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY <<< size: 1435 -location: clients/tests/test-client.py:1092:test_004()/475 +location: clients/tests/test-client.py:1092:test_004()/493 cmd: $NMCLI --mode tabular --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -26098,7 +26568,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ <<< size: 1522 -location: clients/tests/test-client.py:1092:test_004()/476 +location: clients/tests/test-client.py:1092:test_004()/494 cmd: $NMCLI --mode tabular --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -26115,7 +26585,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN <<< size: 4714 -location: clients/tests/test-client.py:1094:test_004()/477 +location: clients/tests/test-client.py:1094:test_004()/495 cmd: $NMCLI --mode tabular --pretty --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -26164,7 +26634,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 4822 -location: clients/tests/test-client.py:1094:test_004()/478 +location: clients/tests/test-client.py:1094:test_004()/496 cmd: $NMCLI --mode tabular --pretty --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -26213,7 +26683,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 1739 -location: clients/tests/test-client.py:1096:test_004()/479 +location: clients/tests/test-client.py:1096:test_004()/497 cmd: $NMCLI --mode tabular --pretty --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -26260,7 +26730,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 1779 -location: clients/tests/test-client.py:1096:test_004()/480 +location: clients/tests/test-client.py:1096:test_004()/498 cmd: $NMCLI --mode tabular --pretty --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -26307,7 +26777,7 @@ IP6 -- -- dst = 2001:a::dd5b:aa7b:b4a2:e42/102, nh = ::, mt = 250 <<< size: 4852 -location: clients/tests/test-client.py:1098:test_004()/481 +location: clients/tests/test-client.py:1098:test_004()/499 cmd: $NMCLI --mode tabular --pretty --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -26356,7 +26826,7 @@ CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-x <<< size: 4960 -location: clients/tests/test-client.py:1098:test_004()/482 +location: clients/tests/test-client.py:1098:test_004()/500 cmd: $NMCLI --mode tabular --pretty --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -26403,9 +26873,43 @@ NAME AVAILABLE-CONNECTION-PATHS AVAILABLE- ---------------------------------------------------------------------------------------------------------------------- CONNECTIONS /org/freedesktop/NetworkManager/Settings/Connection/{2} UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1543 +location: clients/tests/test-client.py:1101:test_004()/501 +cmd: $NMCLI --mode tabular --pretty --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1360 bytes +>>> +================================ + Device LLDP neighbors (eth0) +================================ +DEVICE CHASSIS-ID PORT-ID PORT-DESCRIPTION SYSTEM-NAME SYSTEM-DESCRIPTION SYSTEM-CAPABILITIES +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +eth0 00:11:22:33:44:00 Uplink port GigabitEthernet #1 test1.example.com Test system #1 20 (mac-bridge,router) +eth0 chassis1 44:44:44:44:44:44 GigabitEthernet #2 test2.example.com Test system #2 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0 00:11:22:33:44:22 port1 GigabitEthernet #3 test3.example.com Test system #3 40 (wlan-access-point,telephone) + +<<< +size: 1567 +location: clients/tests/test-client.py:1101:test_004()/502 +cmd: $NMCLI --mode tabular --pretty --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1374 bytes +>>> +=================================== + Sąsiedzi LLDP urządzenia (eth0) +=================================== +DEVICE CHASSIS-ID PORT-ID PORT-DESCRIPTION SYSTEM-NAME SYSTEM-DESCRIPTION SYSTEM-CAPABILITIES +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +eth0 00:11:22:33:44:00 Uplink port GigabitEthernet #1 test1.example.com Test system #1 20 (mac-bridge,router) +eth0 chassis1 44:44:44:44:44:44 GigabitEthernet #2 test2.example.com Test system #2 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0 00:11:22:33:44:22 port1 GigabitEthernet #3 test3.example.com Test system #3 40 (wlan-access-point,telephone) + <<< size: 791 -location: clients/tests/test-client.py:1036:test_004()/483 +location: clients/tests/test-client.py:1036:test_004()/503 cmd: $NMCLI --mode tabular --terse con s con-vpn-1 lang: C returncode: 0 @@ -26421,7 +26925,7 @@ VPN:openvpn:::*** VPN connection con-vpn-1 ***:5 - VPN connected:key1 = val1 | k <<< size: 801 -location: clients/tests/test-client.py:1036:test_004()/484 +location: clients/tests/test-client.py:1036:test_004()/504 cmd: $NMCLI --mode tabular --terse con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -26437,7 +26941,7 @@ VPN:openvpn:::*** VPN connection con-vpn-1 ***:5 - VPN connected:key1 = val1 | k <<< size: 791 -location: clients/tests/test-client.py:1038:test_004()/485 +location: clients/tests/test-client.py:1038:test_004()/505 cmd: $NMCLI --mode tabular --terse con s con-vpn-1 lang: C returncode: 0 @@ -26453,7 +26957,7 @@ VPN:openvpn:::*** VPN connection con-vpn-1 ***:5 - VPN connected:key1 = val1 | k <<< size: 801 -location: clients/tests/test-client.py:1038:test_004()/486 +location: clients/tests/test-client.py:1038:test_004()/506 cmd: $NMCLI --mode tabular --terse con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -26469,7 +26973,7 @@ VPN:openvpn:::*** VPN connection con-vpn-1 ***:5 - VPN connected:key1 = val1 | k <<< size: 504 -location: clients/tests/test-client.py:1041:test_004()/487 +location: clients/tests/test-client.py:1041:test_004()/507 cmd: $NMCLI --mode tabular --terse -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -26483,7 +26987,7 @@ proxy:none:no:: <<< size: 514 -location: clients/tests/test-client.py:1041:test_004()/488 +location: clients/tests/test-client.py:1041:test_004()/508 cmd: $NMCLI --mode tabular --terse -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -26497,7 +27001,7 @@ proxy:none:no:: <<< size: 261 -location: clients/tests/test-client.py:1047:test_004()/489 +location: clients/tests/test-client.py:1047:test_004()/509 cmd: $NMCLI --mode tabular --terse -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -26507,7 +27011,7 @@ vpn:org.freedesktop.NetworkManager.openvpn::key1 = val1, key2 = val2, key3 = val <<< size: 271 -location: clients/tests/test-client.py:1047:test_004()/490 +location: clients/tests/test-client.py:1047:test_004()/510 cmd: $NMCLI --mode tabular --terse -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -26517,7 +27021,7 @@ vpn:org.freedesktop.NetworkManager.openvpn::key1 = val1, key2 = val2, key3 = val <<< size: 359 -location: clients/tests/test-client.py:1050:test_004()/491 +location: clients/tests/test-client.py:1050:test_004()/511 cmd: $NMCLI --mode tabular --terse -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -26527,7 +27031,7 @@ GENERAL:con-vpn-1:UUID-con-vpn-1-REPLACED-REPLACED-REP:wlan0:activated:no:no::ye <<< size: 369 -location: clients/tests/test-client.py:1050:test_004()/492 +location: clients/tests/test-client.py:1050:test_004()/512 cmd: $NMCLI --mode tabular --terse -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -26537,7 +27041,7 @@ GENERAL:con-vpn-1:UUID-con-vpn-1-REPLACED-REPLACED-REP:wlan0:activated:no:no::ye <<< size: 284 -location: clients/tests/test-client.py:1053:test_004()/493 +location: clients/tests/test-client.py:1053:test_004()/513 cmd: $NMCLI --mode tabular --terse dev s lang: C returncode: 0 @@ -26551,7 +27055,7 @@ wlan1:wifi:unavailable: <<< size: 294 -location: clients/tests/test-client.py:1053:test_004()/494 +location: clients/tests/test-client.py:1053:test_004()/514 cmd: $NMCLI --mode tabular --terse dev s lang: pl_PL.UTF-8 returncode: 0 @@ -26565,7 +27069,7 @@ wlan1:wifi:unavailable: <<< size: 682 -location: clients/tests/test-client.py:1056:test_004()/495 +location: clients/tests/test-client.py:1056:test_004()/515 cmd: $NMCLI --mode tabular --terse -f all dev status lang: C returncode: 0 @@ -26579,7 +27083,7 @@ wlan1:wifi:unavailable:unknown:unknown:/org/freedesktop/NetworkManager/Devices/5 <<< size: 692 -location: clients/tests/test-client.py:1056:test_004()/496 +location: clients/tests/test-client.py:1056:test_004()/516 cmd: $NMCLI --mode tabular --terse -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -26593,7 +27097,7 @@ wlan1:wifi:unavailable:unknown:unknown:/org/freedesktop/NetworkManager/Devices/5 <<< size: 3096 -location: clients/tests/test-client.py:1059:test_004()/497 +location: clients/tests/test-client.py:1059:test_004()/517 cmd: $NMCLI --mode tabular --terse dev show lang: C returncode: 0 @@ -26653,7 +27157,7 @@ IP6:2001\:a\:\:88ca\:3654\:96b\:ab44/89::dst = 2001\:a\:\:cc8b\:7c09\:4673\:bbb0 <<< size: 3106 -location: clients/tests/test-client.py:1059:test_004()/498 +location: clients/tests/test-client.py:1059:test_004()/518 cmd: $NMCLI --mode tabular --terse dev show lang: pl_PL.UTF-8 returncode: 0 @@ -26713,7 +27217,7 @@ IP6:2001\:a\:\:88ca\:3654\:96b\:ab44/89::dst = 2001\:a\:\:cc8b\:7c09\:4673\:bbb0 <<< size: 6315 -location: clients/tests/test-client.py:1062:test_004()/499 +location: clients/tests/test-client.py:1062:test_004()/519 cmd: $NMCLI --mode tabular --terse -f all dev show lang: C returncode: 0 @@ -26770,7 +27274,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 6361 -location: clients/tests/test-client.py:1062:test_004()/500 +location: clients/tests/test-client.py:1062:test_004()/520 cmd: $NMCLI --mode tabular --terse -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -26827,7 +27331,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 604 -location: clients/tests/test-client.py:1065:test_004()/501 +location: clients/tests/test-client.py:1065:test_004()/521 cmd: $NMCLI --mode tabular --terse dev show wlan0 lang: C returncode: 0 @@ -26845,7 +27349,7 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se <<< size: 614 -location: clients/tests/test-client.py:1065:test_004()/502 +location: clients/tests/test-client.py:1065:test_004()/522 cmd: $NMCLI --mode tabular --terse dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -26863,7 +27367,7 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se <<< size: 1355 -location: clients/tests/test-client.py:1068:test_004()/503 +location: clients/tests/test-client.py:1068:test_004()/523 cmd: $NMCLI --mode tabular --terse -f all dev show wlan0 lang: C returncode: 0 @@ -26883,7 +27387,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 1392 -location: clients/tests/test-client.py:1068:test_004()/504 +location: clients/tests/test-client.py:1068:test_004()/524 cmd: $NMCLI --mode tabular --terse -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -26903,7 +27407,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 565 -location: clients/tests/test-client.py:1071:test_004()/505 +location: clients/tests/test-client.py:1071:test_004()/525 cmd: $NMCLI --mode tabular --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -26915,7 +27419,7 @@ WIFI-PROPERTIES:yes:yes:yes:yes:yes:yes:yes:unknown:unknown <<< size: 575 -location: clients/tests/test-client.py:1071:test_004()/506 +location: clients/tests/test-client.py:1071:test_004()/526 cmd: $NMCLI --mode tabular --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -26927,7 +27431,7 @@ WIFI-PROPERTIES:yes:yes:yes:yes:yes:yes:yes:unknown:unknown <<< size: 565 -location: clients/tests/test-client.py:1074:test_004()/507 +location: clients/tests/test-client.py:1074:test_004()/527 cmd: $NMCLI --mode tabular --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -26939,7 +27443,7 @@ WIFI-PROPERTIES:yes:yes:yes:yes:yes:yes:yes:unknown:unknown <<< size: 575 -location: clients/tests/test-client.py:1074:test_004()/508 +location: clients/tests/test-client.py:1074:test_004()/528 cmd: $NMCLI --mode tabular --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -26951,7 +27455,7 @@ WIFI-PROPERTIES:yes:yes:yes:yes:yes:yes:yes:unknown:unknown <<< size: 443 -location: clients/tests/test-client.py:1077:test_004()/509 +location: clients/tests/test-client.py:1077:test_004()/529 cmd: $NMCLI --mode tabular --terse -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -26965,7 +27469,7 @@ wlan1:wifi:/org/freedesktop/NetworkManager/Devices/5 <<< size: 453 -location: clients/tests/test-client.py:1077:test_004()/510 +location: clients/tests/test-client.py:1077:test_004()/530 cmd: $NMCLI --mode tabular --terse -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -26979,7 +27483,7 @@ wlan1:wifi:/org/freedesktop/NetworkManager/Devices/5 <<< size: 1101 -location: clients/tests/test-client.py:1080:test_004()/511 +location: clients/tests/test-client.py:1080:test_004()/531 cmd: $NMCLI --mode tabular --terse -f ALL device wifi list lang: C returncode: 0 @@ -26994,7 +27498,7 @@ AP[1]:wlan1-ap-4:776C616E312D61702D34:94\:2B\:E8\:F6\:D2\:86:Infra:1:2412 MHz:54 <<< size: 1159 -location: clients/tests/test-client.py:1080:test_004()/512 +location: clients/tests/test-client.py:1080:test_004()/532 cmd: $NMCLI --mode tabular --terse -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -27009,7 +27513,7 @@ AP[1]:wlan1-ap-4:776C616E312D61702D34:94\:2B\:E8\:F6\:D2\:86:Infrastruktura:1:24 <<< size: 358 -location: clients/tests/test-client.py:1082:test_004()/513 +location: clients/tests/test-client.py:1082:test_004()/533 cmd: $NMCLI --mode tabular --terse -f COMMON device wifi list lang: C returncode: 0 @@ -27024,7 +27528,7 @@ stdout: 188 bytes <<< size: 404 -location: clients/tests/test-client.py:1082:test_004()/514 +location: clients/tests/test-client.py:1082:test_004()/534 cmd: $NMCLI --mode tabular --terse -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -27039,7 +27543,7 @@ stdout: 224 bytes <<< size: 1214 -location: clients/tests/test-client.py:1085:test_004()/515 +location: clients/tests/test-client.py:1085:test_004()/535 cmd: $NMCLI --mode tabular --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -27054,7 +27558,7 @@ AP[1]:wlan1-ap-4:776C616E312D61702D34:94\:2B\:E8\:F6\:D2\:86:Infra:1:2412 MHz:54 <<< size: 1272 -location: clients/tests/test-client.py:1085:test_004()/516 +location: clients/tests/test-client.py:1085:test_004()/536 cmd: $NMCLI --mode tabular --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -27069,7 +27573,7 @@ AP[1]:wlan1-ap-4:776C616E312D61702D34:94\:2B\:E8\:F6\:D2\:86:Infrastruktura:1:24 <<< size: 448 -location: clients/tests/test-client.py:1087:test_004()/517 +location: clients/tests/test-client.py:1087:test_004()/537 cmd: $NMCLI --mode tabular --terse -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -27081,7 +27585,7 @@ AP[1]:wlan0-ap-2:776C616E302D61702D32:C0\:E2\:BE\:E8\:EF\:B6:Infra:1:2412 MHz:54 <<< size: 470 -location: clients/tests/test-client.py:1087:test_004()/518 +location: clients/tests/test-client.py:1087:test_004()/538 cmd: $NMCLI --mode tabular --terse -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -27093,7 +27597,7 @@ AP[1]:wlan0-ap-2:776C616E302D61702D32:C0\:E2\:BE\:E8\:EF\:B6:Infrastruktura:1:24 <<< size: 244 -location: clients/tests/test-client.py:1089:test_004()/519 +location: clients/tests/test-client.py:1089:test_004()/539 cmd: $NMCLI --mode tabular --terse -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -27105,7 +27609,7 @@ stdout: 51 bytes <<< size: 263 -location: clients/tests/test-client.py:1089:test_004()/520 +location: clients/tests/test-client.py:1089:test_004()/540 cmd: $NMCLI --mode tabular --terse -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -27117,7 +27621,7 @@ stdout: 60 bytes <<< size: 561 -location: clients/tests/test-client.py:1092:test_004()/521 +location: clients/tests/test-client.py:1092:test_004()/541 cmd: $NMCLI --mode tabular --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -27129,7 +27633,7 @@ AP[1]:wlan0-ap-2:776C616E302D61702D32:C0\:E2\:BE\:E8\:EF\:B6:Infra:1:2412 MHz:54 <<< size: 583 -location: clients/tests/test-client.py:1092:test_004()/522 +location: clients/tests/test-client.py:1092:test_004()/542 cmd: $NMCLI --mode tabular --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -27141,7 +27645,7 @@ AP[1]:wlan0-ap-2:776C616E302D61702D32:C0\:E2\:BE\:E8\:EF\:B6:Infrastruktura:1:24 <<< size: 1358 -location: clients/tests/test-client.py:1094:test_004()/523 +location: clients/tests/test-client.py:1094:test_004()/543 cmd: $NMCLI --mode tabular --terse -f ALL device show wlan0 lang: C returncode: 0 @@ -27161,7 +27665,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 1395 -location: clients/tests/test-client.py:1094:test_004()/524 +location: clients/tests/test-client.py:1094:test_004()/544 cmd: $NMCLI --mode tabular --terse -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -27181,7 +27685,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 617 -location: clients/tests/test-client.py:1096:test_004()/525 +location: clients/tests/test-client.py:1096:test_004()/545 cmd: $NMCLI --mode tabular --terse -f COMMON device show wlan0 lang: C returncode: 0 @@ -27199,7 +27703,7 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se <<< size: 627 -location: clients/tests/test-client.py:1096:test_004()/526 +location: clients/tests/test-client.py:1096:test_004()/546 cmd: $NMCLI --mode tabular --terse -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -27217,7 +27721,7 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se <<< size: 1496 -location: clients/tests/test-client.py:1098:test_004()/527 +location: clients/tests/test-client.py:1098:test_004()/547 cmd: $NMCLI --mode tabular --terse -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -27237,7 +27741,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 1533 -location: clients/tests/test-client.py:1098:test_004()/528 +location: clients/tests/test-client.py:1098:test_004()/548 cmd: $NMCLI --mode tabular --terse -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -27255,9 +27759,33 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se DHCP6:dhcp-6-opt-1 = val-1 | dhcp-6-opt-2 = val-2 | dhcp-6-opt-3 = val-3 | dhcp-6-opt-4 = val-4 | dhcp-6-opt-5 = val-5 CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 632 +location: clients/tests/test-client.py:1101:test_004()/549 +cmd: $NMCLI --mode tabular --terse dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 463 bytes +>>> +eth0:00\:11\:22\:33\:44\:00:Uplink port:GigabitEthernet #1:test1.example.com:Test system #1:20 (mac-bridge,router) +eth0:chassis1:44\:44\:44\:44\:44\:44:GigabitEthernet #2:test2.example.com:Test system #2:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0:00\:11\:22\:33\:44\:22:port1:GigabitEthernet #3:test3.example.com:Test system #3:40 (wlan-access-point,telephone) + +<<< +size: 642 +location: clients/tests/test-client.py:1101:test_004()/550 +cmd: $NMCLI --mode tabular --terse dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 463 bytes +>>> +eth0:00\:11\:22\:33\:44\:00:Uplink port:GigabitEthernet #1:test1.example.com:Test system #1:20 (mac-bridge,router) +eth0:chassis1:44\:44\:44\:44\:44\:44:GigabitEthernet #2:test2.example.com:Test system #2:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0:00\:11\:22\:33\:44\:22:port1:GigabitEthernet #3:test3.example.com:Test system #3:40 (wlan-access-point,telephone) + <<< size: 803 -location: clients/tests/test-client.py:1036:test_004()/529 +location: clients/tests/test-client.py:1036:test_004()/551 cmd: $NMCLI --mode tabular --terse --color yes con s con-vpn-1 lang: C returncode: 0 @@ -27273,7 +27801,7 @@ VPN:openvpn:::*** VPN connection con-vpn-1 ***:5 - VPN connected:key1 = val1 | k <<< size: 813 -location: clients/tests/test-client.py:1036:test_004()/530 +location: clients/tests/test-client.py:1036:test_004()/552 cmd: $NMCLI --mode tabular --terse --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -27289,7 +27817,7 @@ VPN:openvpn:::*** VPN connection con-vpn-1 ***:5 - VPN connected:key1 = val1 | k <<< size: 803 -location: clients/tests/test-client.py:1038:test_004()/531 +location: clients/tests/test-client.py:1038:test_004()/553 cmd: $NMCLI --mode tabular --terse --color yes con s con-vpn-1 lang: C returncode: 0 @@ -27305,7 +27833,7 @@ VPN:openvpn:::*** VPN connection con-vpn-1 ***:5 - VPN connected:key1 = val1 | k <<< size: 813 -location: clients/tests/test-client.py:1038:test_004()/532 +location: clients/tests/test-client.py:1038:test_004()/554 cmd: $NMCLI --mode tabular --terse --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -27321,7 +27849,7 @@ VPN:openvpn:::*** VPN connection con-vpn-1 ***:5 - VPN connected:key1 = val1 | k <<< size: 516 -location: clients/tests/test-client.py:1041:test_004()/533 +location: clients/tests/test-client.py:1041:test_004()/555 cmd: $NMCLI --mode tabular --terse --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -27335,7 +27863,7 @@ proxy:none:no:: <<< size: 526 -location: clients/tests/test-client.py:1041:test_004()/534 +location: clients/tests/test-client.py:1041:test_004()/556 cmd: $NMCLI --mode tabular --terse --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -27349,7 +27877,7 @@ proxy:none:no:: <<< size: 273 -location: clients/tests/test-client.py:1047:test_004()/535 +location: clients/tests/test-client.py:1047:test_004()/557 cmd: $NMCLI --mode tabular --terse --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -27359,7 +27887,7 @@ vpn:org.freedesktop.NetworkManager.openvpn::key1 = val1, key2 = val2, key3 = val <<< size: 283 -location: clients/tests/test-client.py:1047:test_004()/536 +location: clients/tests/test-client.py:1047:test_004()/558 cmd: $NMCLI --mode tabular --terse --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -27369,7 +27897,7 @@ vpn:org.freedesktop.NetworkManager.openvpn::key1 = val1, key2 = val2, key3 = val <<< size: 371 -location: clients/tests/test-client.py:1050:test_004()/537 +location: clients/tests/test-client.py:1050:test_004()/559 cmd: $NMCLI --mode tabular --terse --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -27379,7 +27907,7 @@ GENERAL:con-vpn-1:UUID-con-vpn-1-REPLACED-REPLACED-REP:wlan0:activated:no:no::ye <<< size: 381 -location: clients/tests/test-client.py:1050:test_004()/538 +location: clients/tests/test-client.py:1050:test_004()/560 cmd: $NMCLI --mode tabular --terse --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -27389,7 +27917,7 @@ GENERAL:con-vpn-1:UUID-con-vpn-1-REPLACED-REPLACED-REP:wlan0:activated:no:no::ye <<< size: 456 -location: clients/tests/test-client.py:1053:test_004()/539 +location: clients/tests/test-client.py:1053:test_004()/561 cmd: $NMCLI --mode tabular --terse --color yes dev s lang: C returncode: 0 @@ -27403,7 +27931,7 @@ stdout: 295 bytes <<< size: 466 -location: clients/tests/test-client.py:1053:test_004()/540 +location: clients/tests/test-client.py:1053:test_004()/562 cmd: $NMCLI --mode tabular --terse --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -27417,7 +27945,7 @@ stdout: 295 bytes <<< size: 1054 -location: clients/tests/test-client.py:1056:test_004()/541 +location: clients/tests/test-client.py:1056:test_004()/563 cmd: $NMCLI --mode tabular --terse --color yes -f all dev status lang: C returncode: 0 @@ -27431,7 +27959,7 @@ stdout: 881 bytes <<< size: 1064 -location: clients/tests/test-client.py:1056:test_004()/542 +location: clients/tests/test-client.py:1056:test_004()/564 cmd: $NMCLI --mode tabular --terse --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -27445,7 +27973,7 @@ stdout: 881 bytes <<< size: 3108 -location: clients/tests/test-client.py:1059:test_004()/543 +location: clients/tests/test-client.py:1059:test_004()/565 cmd: $NMCLI --mode tabular --terse --color yes dev show lang: C returncode: 0 @@ -27505,7 +28033,7 @@ IP6:2001\:a\:\:88ca\:3654\:96b\:ab44/89::dst = 2001\:a\:\:cc8b\:7c09\:4673\:bbb0 <<< size: 3118 -location: clients/tests/test-client.py:1059:test_004()/544 +location: clients/tests/test-client.py:1059:test_004()/566 cmd: $NMCLI --mode tabular --terse --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -27565,7 +28093,7 @@ IP6:2001\:a\:\:88ca\:3654\:96b\:ab44/89::dst = 2001\:a\:\:cc8b\:7c09\:4673\:bbb0 <<< size: 6651 -location: clients/tests/test-client.py:1062:test_004()/545 +location: clients/tests/test-client.py:1062:test_004()/567 cmd: $NMCLI --mode tabular --terse --color yes -f all dev show lang: C returncode: 0 @@ -27622,7 +28150,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 6697 -location: clients/tests/test-client.py:1062:test_004()/546 +location: clients/tests/test-client.py:1062:test_004()/568 cmd: $NMCLI --mode tabular --terse --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -27679,7 +28207,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 616 -location: clients/tests/test-client.py:1065:test_004()/547 +location: clients/tests/test-client.py:1065:test_004()/569 cmd: $NMCLI --mode tabular --terse --color yes dev show wlan0 lang: C returncode: 0 @@ -27697,7 +28225,7 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se <<< size: 626 -location: clients/tests/test-client.py:1065:test_004()/548 +location: clients/tests/test-client.py:1065:test_004()/570 cmd: $NMCLI --mode tabular --terse --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -27715,7 +28243,7 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se <<< size: 1610 -location: clients/tests/test-client.py:1068:test_004()/549 +location: clients/tests/test-client.py:1068:test_004()/571 cmd: $NMCLI --mode tabular --terse --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -27735,7 +28263,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 1647 -location: clients/tests/test-client.py:1068:test_004()/550 +location: clients/tests/test-client.py:1068:test_004()/572 cmd: $NMCLI --mode tabular --terse --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -27755,7 +28283,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 577 -location: clients/tests/test-client.py:1071:test_004()/551 +location: clients/tests/test-client.py:1071:test_004()/573 cmd: $NMCLI --mode tabular --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -27767,7 +28295,7 @@ WIFI-PROPERTIES:yes:yes:yes:yes:yes:yes:yes:unknown:unknown <<< size: 587 -location: clients/tests/test-client.py:1071:test_004()/552 +location: clients/tests/test-client.py:1071:test_004()/574 cmd: $NMCLI --mode tabular --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -27779,7 +28307,7 @@ WIFI-PROPERTIES:yes:yes:yes:yes:yes:yes:yes:unknown:unknown <<< size: 577 -location: clients/tests/test-client.py:1074:test_004()/553 +location: clients/tests/test-client.py:1074:test_004()/575 cmd: $NMCLI --mode tabular --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -27791,7 +28319,7 @@ WIFI-PROPERTIES:yes:yes:yes:yes:yes:yes:yes:unknown:unknown <<< size: 587 -location: clients/tests/test-client.py:1074:test_004()/554 +location: clients/tests/test-client.py:1074:test_004()/576 cmd: $NMCLI --mode tabular --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -27803,7 +28331,7 @@ WIFI-PROPERTIES:yes:yes:yes:yes:yes:yes:yes:unknown:unknown <<< size: 575 -location: clients/tests/test-client.py:1077:test_004()/555 +location: clients/tests/test-client.py:1077:test_004()/577 cmd: $NMCLI --mode tabular --terse --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -27817,7 +28345,7 @@ stdout: 391 bytes <<< size: 585 -location: clients/tests/test-client.py:1077:test_004()/556 +location: clients/tests/test-client.py:1077:test_004()/578 cmd: $NMCLI --mode tabular --terse --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -27831,7 +28359,7 @@ stdout: 391 bytes <<< size: 1726 -location: clients/tests/test-client.py:1080:test_004()/557 +location: clients/tests/test-client.py:1080:test_004()/579 cmd: $NMCLI --mode tabular --terse --color yes -f ALL device wifi list lang: C returncode: 0 @@ -27846,7 +28374,7 @@ stdout: 1546 bytes <<< size: 1784 -location: clients/tests/test-client.py:1080:test_004()/558 +location: clients/tests/test-client.py:1080:test_004()/580 cmd: $NMCLI --mode tabular --terse --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -27861,7 +28389,7 @@ stdout: 1594 bytes <<< size: 658 -location: clients/tests/test-client.py:1082:test_004()/559 +location: clients/tests/test-client.py:1082:test_004()/581 cmd: $NMCLI --mode tabular --terse --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -27876,7 +28404,7 @@ stdout: 476 bytes <<< size: 704 -location: clients/tests/test-client.py:1082:test_004()/560 +location: clients/tests/test-client.py:1082:test_004()/582 cmd: $NMCLI --mode tabular --terse --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -27891,7 +28419,7 @@ stdout: 512 bytes <<< size: 1839 -location: clients/tests/test-client.py:1085:test_004()/561 +location: clients/tests/test-client.py:1085:test_004()/583 cmd: $NMCLI --mode tabular --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -27906,7 +28434,7 @@ stdout: 1546 bytes <<< size: 1897 -location: clients/tests/test-client.py:1085:test_004()/562 +location: clients/tests/test-client.py:1085:test_004()/584 cmd: $NMCLI --mode tabular --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -27921,7 +28449,7 @@ stdout: 1594 bytes <<< size: 613 -location: clients/tests/test-client.py:1087:test_004()/563 +location: clients/tests/test-client.py:1087:test_004()/585 cmd: $NMCLI --mode tabular --terse --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -27933,7 +28461,7 @@ stdout: 410 bytes <<< size: 635 -location: clients/tests/test-client.py:1087:test_004()/564 +location: clients/tests/test-client.py:1087:test_004()/586 cmd: $NMCLI --mode tabular --terse --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -27945,7 +28473,7 @@ stdout: 422 bytes <<< size: 329 -location: clients/tests/test-client.py:1089:test_004()/565 +location: clients/tests/test-client.py:1089:test_004()/587 cmd: $NMCLI --mode tabular --terse --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -27957,7 +28485,7 @@ stdout: 123 bytes <<< size: 348 -location: clients/tests/test-client.py:1089:test_004()/566 +location: clients/tests/test-client.py:1089:test_004()/588 cmd: $NMCLI --mode tabular --terse --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -27969,7 +28497,7 @@ stdout: 132 bytes <<< size: 726 -location: clients/tests/test-client.py:1092:test_004()/567 +location: clients/tests/test-client.py:1092:test_004()/589 cmd: $NMCLI --mode tabular --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -27981,7 +28509,7 @@ stdout: 410 bytes <<< size: 748 -location: clients/tests/test-client.py:1092:test_004()/568 +location: clients/tests/test-client.py:1092:test_004()/590 cmd: $NMCLI --mode tabular --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -27993,7 +28521,7 @@ stdout: 422 bytes <<< size: 1613 -location: clients/tests/test-client.py:1094:test_004()/569 +location: clients/tests/test-client.py:1094:test_004()/591 cmd: $NMCLI --mode tabular --terse --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -28013,7 +28541,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 1650 -location: clients/tests/test-client.py:1094:test_004()/570 +location: clients/tests/test-client.py:1094:test_004()/592 cmd: $NMCLI --mode tabular --terse --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -28033,7 +28561,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 629 -location: clients/tests/test-client.py:1096:test_004()/571 +location: clients/tests/test-client.py:1096:test_004()/593 cmd: $NMCLI --mode tabular --terse --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -28051,7 +28579,7 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se <<< size: 639 -location: clients/tests/test-client.py:1096:test_004()/572 +location: clients/tests/test-client.py:1096:test_004()/594 cmd: $NMCLI --mode tabular --terse --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -28069,7 +28597,7 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se <<< size: 1751 -location: clients/tests/test-client.py:1098:test_004()/573 +location: clients/tests/test-client.py:1098:test_004()/595 cmd: $NMCLI --mode tabular --terse --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -28089,7 +28617,7 @@ CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1 <<< size: 1788 -location: clients/tests/test-client.py:1098:test_004()/574 +location: clients/tests/test-client.py:1098:test_004()/596 cmd: $NMCLI --mode tabular --terse --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -28107,9 +28635,33 @@ IP6:::dst = 2001\:a\:\:dd5b\:aa7b\:b4a2\:e42/102, nh = \:\:, mt = 2504159086::se DHCP6:dhcp-6-opt-1 = val-1 | dhcp-6-opt-2 = val-2 | dhcp-6-opt-3 = val-3 | dhcp-6-opt-4 = val-4 | dhcp-6-opt-5 = val-5 CONNECTIONS:/org/freedesktop/NetworkManager/Settings/Connection/{2}:UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 644 +location: clients/tests/test-client.py:1101:test_004()/597 +cmd: $NMCLI --mode tabular --terse --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 463 bytes +>>> +eth0:00\:11\:22\:33\:44\:00:Uplink port:GigabitEthernet #1:test1.example.com:Test system #1:20 (mac-bridge,router) +eth0:chassis1:44\:44\:44\:44\:44\:44:GigabitEthernet #2:test2.example.com:Test system #2:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0:00\:11\:22\:33\:44\:22:port1:GigabitEthernet #3:test3.example.com:Test system #3:40 (wlan-access-point,telephone) + +<<< +size: 654 +location: clients/tests/test-client.py:1101:test_004()/598 +cmd: $NMCLI --mode tabular --terse --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 463 bytes +>>> +eth0:00\:11\:22\:33\:44\:00:Uplink port:GigabitEthernet #1:test1.example.com:Test system #1:20 (mac-bridge,router) +eth0:chassis1:44\:44\:44\:44\:44\:44:GigabitEthernet #2:test2.example.com:Test system #2:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +eth0:00\:11\:22\:33\:44\:22:port1:GigabitEthernet #3:test3.example.com:Test system #3:40 (wlan-access-point,telephone) + <<< size: 4621 -location: clients/tests/test-client.py:1036:test_004()/575 +location: clients/tests/test-client.py:1036:test_004()/599 cmd: $NMCLI --mode multiline con s con-vpn-1 lang: C returncode: 0 @@ -28211,7 +28763,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4651 -location: clients/tests/test-client.py:1036:test_004()/576 +location: clients/tests/test-client.py:1036:test_004()/600 cmd: $NMCLI --mode multiline con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -28313,7 +28865,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4621 -location: clients/tests/test-client.py:1038:test_004()/577 +location: clients/tests/test-client.py:1038:test_004()/601 cmd: $NMCLI --mode multiline con s con-vpn-1 lang: C returncode: 0 @@ -28415,7 +28967,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4651 -location: clients/tests/test-client.py:1038:test_004()/578 +location: clients/tests/test-client.py:1038:test_004()/602 cmd: $NMCLI --mode multiline con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -28517,7 +29069,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 3540 -location: clients/tests/test-client.py:1041:test_004()/579 +location: clients/tests/test-client.py:1041:test_004()/603 cmd: $NMCLI --mode multiline -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -28599,7 +29151,7 @@ proxy.pac-script: -- <<< size: 3560 -location: clients/tests/test-client.py:1041:test_004()/580 +location: clients/tests/test-client.py:1041:test_004()/604 cmd: $NMCLI --mode multiline -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -28681,7 +29233,7 @@ proxy.pac-script: -- <<< size: 494 -location: clients/tests/test-client.py:1047:test_004()/581 +location: clients/tests/test-client.py:1047:test_004()/605 cmd: $NMCLI --mode multiline -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -28696,7 +29248,7 @@ vpn.timeout: 0 <<< size: 505 -location: clients/tests/test-client.py:1047:test_004()/582 +location: clients/tests/test-client.py:1047:test_004()/606 cmd: $NMCLI --mode multiline -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -28711,7 +29263,7 @@ vpn.timeout: 0 <<< size: 831 -location: clients/tests/test-client.py:1050:test_004()/583 +location: clients/tests/test-client.py:1050:test_004()/607 cmd: $NMCLI --mode multiline -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -28732,7 +29284,7 @@ GENERAL.MASTER-PATH: -- <<< size: 844 -location: clients/tests/test-client.py:1050:test_004()/584 +location: clients/tests/test-client.py:1050:test_004()/608 cmd: $NMCLI --mode multiline -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -28753,7 +29305,7 @@ GENERAL.MASTER-PATH: -- <<< size: 1086 -location: clients/tests/test-client.py:1053:test_004()/585 +location: clients/tests/test-client.py:1053:test_004()/609 cmd: $NMCLI --mode multiline dev s lang: C returncode: 0 @@ -28782,7 +29334,7 @@ CONNECTION: -- <<< size: 1101 -location: clients/tests/test-client.py:1053:test_004()/586 +location: clients/tests/test-client.py:1053:test_004()/610 cmd: $NMCLI --mode multiline dev s lang: pl_PL.UTF-8 returncode: 0 @@ -28811,7 +29363,7 @@ CONNECTION: -- <<< size: 2501 -location: clients/tests/test-client.py:1056:test_004()/587 +location: clients/tests/test-client.py:1056:test_004()/611 cmd: $NMCLI --mode multiline -f all dev status lang: C returncode: 0 @@ -28865,7 +29417,7 @@ CON-PATH: -- <<< size: 2526 -location: clients/tests/test-client.py:1056:test_004()/588 +location: clients/tests/test-client.py:1056:test_004()/612 cmd: $NMCLI --mode multiline -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -28919,7 +29471,7 @@ CON-PATH: -- <<< size: 8065 -location: clients/tests/test-client.py:1059:test_004()/589 +location: clients/tests/test-client.py:1059:test_004()/613 cmd: $NMCLI --mode multiline dev show lang: C returncode: 0 @@ -29065,7 +29617,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 8096 -location: clients/tests/test-client.py:1059:test_004()/590 +location: clients/tests/test-client.py:1059:test_004()/614 cmd: $NMCLI --mode multiline dev show lang: pl_PL.UTF-8 returncode: 0 @@ -29211,7 +29763,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 20678 -location: clients/tests/test-client.py:1062:test_004()/591 +location: clients/tests/test-client.py:1062:test_004()/615 cmd: $NMCLI --mode multiline -f all dev show lang: C returncode: 0 @@ -29600,7 +30152,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 20828 -location: clients/tests/test-client.py:1062:test_004()/592 +location: clients/tests/test-client.py:1062:test_004()/616 cmd: $NMCLI --mode multiline -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -29989,7 +30541,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1516 -location: clients/tests/test-client.py:1065:test_004()/593 +location: clients/tests/test-client.py:1065:test_004()/617 cmd: $NMCLI --mode multiline dev show wlan0 lang: C returncode: 0 @@ -30022,7 +30574,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 1527 -location: clients/tests/test-client.py:1065:test_004()/594 +location: clients/tests/test-client.py:1065:test_004()/618 cmd: $NMCLI --mode multiline dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -30055,7 +30607,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 4865 -location: clients/tests/test-client.py:1068:test_004()/595 +location: clients/tests/test-client.py:1068:test_004()/619 cmd: $NMCLI --mode multiline -f all dev show wlan0 lang: C returncode: 0 @@ -30155,7 +30707,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 4920 -location: clients/tests/test-client.py:1068:test_004()/596 +location: clients/tests/test-client.py:1068:test_004()/620 cmd: $NMCLI --mode multiline -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -30255,7 +30807,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1978 -location: clients/tests/test-client.py:1071:test_004()/597 +location: clients/tests/test-client.py:1071:test_004()/621 cmd: $NMCLI --mode multiline -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -30300,7 +30852,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2002 -location: clients/tests/test-client.py:1071:test_004()/598 +location: clients/tests/test-client.py:1071:test_004()/622 cmd: $NMCLI --mode multiline -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -30345,7 +30897,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 1978 -location: clients/tests/test-client.py:1074:test_004()/599 +location: clients/tests/test-client.py:1074:test_004()/623 cmd: $NMCLI --mode multiline -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -30390,7 +30942,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2002 -location: clients/tests/test-client.py:1074:test_004()/600 +location: clients/tests/test-client.py:1074:test_004()/624 cmd: $NMCLI --mode multiline -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -30435,7 +30987,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 1037 -location: clients/tests/test-client.py:1077:test_004()/601 +location: clients/tests/test-client.py:1077:test_004()/625 cmd: $NMCLI --mode multiline -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -30459,7 +31011,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Devices/ <<< size: 1047 -location: clients/tests/test-client.py:1077:test_004()/602 +location: clients/tests/test-client.py:1077:test_004()/626 cmd: $NMCLI --mode multiline -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -30483,7 +31035,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Devices/ <<< size: 3796 -location: clients/tests/test-client.py:1080:test_004()/603 +location: clients/tests/test-client.py:1080:test_004()/627 cmd: $NMCLI --mode multiline -f ALL device wifi list lang: C returncode: 0 @@ -30562,7 +31114,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 3854 -location: clients/tests/test-client.py:1080:test_004()/604 +location: clients/tests/test-client.py:1080:test_004()/628 cmd: $NMCLI --mode multiline -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -30641,7 +31193,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 1633 -location: clients/tests/test-client.py:1082:test_004()/605 +location: clients/tests/test-client.py:1082:test_004()/629 cmd: $NMCLI --mode multiline -f COMMON device wifi list lang: C returncode: 0 @@ -30684,7 +31236,7 @@ SECURITY: WPA1 WPA2 <<< size: 1679 -location: clients/tests/test-client.py:1082:test_004()/606 +location: clients/tests/test-client.py:1082:test_004()/630 cmd: $NMCLI --mode multiline -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -30727,7 +31279,7 @@ SECURITY: WPA1 WPA2 <<< size: 3909 -location: clients/tests/test-client.py:1085:test_004()/607 +location: clients/tests/test-client.py:1085:test_004()/631 cmd: $NMCLI --mode multiline -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -30806,7 +31358,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 3967 -location: clients/tests/test-client.py:1085:test_004()/608 +location: clients/tests/test-client.py:1085:test_004()/632 cmd: $NMCLI --mode multiline -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -30885,7 +31437,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 1117 -location: clients/tests/test-client.py:1087:test_004()/609 +location: clients/tests/test-client.py:1087:test_004()/633 cmd: $NMCLI --mode multiline -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -30913,7 +31465,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 1139 -location: clients/tests/test-client.py:1087:test_004()/610 +location: clients/tests/test-client.py:1087:test_004()/634 cmd: $NMCLI --mode multiline -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -30941,7 +31493,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 559 -location: clients/tests/test-client.py:1089:test_004()/611 +location: clients/tests/test-client.py:1089:test_004()/635 cmd: $NMCLI --mode multiline -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -30960,7 +31512,7 @@ SECURITY: WPA1 WPA2 <<< size: 578 -location: clients/tests/test-client.py:1089:test_004()/612 +location: clients/tests/test-client.py:1089:test_004()/636 cmd: $NMCLI --mode multiline -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -30979,7 +31531,7 @@ SECURITY: WPA1 WPA2 <<< size: 1230 -location: clients/tests/test-client.py:1092:test_004()/613 +location: clients/tests/test-client.py:1092:test_004()/637 cmd: $NMCLI --mode multiline -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -31007,7 +31559,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 1252 -location: clients/tests/test-client.py:1092:test_004()/614 +location: clients/tests/test-client.py:1092:test_004()/638 cmd: $NMCLI --mode multiline -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -31035,7 +31587,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 4868 -location: clients/tests/test-client.py:1094:test_004()/615 +location: clients/tests/test-client.py:1094:test_004()/639 cmd: $NMCLI --mode multiline -f ALL device show wlan0 lang: C returncode: 0 @@ -31135,7 +31687,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 4923 -location: clients/tests/test-client.py:1094:test_004()/616 +location: clients/tests/test-client.py:1094:test_004()/640 cmd: $NMCLI --mode multiline -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -31235,7 +31787,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1529 -location: clients/tests/test-client.py:1096:test_004()/617 +location: clients/tests/test-client.py:1096:test_004()/641 cmd: $NMCLI --mode multiline -f COMMON device show wlan0 lang: C returncode: 0 @@ -31268,7 +31820,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 1540 -location: clients/tests/test-client.py:1096:test_004()/618 +location: clients/tests/test-client.py:1096:test_004()/642 cmd: $NMCLI --mode multiline -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -31301,7 +31853,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 5006 -location: clients/tests/test-client.py:1098:test_004()/619 +location: clients/tests/test-client.py:1098:test_004()/643 cmd: $NMCLI --mode multiline -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -31401,7 +31953,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 5061 -location: clients/tests/test-client.py:1098:test_004()/620 +location: clients/tests/test-client.py:1098:test_004()/644 cmd: $NMCLI --mode multiline -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -31499,9 +32051,69 @@ DHCP6.OPTION[5]: dhcp-6-opt-5 = val-5 CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/Connection/{2} CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1452 +location: clients/tests/test-client.py:1101:test_004()/645 +cmd: $NMCLI --mode multiline dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1288 bytes +>>> +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) + +<<< +size: 1462 +location: clients/tests/test-client.py:1101:test_004()/646 +cmd: $NMCLI --mode multiline dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1288 bytes +>>> +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) + <<< size: 4633 -location: clients/tests/test-client.py:1036:test_004()/621 +location: clients/tests/test-client.py:1036:test_004()/647 cmd: $NMCLI --mode multiline --color yes con s con-vpn-1 lang: C returncode: 0 @@ -31603,7 +32215,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4663 -location: clients/tests/test-client.py:1036:test_004()/622 +location: clients/tests/test-client.py:1036:test_004()/648 cmd: $NMCLI --mode multiline --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -31705,7 +32317,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4633 -location: clients/tests/test-client.py:1038:test_004()/623 +location: clients/tests/test-client.py:1038:test_004()/649 cmd: $NMCLI --mode multiline --color yes con s con-vpn-1 lang: C returncode: 0 @@ -31807,7 +32419,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4663 -location: clients/tests/test-client.py:1038:test_004()/624 +location: clients/tests/test-client.py:1038:test_004()/650 cmd: $NMCLI --mode multiline --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -31909,7 +32521,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 3552 -location: clients/tests/test-client.py:1041:test_004()/625 +location: clients/tests/test-client.py:1041:test_004()/651 cmd: $NMCLI --mode multiline --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -31991,7 +32603,7 @@ proxy.pac-script: -- <<< size: 3572 -location: clients/tests/test-client.py:1041:test_004()/626 +location: clients/tests/test-client.py:1041:test_004()/652 cmd: $NMCLI --mode multiline --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -32073,7 +32685,7 @@ proxy.pac-script: -- <<< size: 506 -location: clients/tests/test-client.py:1047:test_004()/627 +location: clients/tests/test-client.py:1047:test_004()/653 cmd: $NMCLI --mode multiline --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -32088,7 +32700,7 @@ vpn.timeout: 0 <<< size: 517 -location: clients/tests/test-client.py:1047:test_004()/628 +location: clients/tests/test-client.py:1047:test_004()/654 cmd: $NMCLI --mode multiline --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -32103,7 +32715,7 @@ vpn.timeout: 0 <<< size: 843 -location: clients/tests/test-client.py:1050:test_004()/629 +location: clients/tests/test-client.py:1050:test_004()/655 cmd: $NMCLI --mode multiline --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -32124,7 +32736,7 @@ GENERAL.MASTER-PATH: -- <<< size: 856 -location: clients/tests/test-client.py:1050:test_004()/630 +location: clients/tests/test-client.py:1050:test_004()/656 cmd: $NMCLI --mode multiline --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -32145,7 +32757,7 @@ GENERAL.MASTER-PATH: -- <<< size: 1259 -location: clients/tests/test-client.py:1053:test_004()/631 +location: clients/tests/test-client.py:1053:test_004()/657 cmd: $NMCLI --mode multiline --color yes dev s lang: C returncode: 0 @@ -32174,7 +32786,7 @@ CONNECTION: -- <<< size: 1274 -location: clients/tests/test-client.py:1053:test_004()/632 +location: clients/tests/test-client.py:1053:test_004()/658 cmd: $NMCLI --mode multiline --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -32203,7 +32815,7 @@ CONNECTION: -- <<< size: 2873 -location: clients/tests/test-client.py:1056:test_004()/633 +location: clients/tests/test-client.py:1056:test_004()/659 cmd: $NMCLI --mode multiline --color yes -f all dev status lang: C returncode: 0 @@ -32257,7 +32869,7 @@ CON-PATH: -- <<< size: 2898 -location: clients/tests/test-client.py:1056:test_004()/634 +location: clients/tests/test-client.py:1056:test_004()/660 cmd: $NMCLI --mode multiline --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -32311,7 +32923,7 @@ CON-PATH: -- <<< size: 8077 -location: clients/tests/test-client.py:1059:test_004()/635 +location: clients/tests/test-client.py:1059:test_004()/661 cmd: $NMCLI --mode multiline --color yes dev show lang: C returncode: 0 @@ -32457,7 +33069,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 8108 -location: clients/tests/test-client.py:1059:test_004()/636 +location: clients/tests/test-client.py:1059:test_004()/662 cmd: $NMCLI --mode multiline --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -32603,7 +33215,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 20978 -location: clients/tests/test-client.py:1062:test_004()/637 +location: clients/tests/test-client.py:1062:test_004()/663 cmd: $NMCLI --mode multiline --color yes -f all dev show lang: C returncode: 0 @@ -32992,7 +33604,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 21128 -location: clients/tests/test-client.py:1062:test_004()/638 +location: clients/tests/test-client.py:1062:test_004()/664 cmd: $NMCLI --mode multiline --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -33381,7 +33993,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1528 -location: clients/tests/test-client.py:1065:test_004()/639 +location: clients/tests/test-client.py:1065:test_004()/665 cmd: $NMCLI --mode multiline --color yes dev show wlan0 lang: C returncode: 0 @@ -33414,7 +34026,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 1539 -location: clients/tests/test-client.py:1065:test_004()/640 +location: clients/tests/test-client.py:1065:test_004()/666 cmd: $NMCLI --mode multiline --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -33447,7 +34059,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 5093 -location: clients/tests/test-client.py:1068:test_004()/641 +location: clients/tests/test-client.py:1068:test_004()/667 cmd: $NMCLI --mode multiline --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -33547,7 +34159,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 5148 -location: clients/tests/test-client.py:1068:test_004()/642 +location: clients/tests/test-client.py:1068:test_004()/668 cmd: $NMCLI --mode multiline --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -33647,7 +34259,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1990 -location: clients/tests/test-client.py:1071:test_004()/643 +location: clients/tests/test-client.py:1071:test_004()/669 cmd: $NMCLI --mode multiline --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -33692,7 +34304,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2014 -location: clients/tests/test-client.py:1071:test_004()/644 +location: clients/tests/test-client.py:1071:test_004()/670 cmd: $NMCLI --mode multiline --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -33737,7 +34349,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 1990 -location: clients/tests/test-client.py:1074:test_004()/645 +location: clients/tests/test-client.py:1074:test_004()/671 cmd: $NMCLI --mode multiline --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -33782,7 +34394,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2014 -location: clients/tests/test-client.py:1074:test_004()/646 +location: clients/tests/test-client.py:1074:test_004()/672 cmd: $NMCLI --mode multiline --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -33827,7 +34439,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 1169 -location: clients/tests/test-client.py:1077:test_004()/647 +location: clients/tests/test-client.py:1077:test_004()/673 cmd: $NMCLI --mode multiline --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -33851,7 +34463,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Devi <<< size: 1179 -location: clients/tests/test-client.py:1077:test_004()/648 +location: clients/tests/test-client.py:1077:test_004()/674 cmd: $NMCLI --mode multiline --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -33875,7 +34487,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Devi <<< size: 4420 -location: clients/tests/test-client.py:1080:test_004()/649 +location: clients/tests/test-client.py:1080:test_004()/675 cmd: $NMCLI --mode multiline --color yes -f ALL device wifi list lang: C returncode: 0 @@ -33954,7 +34566,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 4478 -location: clients/tests/test-client.py:1080:test_004()/650 +location: clients/tests/test-client.py:1080:test_004()/676 cmd: $NMCLI --mode multiline --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -34033,7 +34645,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 1933 -location: clients/tests/test-client.py:1082:test_004()/651 +location: clients/tests/test-client.py:1082:test_004()/677 cmd: $NMCLI --mode multiline --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -34076,7 +34688,7 @@ SECURITY: WPA1 WPA2 <<< size: 1979 -location: clients/tests/test-client.py:1082:test_004()/652 +location: clients/tests/test-client.py:1082:test_004()/678 cmd: $NMCLI --mode multiline --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -34119,7 +34731,7 @@ SECURITY: WPA1 WPA2 <<< size: 4533 -location: clients/tests/test-client.py:1085:test_004()/653 +location: clients/tests/test-client.py:1085:test_004()/679 cmd: $NMCLI --mode multiline --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -34198,7 +34810,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 4591 -location: clients/tests/test-client.py:1085:test_004()/654 +location: clients/tests/test-client.py:1085:test_004()/680 cmd: $NMCLI --mode multiline --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -34277,7 +34889,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 1283 -location: clients/tests/test-client.py:1087:test_004()/655 +location: clients/tests/test-client.py:1087:test_004()/681 cmd: $NMCLI --mode multiline --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -34305,7 +34917,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 1305 -location: clients/tests/test-client.py:1087:test_004()/656 +location: clients/tests/test-client.py:1087:test_004()/682 cmd: $NMCLI --mode multiline --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -34333,7 +34945,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 643 -location: clients/tests/test-client.py:1089:test_004()/657 +location: clients/tests/test-client.py:1089:test_004()/683 cmd: $NMCLI --mode multiline --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -34352,7 +34964,7 @@ SECURITY: WPA1 WPA2 <<< size: 662 -location: clients/tests/test-client.py:1089:test_004()/658 +location: clients/tests/test-client.py:1089:test_004()/684 cmd: $NMCLI --mode multiline --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -34371,7 +34983,7 @@ SECURITY: WPA1 WPA2 <<< size: 1396 -location: clients/tests/test-client.py:1092:test_004()/659 +location: clients/tests/test-client.py:1092:test_004()/685 cmd: $NMCLI --mode multiline --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -34399,7 +35011,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 1418 -location: clients/tests/test-client.py:1092:test_004()/660 +location: clients/tests/test-client.py:1092:test_004()/686 cmd: $NMCLI --mode multiline --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -34427,7 +35039,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 5096 -location: clients/tests/test-client.py:1094:test_004()/661 +location: clients/tests/test-client.py:1094:test_004()/687 cmd: $NMCLI --mode multiline --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -34527,7 +35139,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 5151 -location: clients/tests/test-client.py:1094:test_004()/662 +location: clients/tests/test-client.py:1094:test_004()/688 cmd: $NMCLI --mode multiline --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -34627,7 +35239,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 1541 -location: clients/tests/test-client.py:1096:test_004()/663 +location: clients/tests/test-client.py:1096:test_004()/689 cmd: $NMCLI --mode multiline --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -34660,7 +35272,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 1552 -location: clients/tests/test-client.py:1096:test_004()/664 +location: clients/tests/test-client.py:1096:test_004()/690 cmd: $NMCLI --mode multiline --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -34693,7 +35305,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 5234 -location: clients/tests/test-client.py:1098:test_004()/665 +location: clients/tests/test-client.py:1098:test_004()/691 cmd: $NMCLI --mode multiline --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -34793,7 +35405,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 5289 -location: clients/tests/test-client.py:1098:test_004()/666 +location: clients/tests/test-client.py:1098:test_004()/692 cmd: $NMCLI --mode multiline --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -34891,9 +35503,69 @@ DHCP6.OPTION[5]: dhcp-6-opt-5 = val-5 CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/Connection/{2} CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1464 +location: clients/tests/test-client.py:1101:test_004()/693 +cmd: $NMCLI --mode multiline --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1288 bytes +>>> +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) + +<<< +size: 1474 +location: clients/tests/test-client.py:1101:test_004()/694 +cmd: $NMCLI --mode multiline --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1288 bytes +>>> +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) + <<< size: 5642 -location: clients/tests/test-client.py:1036:test_004()/667 +location: clients/tests/test-client.py:1036:test_004()/695 cmd: $NMCLI --mode multiline --pretty con s con-vpn-1 lang: C returncode: 0 @@ -35008,7 +35680,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5684 -location: clients/tests/test-client.py:1036:test_004()/668 +location: clients/tests/test-client.py:1036:test_004()/696 cmd: $NMCLI --mode multiline --pretty con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -35123,7 +35795,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5642 -location: clients/tests/test-client.py:1038:test_004()/669 +location: clients/tests/test-client.py:1038:test_004()/697 cmd: $NMCLI --mode multiline --pretty con s con-vpn-1 lang: C returncode: 0 @@ -35238,7 +35910,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5684 -location: clients/tests/test-client.py:1038:test_004()/670 +location: clients/tests/test-client.py:1038:test_004()/698 cmd: $NMCLI --mode multiline --pretty con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -35353,7 +36025,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4168 -location: clients/tests/test-client.py:1041:test_004()/671 +location: clients/tests/test-client.py:1041:test_004()/699 cmd: $NMCLI --mode multiline --pretty -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -35443,7 +36115,7 @@ proxy.pac-script: -- <<< size: 4193 -location: clients/tests/test-client.py:1041:test_004()/672 +location: clients/tests/test-client.py:1041:test_004()/700 cmd: $NMCLI --mode multiline --pretty -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -35533,7 +36205,7 @@ proxy.pac-script: -- <<< size: 802 -location: clients/tests/test-client.py:1047:test_004()/673 +location: clients/tests/test-client.py:1047:test_004()/701 cmd: $NMCLI --mode multiline --pretty -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -35552,7 +36224,7 @@ vpn.timeout: 0 <<< size: 818 -location: clients/tests/test-client.py:1047:test_004()/674 +location: clients/tests/test-client.py:1047:test_004()/702 cmd: $NMCLI --mode multiline --pretty -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -35571,7 +36243,7 @@ vpn.timeout: 0 <<< size: 1153 -location: clients/tests/test-client.py:1050:test_004()/675 +location: clients/tests/test-client.py:1050:test_004()/703 cmd: $NMCLI --mode multiline --pretty -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -35596,7 +36268,7 @@ GENERAL.MASTER-PATH: -- <<< size: 1173 -location: clients/tests/test-client.py:1050:test_004()/676 +location: clients/tests/test-client.py:1050:test_004()/704 cmd: $NMCLI --mode multiline --pretty -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -35621,7 +36293,7 @@ GENERAL.MASTER-PATH: -- <<< size: 1705 -location: clients/tests/test-client.py:1053:test_004()/677 +location: clients/tests/test-client.py:1053:test_004()/705 cmd: $NMCLI --mode multiline --pretty dev s lang: C returncode: 0 @@ -35658,7 +36330,7 @@ CONNECTION: -- <<< size: 1720 -location: clients/tests/test-client.py:1053:test_004()/678 +location: clients/tests/test-client.py:1053:test_004()/706 cmd: $NMCLI --mode multiline --pretty dev s lang: pl_PL.UTF-8 returncode: 0 @@ -35695,7 +36367,7 @@ CONNECTION: -- <<< size: 3119 -location: clients/tests/test-client.py:1056:test_004()/679 +location: clients/tests/test-client.py:1056:test_004()/707 cmd: $NMCLI --mode multiline --pretty -f all dev status lang: C returncode: 0 @@ -35757,7 +36429,7 @@ CON-PATH: -- <<< size: 3144 -location: clients/tests/test-client.py:1056:test_004()/680 +location: clients/tests/test-client.py:1056:test_004()/708 cmd: $NMCLI --mode multiline --pretty -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -35819,7 +36491,7 @@ CON-PATH: -- <<< size: 12890 -location: clients/tests/test-client.py:1059:test_004()/681 +location: clients/tests/test-client.py:1059:test_004()/709 cmd: $NMCLI --mode multiline --pretty dev show lang: C returncode: 0 @@ -36027,7 +36699,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 12954 -location: clients/tests/test-client.py:1059:test_004()/682 +location: clients/tests/test-client.py:1059:test_004()/710 cmd: $NMCLI --mode multiline --pretty dev show lang: pl_PL.UTF-8 returncode: 0 @@ -36235,7 +36907,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 25262 -location: clients/tests/test-client.py:1062:test_004()/683 +location: clients/tests/test-client.py:1062:test_004()/711 cmd: $NMCLI --mode multiline --pretty -f all dev show lang: C returncode: 0 @@ -36683,7 +37355,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 25445 -location: clients/tests/test-client.py:1062:test_004()/684 +location: clients/tests/test-client.py:1062:test_004()/712 cmd: $NMCLI --mode multiline --pretty -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -37131,7 +37803,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2456 -location: clients/tests/test-client.py:1065:test_004()/685 +location: clients/tests/test-client.py:1065:test_004()/713 cmd: $NMCLI --mode multiline --pretty dev show wlan0 lang: C returncode: 0 @@ -37176,7 +37848,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 2474 -location: clients/tests/test-client.py:1065:test_004()/686 +location: clients/tests/test-client.py:1065:test_004()/714 cmd: $NMCLI --mode multiline --pretty dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -37221,7 +37893,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 5965 -location: clients/tests/test-client.py:1068:test_004()/687 +location: clients/tests/test-client.py:1068:test_004()/715 cmd: $NMCLI --mode multiline --pretty -f all dev show wlan0 lang: C returncode: 0 @@ -37335,7 +38007,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6027 -location: clients/tests/test-client.py:1068:test_004()/688 +location: clients/tests/test-client.py:1068:test_004()/716 cmd: $NMCLI --mode multiline --pretty -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -37449,7 +38121,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2438 -location: clients/tests/test-client.py:1071:test_004()/689 +location: clients/tests/test-client.py:1071:test_004()/717 cmd: $NMCLI --mode multiline --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -37500,7 +38172,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2469 -location: clients/tests/test-client.py:1071:test_004()/690 +location: clients/tests/test-client.py:1071:test_004()/718 cmd: $NMCLI --mode multiline --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -37551,7 +38223,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 2438 -location: clients/tests/test-client.py:1074:test_004()/691 +location: clients/tests/test-client.py:1074:test_004()/719 cmd: $NMCLI --mode multiline --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -37602,7 +38274,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2469 -location: clients/tests/test-client.py:1074:test_004()/692 +location: clients/tests/test-client.py:1074:test_004()/720 cmd: $NMCLI --mode multiline --pretty -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -37653,7 +38325,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 1656 -location: clients/tests/test-client.py:1077:test_004()/693 +location: clients/tests/test-client.py:1077:test_004()/721 cmd: $NMCLI --mode multiline --pretty -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -37685,7 +38357,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Devices/ <<< size: 1666 -location: clients/tests/test-client.py:1077:test_004()/694 +location: clients/tests/test-client.py:1077:test_004()/722 cmd: $NMCLI --mode multiline --pretty -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -37717,7 +38389,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Devices/ <<< size: 4761 -location: clients/tests/test-client.py:1080:test_004()/695 +location: clients/tests/test-client.py:1080:test_004()/723 cmd: $NMCLI --mode multiline --pretty -f ALL device wifi list lang: C returncode: 0 @@ -37809,7 +38481,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 4837 -location: clients/tests/test-client.py:1080:test_004()/696 +location: clients/tests/test-client.py:1080:test_004()/724 cmd: $NMCLI --mode multiline --pretty -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -37901,7 +38573,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 2598 -location: clients/tests/test-client.py:1082:test_004()/697 +location: clients/tests/test-client.py:1082:test_004()/725 cmd: $NMCLI --mode multiline --pretty -f COMMON device wifi list lang: C returncode: 0 @@ -37957,7 +38629,7 @@ SECURITY: WPA1 WPA2 <<< size: 2662 -location: clients/tests/test-client.py:1082:test_004()/698 +location: clients/tests/test-client.py:1082:test_004()/726 cmd: $NMCLI --mode multiline --pretty -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -38013,7 +38685,7 @@ SECURITY: WPA1 WPA2 <<< size: 4874 -location: clients/tests/test-client.py:1085:test_004()/699 +location: clients/tests/test-client.py:1085:test_004()/727 cmd: $NMCLI --mode multiline --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -38105,7 +38777,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 4950 -location: clients/tests/test-client.py:1085:test_004()/700 +location: clients/tests/test-client.py:1085:test_004()/728 cmd: $NMCLI --mode multiline --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -38197,7 +38869,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 1419 -location: clients/tests/test-client.py:1087:test_004()/701 +location: clients/tests/test-client.py:1087:test_004()/729 cmd: $NMCLI --mode multiline --pretty -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -38229,7 +38901,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 1447 -location: clients/tests/test-client.py:1087:test_004()/702 +location: clients/tests/test-client.py:1087:test_004()/730 cmd: $NMCLI --mode multiline --pretty -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -38261,7 +38933,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 860 -location: clients/tests/test-client.py:1089:test_004()/703 +location: clients/tests/test-client.py:1089:test_004()/731 cmd: $NMCLI --mode multiline --pretty -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -38284,7 +38956,7 @@ SECURITY: WPA1 WPA2 <<< size: 885 -location: clients/tests/test-client.py:1089:test_004()/704 +location: clients/tests/test-client.py:1089:test_004()/732 cmd: $NMCLI --mode multiline --pretty -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -38307,7 +38979,7 @@ SECURITY: WPA1 WPA2 <<< size: 1532 -location: clients/tests/test-client.py:1092:test_004()/705 +location: clients/tests/test-client.py:1092:test_004()/733 cmd: $NMCLI --mode multiline --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -38339,7 +39011,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 1560 -location: clients/tests/test-client.py:1092:test_004()/706 +location: clients/tests/test-client.py:1092:test_004()/734 cmd: $NMCLI --mode multiline --pretty -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -38371,7 +39043,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/AccessPo <<< size: 5968 -location: clients/tests/test-client.py:1094:test_004()/707 +location: clients/tests/test-client.py:1094:test_004()/735 cmd: $NMCLI --mode multiline --pretty -f ALL device show wlan0 lang: C returncode: 0 @@ -38485,7 +39157,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6030 -location: clients/tests/test-client.py:1094:test_004()/708 +location: clients/tests/test-client.py:1094:test_004()/736 cmd: $NMCLI --mode multiline --pretty -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -38599,7 +39271,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2469 -location: clients/tests/test-client.py:1096:test_004()/709 +location: clients/tests/test-client.py:1096:test_004()/737 cmd: $NMCLI --mode multiline --pretty -f COMMON device show wlan0 lang: C returncode: 0 @@ -38644,7 +39316,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 2487 -location: clients/tests/test-client.py:1096:test_004()/710 +location: clients/tests/test-client.py:1096:test_004()/738 cmd: $NMCLI --mode multiline --pretty -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -38689,7 +39361,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 6106 -location: clients/tests/test-client.py:1098:test_004()/711 +location: clients/tests/test-client.py:1098:test_004()/739 cmd: $NMCLI --mode multiline --pretty -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -38803,7 +39475,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6168 -location: clients/tests/test-client.py:1098:test_004()/712 +location: clients/tests/test-client.py:1098:test_004()/740 cmd: $NMCLI --mode multiline --pretty -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -38915,9 +39587,81 @@ CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 ------------------------------------------------------------------------------- +<<< +size: 1915 +location: clients/tests/test-client.py:1101:test_004()/741 +cmd: $NMCLI --mode multiline --pretty dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1742 bytes +>>> +=============================================================================== + Device LLDP neighbors (eth0) +=============================================================================== +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +------------------------------------------------------------------------------- +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +------------------------------------------------------------------------------- +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) +------------------------------------------------------------------------------- + +<<< +size: 1929 +location: clients/tests/test-client.py:1101:test_004()/742 +cmd: $NMCLI --mode multiline --pretty dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1746 bytes +>>> +=============================================================================== + Sąsiedzi LLDP urządzenia (eth0) +=============================================================================== +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +------------------------------------------------------------------------------- +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +------------------------------------------------------------------------------- +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) +------------------------------------------------------------------------------- + <<< size: 5654 -location: clients/tests/test-client.py:1036:test_004()/713 +location: clients/tests/test-client.py:1036:test_004()/743 cmd: $NMCLI --mode multiline --pretty --color yes con s con-vpn-1 lang: C returncode: 0 @@ -39032,7 +39776,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5696 -location: clients/tests/test-client.py:1036:test_004()/714 +location: clients/tests/test-client.py:1036:test_004()/744 cmd: $NMCLI --mode multiline --pretty --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -39147,7 +39891,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5654 -location: clients/tests/test-client.py:1038:test_004()/715 +location: clients/tests/test-client.py:1038:test_004()/745 cmd: $NMCLI --mode multiline --pretty --color yes con s con-vpn-1 lang: C returncode: 0 @@ -39262,7 +40006,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 5696 -location: clients/tests/test-client.py:1038:test_004()/716 +location: clients/tests/test-client.py:1038:test_004()/746 cmd: $NMCLI --mode multiline --pretty --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -39377,7 +40121,7 @@ VPN.CFG[3]: key3 = val3 <<< size: 4180 -location: clients/tests/test-client.py:1041:test_004()/717 +location: clients/tests/test-client.py:1041:test_004()/747 cmd: $NMCLI --mode multiline --pretty --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -39467,7 +40211,7 @@ proxy.pac-script: -- <<< size: 4205 -location: clients/tests/test-client.py:1041:test_004()/718 +location: clients/tests/test-client.py:1041:test_004()/748 cmd: $NMCLI --mode multiline --pretty --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -39557,7 +40301,7 @@ proxy.pac-script: -- <<< size: 814 -location: clients/tests/test-client.py:1047:test_004()/719 +location: clients/tests/test-client.py:1047:test_004()/749 cmd: $NMCLI --mode multiline --pretty --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -39576,7 +40320,7 @@ vpn.timeout: 0 <<< size: 830 -location: clients/tests/test-client.py:1047:test_004()/720 +location: clients/tests/test-client.py:1047:test_004()/750 cmd: $NMCLI --mode multiline --pretty --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -39595,7 +40339,7 @@ vpn.timeout: 0 <<< size: 1165 -location: clients/tests/test-client.py:1050:test_004()/721 +location: clients/tests/test-client.py:1050:test_004()/751 cmd: $NMCLI --mode multiline --pretty --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -39620,7 +40364,7 @@ GENERAL.MASTER-PATH: -- <<< size: 1185 -location: clients/tests/test-client.py:1050:test_004()/722 +location: clients/tests/test-client.py:1050:test_004()/752 cmd: $NMCLI --mode multiline --pretty --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -39645,7 +40389,7 @@ GENERAL.MASTER-PATH: -- <<< size: 1877 -location: clients/tests/test-client.py:1053:test_004()/723 +location: clients/tests/test-client.py:1053:test_004()/753 cmd: $NMCLI --mode multiline --pretty --color yes dev s lang: C returncode: 0 @@ -39682,7 +40426,7 @@ CONNECTION: -- <<< size: 1892 -location: clients/tests/test-client.py:1053:test_004()/724 +location: clients/tests/test-client.py:1053:test_004()/754 cmd: $NMCLI --mode multiline --pretty --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -39719,7 +40463,7 @@ CONNECTION: -- <<< size: 3491 -location: clients/tests/test-client.py:1056:test_004()/725 +location: clients/tests/test-client.py:1056:test_004()/755 cmd: $NMCLI --mode multiline --pretty --color yes -f all dev status lang: C returncode: 0 @@ -39781,7 +40525,7 @@ CON-PATH: -- <<< size: 3516 -location: clients/tests/test-client.py:1056:test_004()/726 +location: clients/tests/test-client.py:1056:test_004()/756 cmd: $NMCLI --mode multiline --pretty --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -39843,7 +40587,7 @@ CON-PATH: -- <<< size: 12902 -location: clients/tests/test-client.py:1059:test_004()/727 +location: clients/tests/test-client.py:1059:test_004()/757 cmd: $NMCLI --mode multiline --pretty --color yes dev show lang: C returncode: 0 @@ -40051,7 +40795,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 12966 -location: clients/tests/test-client.py:1059:test_004()/728 +location: clients/tests/test-client.py:1059:test_004()/758 cmd: $NMCLI --mode multiline --pretty --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -40259,7 +41003,7 @@ IP6.DOMAIN[1]: sear6.fo.x.y <<< size: 25562 -location: clients/tests/test-client.py:1062:test_004()/729 +location: clients/tests/test-client.py:1062:test_004()/759 cmd: $NMCLI --mode multiline --pretty --color yes -f all dev show lang: C returncode: 0 @@ -40707,7 +41451,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 25745 -location: clients/tests/test-client.py:1062:test_004()/730 +location: clients/tests/test-client.py:1062:test_004()/760 cmd: $NMCLI --mode multiline --pretty --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -41155,7 +41899,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2468 -location: clients/tests/test-client.py:1065:test_004()/731 +location: clients/tests/test-client.py:1065:test_004()/761 cmd: $NMCLI --mode multiline --pretty --color yes dev show wlan0 lang: C returncode: 0 @@ -41200,7 +41944,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 2486 -location: clients/tests/test-client.py:1065:test_004()/732 +location: clients/tests/test-client.py:1065:test_004()/762 cmd: $NMCLI --mode multiline --pretty --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -41245,7 +41989,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 6193 -location: clients/tests/test-client.py:1068:test_004()/733 +location: clients/tests/test-client.py:1068:test_004()/763 cmd: $NMCLI --mode multiline --pretty --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -41359,7 +42103,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6255 -location: clients/tests/test-client.py:1068:test_004()/734 +location: clients/tests/test-client.py:1068:test_004()/764 cmd: $NMCLI --mode multiline --pretty --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -41473,7 +42217,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2450 -location: clients/tests/test-client.py:1071:test_004()/735 +location: clients/tests/test-client.py:1071:test_004()/765 cmd: $NMCLI --mode multiline --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -41524,7 +42268,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2481 -location: clients/tests/test-client.py:1071:test_004()/736 +location: clients/tests/test-client.py:1071:test_004()/766 cmd: $NMCLI --mode multiline --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -41575,7 +42319,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 2450 -location: clients/tests/test-client.py:1074:test_004()/737 +location: clients/tests/test-client.py:1074:test_004()/767 cmd: $NMCLI --mode multiline --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -41626,7 +42370,7 @@ WIFI-PROPERTIES.5GHZ: unknown <<< size: 2481 -location: clients/tests/test-client.py:1074:test_004()/738 +location: clients/tests/test-client.py:1074:test_004()/768 cmd: $NMCLI --mode multiline --pretty --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -41677,7 +42421,7 @@ WIFI-PROPERTIES.5GHZ: nieznane <<< size: 1788 -location: clients/tests/test-client.py:1077:test_004()/739 +location: clients/tests/test-client.py:1077:test_004()/769 cmd: $NMCLI --mode multiline --pretty --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -41709,7 +42453,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Devi <<< size: 1798 -location: clients/tests/test-client.py:1077:test_004()/740 +location: clients/tests/test-client.py:1077:test_004()/770 cmd: $NMCLI --mode multiline --pretty --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -41741,7 +42485,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Devi <<< size: 5385 -location: clients/tests/test-client.py:1080:test_004()/741 +location: clients/tests/test-client.py:1080:test_004()/771 cmd: $NMCLI --mode multiline --pretty --color yes -f ALL device wifi list lang: C returncode: 0 @@ -41833,7 +42577,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 5461 -location: clients/tests/test-client.py:1080:test_004()/742 +location: clients/tests/test-client.py:1080:test_004()/772 cmd: $NMCLI --mode multiline --pretty --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -41925,7 +42669,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 2898 -location: clients/tests/test-client.py:1082:test_004()/743 +location: clients/tests/test-client.py:1082:test_004()/773 cmd: $NMCLI --mode multiline --pretty --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -41981,7 +42725,7 @@ SECURITY: WPA1 WPA2 <<< size: 2962 -location: clients/tests/test-client.py:1082:test_004()/744 +location: clients/tests/test-client.py:1082:test_004()/774 cmd: $NMCLI --mode multiline --pretty --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -42037,7 +42781,7 @@ SECURITY: WPA1 WPA2 <<< size: 5498 -location: clients/tests/test-client.py:1085:test_004()/745 +location: clients/tests/test-client.py:1085:test_004()/775 cmd: $NMCLI --mode multiline --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -42129,7 +42873,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 5574 -location: clients/tests/test-client.py:1085:test_004()/746 +location: clients/tests/test-client.py:1085:test_004()/776 cmd: $NMCLI --mode multiline --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -42221,7 +42965,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 1584 -location: clients/tests/test-client.py:1087:test_004()/747 +location: clients/tests/test-client.py:1087:test_004()/777 cmd: $NMCLI --mode multiline --pretty --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -42253,7 +42997,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 1612 -location: clients/tests/test-client.py:1087:test_004()/748 +location: clients/tests/test-client.py:1087:test_004()/778 cmd: $NMCLI --mode multiline --pretty --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -42285,7 +43029,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 944 -location: clients/tests/test-client.py:1089:test_004()/749 +location: clients/tests/test-client.py:1089:test_004()/779 cmd: $NMCLI --mode multiline --pretty --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -42308,7 +43052,7 @@ SECURITY: WPA1 WPA2 <<< size: 969 -location: clients/tests/test-client.py:1089:test_004()/750 +location: clients/tests/test-client.py:1089:test_004()/780 cmd: $NMCLI --mode multiline --pretty --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -42331,7 +43075,7 @@ SECURITY: WPA1 WPA2 <<< size: 1697 -location: clients/tests/test-client.py:1092:test_004()/751 +location: clients/tests/test-client.py:1092:test_004()/781 cmd: $NMCLI --mode multiline --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -42363,7 +43107,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 1725 -location: clients/tests/test-client.py:1092:test_004()/752 +location: clients/tests/test-client.py:1092:test_004()/782 cmd: $NMCLI --mode multiline --pretty --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -42395,7 +43139,7 @@ DBUS-PATH: /org/freedesktop/NetworkManager/Acc <<< size: 6196 -location: clients/tests/test-client.py:1094:test_004()/753 +location: clients/tests/test-client.py:1094:test_004()/783 cmd: $NMCLI --mode multiline --pretty --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -42509,7 +43253,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6258 -location: clients/tests/test-client.py:1094:test_004()/754 +location: clients/tests/test-client.py:1094:test_004()/784 cmd: $NMCLI --mode multiline --pretty --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -42623,7 +43367,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 2481 -location: clients/tests/test-client.py:1096:test_004()/755 +location: clients/tests/test-client.py:1096:test_004()/785 cmd: $NMCLI --mode multiline --pretty --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -42668,7 +43412,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 2499 -location: clients/tests/test-client.py:1096:test_004()/756 +location: clients/tests/test-client.py:1096:test_004()/786 cmd: $NMCLI --mode multiline --pretty --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -42713,7 +43457,7 @@ IP6.DOMAIN[6]: sear6.foo4.bar <<< size: 6334 -location: clients/tests/test-client.py:1098:test_004()/757 +location: clients/tests/test-client.py:1098:test_004()/787 cmd: $NMCLI --mode multiline --pretty --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -42827,7 +43571,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | c <<< size: 6396 -location: clients/tests/test-client.py:1098:test_004()/758 +location: clients/tests/test-client.py:1098:test_004()/788 cmd: $NMCLI --mode multiline --pretty --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -42939,9 +43683,81 @@ CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings CONNECTIONS.AVAILABLE-CONNECTIONS[1]: UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 ------------------------------------------------------------------------------- +<<< +size: 1927 +location: clients/tests/test-client.py:1101:test_004()/789 +cmd: $NMCLI --mode multiline --pretty --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 1742 bytes +>>> +=============================================================================== + Device LLDP neighbors (eth0) +=============================================================================== +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +------------------------------------------------------------------------------- +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +------------------------------------------------------------------------------- +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) +------------------------------------------------------------------------------- + +<<< +size: 1941 +location: clients/tests/test-client.py:1101:test_004()/790 +cmd: $NMCLI --mode multiline --pretty --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 1746 bytes +>>> +=============================================================================== + Sąsiedzi LLDP urządzenia (eth0) +=============================================================================== +NEIGHBOR[0].DEVICE: eth0 +NEIGHBOR[0].CHASSIS-ID: 00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID: Uplink port +NEIGHBOR[0].PORT-DESCRIPTION: GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME: test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION: Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES: 20 (mac-bridge,router) +------------------------------------------------------------------------------- +NEIGHBOR[1].DEVICE: eth0 +NEIGHBOR[1].CHASSIS-ID: chassis1 +NEIGHBOR[1].PORT-ID: 44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION: GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME: test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION: Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES: 2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +------------------------------------------------------------------------------- +NEIGHBOR[2].DEVICE: eth0 +NEIGHBOR[2].CHASSIS-ID: 00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID: port1 +NEIGHBOR[2].PORT-DESCRIPTION: GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME: test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION: Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES: 40 (wlan-access-point,telephone) +------------------------------------------------------------------------------- + <<< size: 2340 -location: clients/tests/test-client.py:1036:test_004()/759 +location: clients/tests/test-client.py:1036:test_004()/791 cmd: $NMCLI --mode multiline --terse con s con-vpn-1 lang: C returncode: 0 @@ -43043,7 +43859,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2350 -location: clients/tests/test-client.py:1036:test_004()/760 +location: clients/tests/test-client.py:1036:test_004()/792 cmd: $NMCLI --mode multiline --terse con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -43145,7 +43961,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2340 -location: clients/tests/test-client.py:1038:test_004()/761 +location: clients/tests/test-client.py:1038:test_004()/793 cmd: $NMCLI --mode multiline --terse con s con-vpn-1 lang: C returncode: 0 @@ -43247,7 +44063,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2350 -location: clients/tests/test-client.py:1038:test_004()/762 +location: clients/tests/test-client.py:1038:test_004()/794 cmd: $NMCLI --mode multiline --terse con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -43349,7 +44165,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 1788 -location: clients/tests/test-client.py:1041:test_004()/763 +location: clients/tests/test-client.py:1041:test_004()/795 cmd: $NMCLI --mode multiline --terse -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -43431,7 +44247,7 @@ proxy.pac-script: <<< size: 1798 -location: clients/tests/test-client.py:1041:test_004()/764 +location: clients/tests/test-client.py:1041:test_004()/796 cmd: $NMCLI --mode multiline --terse -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -43513,7 +44329,7 @@ proxy.pac-script: <<< size: 339 -location: clients/tests/test-client.py:1047:test_004()/765 +location: clients/tests/test-client.py:1047:test_004()/797 cmd: $NMCLI --mode multiline --terse -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -43528,7 +44344,7 @@ vpn.timeout:0 <<< size: 349 -location: clients/tests/test-client.py:1047:test_004()/766 +location: clients/tests/test-client.py:1047:test_004()/798 cmd: $NMCLI --mode multiline --terse -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -43543,7 +44359,7 @@ vpn.timeout:0 <<< size: 542 -location: clients/tests/test-client.py:1050:test_004()/767 +location: clients/tests/test-client.py:1050:test_004()/799 cmd: $NMCLI --mode multiline --terse -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -43564,7 +44380,7 @@ GENERAL.MASTER-PATH: <<< size: 552 -location: clients/tests/test-client.py:1050:test_004()/768 +location: clients/tests/test-client.py:1050:test_004()/800 cmd: $NMCLI --mode multiline --terse -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -43585,7 +44401,7 @@ GENERAL.MASTER-PATH: <<< size: 431 -location: clients/tests/test-client.py:1053:test_004()/769 +location: clients/tests/test-client.py:1053:test_004()/801 cmd: $NMCLI --mode multiline --terse dev s lang: C returncode: 0 @@ -43614,7 +44430,7 @@ CONNECTION: <<< size: 441 -location: clients/tests/test-client.py:1053:test_004()/770 +location: clients/tests/test-client.py:1053:test_004()/802 cmd: $NMCLI --mode multiline --terse dev s lang: pl_PL.UTF-8 returncode: 0 @@ -43643,7 +44459,7 @@ CONNECTION: <<< size: 1139 -location: clients/tests/test-client.py:1056:test_004()/771 +location: clients/tests/test-client.py:1056:test_004()/803 cmd: $NMCLI --mode multiline --terse -f all dev status lang: C returncode: 0 @@ -43697,7 +44513,7 @@ CON-PATH: <<< size: 1149 -location: clients/tests/test-client.py:1056:test_004()/772 +location: clients/tests/test-client.py:1056:test_004()/804 cmd: $NMCLI --mode multiline --terse -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -43751,7 +44567,7 @@ CON-PATH: <<< size: 4557 -location: clients/tests/test-client.py:1059:test_004()/773 +location: clients/tests/test-client.py:1059:test_004()/805 cmd: $NMCLI --mode multiline --terse dev show lang: C returncode: 0 @@ -43897,7 +44713,7 @@ IP6.DOMAIN[1]:sear6.fo.x.y <<< size: 4567 -location: clients/tests/test-client.py:1059:test_004()/774 +location: clients/tests/test-client.py:1059:test_004()/806 cmd: $NMCLI --mode multiline --terse dev show lang: pl_PL.UTF-8 returncode: 0 @@ -44043,7 +44859,7 @@ IP6.DOMAIN[1]:sear6.fo.x.y <<< size: 11944 -location: clients/tests/test-client.py:1062:test_004()/775 +location: clients/tests/test-client.py:1062:test_004()/807 cmd: $NMCLI --mode multiline --terse -f all dev show lang: C returncode: 0 @@ -44432,7 +45248,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 11990 -location: clients/tests/test-client.py:1062:test_004()/776 +location: clients/tests/test-client.py:1062:test_004()/808 cmd: $NMCLI --mode multiline --terse -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -44821,7 +45637,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 899 -location: clients/tests/test-client.py:1065:test_004()/777 +location: clients/tests/test-client.py:1065:test_004()/809 cmd: $NMCLI --mode multiline --terse dev show wlan0 lang: C returncode: 0 @@ -44854,7 +45670,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 909 -location: clients/tests/test-client.py:1065:test_004()/778 +location: clients/tests/test-client.py:1065:test_004()/810 cmd: $NMCLI --mode multiline --terse dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -44887,7 +45703,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 2710 -location: clients/tests/test-client.py:1068:test_004()/779 +location: clients/tests/test-client.py:1068:test_004()/811 cmd: $NMCLI --mode multiline --terse -f all dev show wlan0 lang: C returncode: 0 @@ -44987,7 +45803,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2747 -location: clients/tests/test-client.py:1068:test_004()/780 +location: clients/tests/test-client.py:1068:test_004()/812 cmd: $NMCLI --mode multiline --terse -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -45087,7 +45903,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 1208 -location: clients/tests/test-client.py:1071:test_004()/781 +location: clients/tests/test-client.py:1071:test_004()/813 cmd: $NMCLI --mode multiline --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -45132,7 +45948,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1218 -location: clients/tests/test-client.py:1071:test_004()/782 +location: clients/tests/test-client.py:1071:test_004()/814 cmd: $NMCLI --mode multiline --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -45177,7 +45993,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1208 -location: clients/tests/test-client.py:1074:test_004()/783 +location: clients/tests/test-client.py:1074:test_004()/815 cmd: $NMCLI --mode multiline --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -45222,7 +46038,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1218 -location: clients/tests/test-client.py:1074:test_004()/784 +location: clients/tests/test-client.py:1074:test_004()/816 cmd: $NMCLI --mode multiline --terse -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -45267,7 +46083,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 555 -location: clients/tests/test-client.py:1077:test_004()/785 +location: clients/tests/test-client.py:1077:test_004()/817 cmd: $NMCLI --mode multiline --terse -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -45291,7 +46107,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/Devices/5 <<< size: 565 -location: clients/tests/test-client.py:1077:test_004()/786 +location: clients/tests/test-client.py:1077:test_004()/818 cmd: $NMCLI --mode multiline --terse -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -45315,7 +46131,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/Devices/5 <<< size: 1552 -location: clients/tests/test-client.py:1080:test_004()/787 +location: clients/tests/test-client.py:1080:test_004()/819 cmd: $NMCLI --mode multiline --terse -f ALL device wifi list lang: C returncode: 0 @@ -45394,7 +46210,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/4 <<< size: 1610 -location: clients/tests/test-client.py:1080:test_004()/788 +location: clients/tests/test-client.py:1080:test_004()/820 cmd: $NMCLI --mode multiline --terse -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -45473,7 +46289,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/4 <<< size: 552 -location: clients/tests/test-client.py:1082:test_004()/789 +location: clients/tests/test-client.py:1082:test_004()/821 cmd: $NMCLI --mode multiline --terse -f COMMON device wifi list lang: C returncode: 0 @@ -45516,7 +46332,7 @@ SECURITY:WPA1 WPA2 <<< size: 598 -location: clients/tests/test-client.py:1082:test_004()/790 +location: clients/tests/test-client.py:1082:test_004()/822 cmd: $NMCLI --mode multiline --terse -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -45559,7 +46375,7 @@ SECURITY:WPA1 WPA2 <<< size: 1665 -location: clients/tests/test-client.py:1085:test_004()/791 +location: clients/tests/test-client.py:1085:test_004()/823 cmd: $NMCLI --mode multiline --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -45638,7 +46454,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/4 <<< size: 1723 -location: clients/tests/test-client.py:1085:test_004()/792 +location: clients/tests/test-client.py:1085:test_004()/824 cmd: $NMCLI --mode multiline --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -45717,7 +46533,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/4 <<< size: 562 -location: clients/tests/test-client.py:1087:test_004()/793 +location: clients/tests/test-client.py:1087:test_004()/825 cmd: $NMCLI --mode multiline --terse -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -45745,7 +46561,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/2 <<< size: 584 -location: clients/tests/test-client.py:1087:test_004()/794 +location: clients/tests/test-client.py:1087:test_004()/826 cmd: $NMCLI --mode multiline --terse -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -45773,7 +46589,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/2 <<< size: 294 -location: clients/tests/test-client.py:1089:test_004()/795 +location: clients/tests/test-client.py:1089:test_004()/827 cmd: $NMCLI --mode multiline --terse -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -45792,7 +46608,7 @@ SECURITY:WPA1 WPA2 <<< size: 314 -location: clients/tests/test-client.py:1089:test_004()/796 +location: clients/tests/test-client.py:1089:test_004()/828 cmd: $NMCLI --mode multiline --terse -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -45811,7 +46627,7 @@ SECURITY:WPA1 WPA2 <<< size: 675 -location: clients/tests/test-client.py:1092:test_004()/797 +location: clients/tests/test-client.py:1092:test_004()/829 cmd: $NMCLI --mode multiline --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -45839,7 +46655,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/2 <<< size: 697 -location: clients/tests/test-client.py:1092:test_004()/798 +location: clients/tests/test-client.py:1092:test_004()/830 cmd: $NMCLI --mode multiline --terse -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -45867,7 +46683,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/2 <<< size: 2713 -location: clients/tests/test-client.py:1094:test_004()/799 +location: clients/tests/test-client.py:1094:test_004()/831 cmd: $NMCLI --mode multiline --terse -f ALL device show wlan0 lang: C returncode: 0 @@ -45967,7 +46783,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2750 -location: clients/tests/test-client.py:1094:test_004()/800 +location: clients/tests/test-client.py:1094:test_004()/832 cmd: $NMCLI --mode multiline --terse -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -46067,7 +46883,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 912 -location: clients/tests/test-client.py:1096:test_004()/801 +location: clients/tests/test-client.py:1096:test_004()/833 cmd: $NMCLI --mode multiline --terse -f COMMON device show wlan0 lang: C returncode: 0 @@ -46100,7 +46916,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 922 -location: clients/tests/test-client.py:1096:test_004()/802 +location: clients/tests/test-client.py:1096:test_004()/834 cmd: $NMCLI --mode multiline --terse -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -46133,7 +46949,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 2851 -location: clients/tests/test-client.py:1098:test_004()/803 +location: clients/tests/test-client.py:1098:test_004()/835 cmd: $NMCLI --mode multiline --terse -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -46233,7 +47049,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2888 -location: clients/tests/test-client.py:1098:test_004()/804 +location: clients/tests/test-client.py:1098:test_004()/836 cmd: $NMCLI --mode multiline --terse -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -46331,9 +47147,69 @@ DHCP6.OPTION[5]:dhcp-6-opt-5 = val-5 CONNECTIONS.AVAILABLE-CONNECTION-PATHS:/org/freedesktop/NetworkManager/Settings/Connection/{2} CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 +<<< +size: 1153 +location: clients/tests/test-client.py:1101:test_004()/837 +cmd: $NMCLI --mode multiline --terse dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 982 bytes +>>> +NEIGHBOR[0].DEVICE:eth0 +NEIGHBOR[0].CHASSIS-ID:00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID:Uplink port +NEIGHBOR[0].PORT-DESCRIPTION:GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME:test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION:Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES:20 (mac-bridge,router) +NEIGHBOR[1].DEVICE:eth0 +NEIGHBOR[1].CHASSIS-ID:chassis1 +NEIGHBOR[1].PORT-ID:44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION:GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME:test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION:Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE:eth0 +NEIGHBOR[2].CHASSIS-ID:00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID:port1 +NEIGHBOR[2].PORT-DESCRIPTION:GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME:test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION:Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES:40 (wlan-access-point,telephone) + +<<< +size: 1163 +location: clients/tests/test-client.py:1101:test_004()/838 +cmd: $NMCLI --mode multiline --terse dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 982 bytes +>>> +NEIGHBOR[0].DEVICE:eth0 +NEIGHBOR[0].CHASSIS-ID:00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID:Uplink port +NEIGHBOR[0].PORT-DESCRIPTION:GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME:test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION:Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES:20 (mac-bridge,router) +NEIGHBOR[1].DEVICE:eth0 +NEIGHBOR[1].CHASSIS-ID:chassis1 +NEIGHBOR[1].PORT-ID:44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION:GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME:test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION:Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE:eth0 +NEIGHBOR[2].CHASSIS-ID:00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID:port1 +NEIGHBOR[2].PORT-DESCRIPTION:GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME:test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION:Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES:40 (wlan-access-point,telephone) + <<< size: 2352 -location: clients/tests/test-client.py:1036:test_004()/805 +location: clients/tests/test-client.py:1036:test_004()/839 cmd: $NMCLI --mode multiline --terse --color yes con s con-vpn-1 lang: C returncode: 0 @@ -46435,7 +47311,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2362 -location: clients/tests/test-client.py:1036:test_004()/806 +location: clients/tests/test-client.py:1036:test_004()/840 cmd: $NMCLI --mode multiline --terse --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -46537,7 +47413,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2352 -location: clients/tests/test-client.py:1038:test_004()/807 +location: clients/tests/test-client.py:1038:test_004()/841 cmd: $NMCLI --mode multiline --terse --color yes con s con-vpn-1 lang: C returncode: 0 @@ -46639,7 +47515,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 2362 -location: clients/tests/test-client.py:1038:test_004()/808 +location: clients/tests/test-client.py:1038:test_004()/842 cmd: $NMCLI --mode multiline --terse --color yes con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -46741,7 +47617,7 @@ VPN.CFG[3]:key3 = val3 <<< size: 1800 -location: clients/tests/test-client.py:1041:test_004()/809 +location: clients/tests/test-client.py:1041:test_004()/843 cmd: $NMCLI --mode multiline --terse --color yes -f ALL con s con-vpn-1 lang: C returncode: 0 @@ -46823,7 +47699,7 @@ proxy.pac-script: <<< size: 1810 -location: clients/tests/test-client.py:1041:test_004()/810 +location: clients/tests/test-client.py:1041:test_004()/844 cmd: $NMCLI --mode multiline --terse --color yes -f ALL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -46905,7 +47781,7 @@ proxy.pac-script: <<< size: 351 -location: clients/tests/test-client.py:1047:test_004()/811 +location: clients/tests/test-client.py:1047:test_004()/845 cmd: $NMCLI --mode multiline --terse --color yes -f VPN con s con-vpn-1 lang: C returncode: 0 @@ -46920,7 +47796,7 @@ vpn.timeout:0 <<< size: 361 -location: clients/tests/test-client.py:1047:test_004()/812 +location: clients/tests/test-client.py:1047:test_004()/846 cmd: $NMCLI --mode multiline --terse --color yes -f VPN con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -46935,7 +47811,7 @@ vpn.timeout:0 <<< size: 554 -location: clients/tests/test-client.py:1050:test_004()/813 +location: clients/tests/test-client.py:1050:test_004()/847 cmd: $NMCLI --mode multiline --terse --color yes -f GENERAL con s con-vpn-1 lang: C returncode: 0 @@ -46956,7 +47832,7 @@ GENERAL.MASTER-PATH: <<< size: 564 -location: clients/tests/test-client.py:1050:test_004()/814 +location: clients/tests/test-client.py:1050:test_004()/848 cmd: $NMCLI --mode multiline --terse --color yes -f GENERAL con s con-vpn-1 lang: pl_PL.UTF-8 returncode: 0 @@ -46977,7 +47853,7 @@ GENERAL.MASTER-PATH: <<< size: 603 -location: clients/tests/test-client.py:1053:test_004()/815 +location: clients/tests/test-client.py:1053:test_004()/849 cmd: $NMCLI --mode multiline --terse --color yes dev s lang: C returncode: 0 @@ -47006,7 +47882,7 @@ CONNECTION: <<< size: 613 -location: clients/tests/test-client.py:1053:test_004()/816 +location: clients/tests/test-client.py:1053:test_004()/850 cmd: $NMCLI --mode multiline --terse --color yes dev s lang: pl_PL.UTF-8 returncode: 0 @@ -47035,7 +47911,7 @@ CONNECTION: <<< size: 1512 -location: clients/tests/test-client.py:1056:test_004()/817 +location: clients/tests/test-client.py:1056:test_004()/851 cmd: $NMCLI --mode multiline --terse --color yes -f all dev status lang: C returncode: 0 @@ -47089,7 +47965,7 @@ CON-PATH: <<< size: 1522 -location: clients/tests/test-client.py:1056:test_004()/818 +location: clients/tests/test-client.py:1056:test_004()/852 cmd: $NMCLI --mode multiline --terse --color yes -f all dev status lang: pl_PL.UTF-8 returncode: 0 @@ -47143,7 +48019,7 @@ CON-PATH: <<< size: 4569 -location: clients/tests/test-client.py:1059:test_004()/819 +location: clients/tests/test-client.py:1059:test_004()/853 cmd: $NMCLI --mode multiline --terse --color yes dev show lang: C returncode: 0 @@ -47289,7 +48165,7 @@ IP6.DOMAIN[1]:sear6.fo.x.y <<< size: 4579 -location: clients/tests/test-client.py:1059:test_004()/820 +location: clients/tests/test-client.py:1059:test_004()/854 cmd: $NMCLI --mode multiline --terse --color yes dev show lang: pl_PL.UTF-8 returncode: 0 @@ -47435,7 +48311,7 @@ IP6.DOMAIN[1]:sear6.fo.x.y <<< size: 12244 -location: clients/tests/test-client.py:1062:test_004()/821 +location: clients/tests/test-client.py:1062:test_004()/855 cmd: $NMCLI --mode multiline --terse --color yes -f all dev show lang: C returncode: 0 @@ -47824,7 +48700,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 12290 -location: clients/tests/test-client.py:1062:test_004()/822 +location: clients/tests/test-client.py:1062:test_004()/856 cmd: $NMCLI --mode multiline --terse --color yes -f all dev show lang: pl_PL.UTF-8 returncode: 0 @@ -48213,7 +49089,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 911 -location: clients/tests/test-client.py:1065:test_004()/823 +location: clients/tests/test-client.py:1065:test_004()/857 cmd: $NMCLI --mode multiline --terse --color yes dev show wlan0 lang: C returncode: 0 @@ -48246,7 +49122,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 921 -location: clients/tests/test-client.py:1065:test_004()/824 +location: clients/tests/test-client.py:1065:test_004()/858 cmd: $NMCLI --mode multiline --terse --color yes dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -48279,7 +49155,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 2938 -location: clients/tests/test-client.py:1068:test_004()/825 +location: clients/tests/test-client.py:1068:test_004()/859 cmd: $NMCLI --mode multiline --terse --color yes -f all dev show wlan0 lang: C returncode: 0 @@ -48379,7 +49255,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2975 -location: clients/tests/test-client.py:1068:test_004()/826 +location: clients/tests/test-client.py:1068:test_004()/860 cmd: $NMCLI --mode multiline --terse --color yes -f all dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -48479,7 +49355,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 1220 -location: clients/tests/test-client.py:1071:test_004()/827 +location: clients/tests/test-client.py:1071:test_004()/861 cmd: $NMCLI --mode multiline --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -48524,7 +49400,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1230 -location: clients/tests/test-client.py:1071:test_004()/828 +location: clients/tests/test-client.py:1071:test_004()/862 cmd: $NMCLI --mode multiline --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -48569,7 +49445,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1220 -location: clients/tests/test-client.py:1074:test_004()/829 +location: clients/tests/test-client.py:1074:test_004()/863 cmd: $NMCLI --mode multiline --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: C returncode: 0 @@ -48614,7 +49490,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 1230 -location: clients/tests/test-client.py:1074:test_004()/830 +location: clients/tests/test-client.py:1074:test_004()/864 cmd: $NMCLI --mode multiline --terse --color yes -f GENERAL,GENERAL.HWADDR,WIFI-PROPERTIES dev show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -48659,7 +49535,7 @@ WIFI-PROPERTIES.5GHZ:unknown <<< size: 687 -location: clients/tests/test-client.py:1077:test_004()/831 +location: clients/tests/test-client.py:1077:test_004()/865 cmd: $NMCLI --mode multiline --terse --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: C returncode: 0 @@ -48683,7 +49559,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/Devices/5 <<< size: 697 -location: clients/tests/test-client.py:1077:test_004()/832 +location: clients/tests/test-client.py:1077:test_004()/866 cmd: $NMCLI --mode multiline --terse --color yes -f DEVICE,TYPE,DBUS-PATH dev lang: pl_PL.UTF-8 returncode: 0 @@ -48707,7 +49583,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/Devices/5 <<< size: 2176 -location: clients/tests/test-client.py:1080:test_004()/833 +location: clients/tests/test-client.py:1080:test_004()/867 cmd: $NMCLI --mode multiline --terse --color yes -f ALL device wifi list lang: C returncode: 0 @@ -48786,7 +49662,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/4 <<< size: 2234 -location: clients/tests/test-client.py:1080:test_004()/834 +location: clients/tests/test-client.py:1080:test_004()/868 cmd: $NMCLI --mode multiline --terse --color yes -f ALL device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -48865,7 +49741,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/4 <<< size: 852 -location: clients/tests/test-client.py:1082:test_004()/835 +location: clients/tests/test-client.py:1082:test_004()/869 cmd: $NMCLI --mode multiline --terse --color yes -f COMMON device wifi list lang: C returncode: 0 @@ -48908,7 +49784,7 @@ SECURITY:WPA1 WPA2 <<< size: 898 -location: clients/tests/test-client.py:1082:test_004()/836 +location: clients/tests/test-client.py:1082:test_004()/870 cmd: $NMCLI --mode multiline --terse --color yes -f COMMON device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -48951,7 +49827,7 @@ SECURITY:WPA1 WPA2 <<< size: 2289 -location: clients/tests/test-client.py:1085:test_004()/837 +location: clients/tests/test-client.py:1085:test_004()/871 cmd: $NMCLI --mode multiline --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: C returncode: 0 @@ -49030,7 +49906,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/4 <<< size: 2347 -location: clients/tests/test-client.py:1085:test_004()/838 +location: clients/tests/test-client.py:1085:test_004()/872 cmd: $NMCLI --mode multiline --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list lang: pl_PL.UTF-8 returncode: 0 @@ -49109,7 +49985,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/4 <<< size: 727 -location: clients/tests/test-client.py:1087:test_004()/839 +location: clients/tests/test-client.py:1087:test_004()/873 cmd: $NMCLI --mode multiline --terse --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -49137,7 +50013,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/2 <<< size: 749 -location: clients/tests/test-client.py:1087:test_004()/840 +location: clients/tests/test-client.py:1087:test_004()/874 cmd: $NMCLI --mode multiline --terse --color yes -f ALL device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -49165,7 +50041,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/2 <<< size: 379 -location: clients/tests/test-client.py:1089:test_004()/841 +location: clients/tests/test-client.py:1089:test_004()/875 cmd: $NMCLI --mode multiline --terse --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -49184,7 +50060,7 @@ SECURITY:WPA1 WPA2 <<< size: 398 -location: clients/tests/test-client.py:1089:test_004()/842 +location: clients/tests/test-client.py:1089:test_004()/876 cmd: $NMCLI --mode multiline --terse --color yes -f COMMON device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -49203,7 +50079,7 @@ SECURITY:WPA1 WPA2 <<< size: 840 -location: clients/tests/test-client.py:1092:test_004()/843 +location: clients/tests/test-client.py:1092:test_004()/877 cmd: $NMCLI --mode multiline --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: C returncode: 0 @@ -49231,7 +50107,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/2 <<< size: 862 -location: clients/tests/test-client.py:1092:test_004()/844 +location: clients/tests/test-client.py:1092:test_004()/878 cmd: $NMCLI --mode multiline --terse --color yes -f NAME,SSID,SSID-HEX,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,WPA-FLAGS,RSN-FLAGS,DEVICE,ACTIVE,IN-USE,DBUS-PATH device wifi list bssid C0:E2:BE:E8:EF:B6 lang: pl_PL.UTF-8 returncode: 0 @@ -49259,7 +50135,7 @@ DBUS-PATH:/org/freedesktop/NetworkManager/AccessPoint/2 <<< size: 2941 -location: clients/tests/test-client.py:1094:test_004()/845 +location: clients/tests/test-client.py:1094:test_004()/879 cmd: $NMCLI --mode multiline --terse --color yes -f ALL device show wlan0 lang: C returncode: 0 @@ -49359,7 +50235,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 2978 -location: clients/tests/test-client.py:1094:test_004()/846 +location: clients/tests/test-client.py:1094:test_004()/880 cmd: $NMCLI --mode multiline --terse --color yes -f ALL device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -49459,7 +50335,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 924 -location: clients/tests/test-client.py:1096:test_004()/847 +location: clients/tests/test-client.py:1096:test_004()/881 cmd: $NMCLI --mode multiline --terse --color yes -f COMMON device show wlan0 lang: C returncode: 0 @@ -49492,7 +50368,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 934 -location: clients/tests/test-client.py:1096:test_004()/848 +location: clients/tests/test-client.py:1096:test_004()/882 cmd: $NMCLI --mode multiline --terse --color yes -f COMMON device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -49525,7 +50401,7 @@ IP6.DOMAIN[6]:sear6.foo4.bar <<< size: 3079 -location: clients/tests/test-client.py:1098:test_004()/849 +location: clients/tests/test-client.py:1098:test_004()/883 cmd: $NMCLI --mode multiline --terse --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: C returncode: 0 @@ -49625,7 +50501,7 @@ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con- <<< size: 3116 -location: clients/tests/test-client.py:1098:test_004()/850 +location: clients/tests/test-client.py:1098:test_004()/884 cmd: $NMCLI --mode multiline --terse --color yes -f GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS device show wlan0 lang: pl_PL.UTF-8 returncode: 0 @@ -49724,3 +50600,63 @@ CONNECTIONS.AVAILABLE-CONNECTION-PATHS:/org/freedesktop/NetworkManager/Settings/ CONNECTIONS.AVAILABLE-CONNECTIONS[1]:UUID-con-xx1-REPLACED-REPLACED-REPLA | con-xx1 <<< +size: 1165 +location: clients/tests/test-client.py:1101:test_004()/885 +cmd: $NMCLI --mode multiline --terse --color yes dev lldp list ifname eth0 +lang: C +returncode: 0 +stdout: 982 bytes +>>> +NEIGHBOR[0].DEVICE:eth0 +NEIGHBOR[0].CHASSIS-ID:00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID:Uplink port +NEIGHBOR[0].PORT-DESCRIPTION:GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME:test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION:Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES:20 (mac-bridge,router) +NEIGHBOR[1].DEVICE:eth0 +NEIGHBOR[1].CHASSIS-ID:chassis1 +NEIGHBOR[1].PORT-ID:44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION:GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME:test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION:Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE:eth0 +NEIGHBOR[2].CHASSIS-ID:00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID:port1 +NEIGHBOR[2].PORT-DESCRIPTION:GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME:test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION:Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES:40 (wlan-access-point,telephone) + +<<< +size: 1175 +location: clients/tests/test-client.py:1101:test_004()/886 +cmd: $NMCLI --mode multiline --terse --color yes dev lldp list ifname eth0 +lang: pl_PL.UTF-8 +returncode: 0 +stdout: 982 bytes +>>> +NEIGHBOR[0].DEVICE:eth0 +NEIGHBOR[0].CHASSIS-ID:00:11:22:33:44:00 +NEIGHBOR[0].PORT-ID:Uplink port +NEIGHBOR[0].PORT-DESCRIPTION:GigabitEthernet #1 +NEIGHBOR[0].SYSTEM-NAME:test1.example.com +NEIGHBOR[0].SYSTEM-DESCRIPTION:Test system #1 +NEIGHBOR[0].SYSTEM-CAPABILITIES:20 (mac-bridge,router) +NEIGHBOR[1].DEVICE:eth0 +NEIGHBOR[1].CHASSIS-ID:chassis1 +NEIGHBOR[1].PORT-ID:44:44:44:44:44:44 +NEIGHBOR[1].PORT-DESCRIPTION:GigabitEthernet #2 +NEIGHBOR[1].SYSTEM-NAME:test2.example.com +NEIGHBOR[1].SYSTEM-DESCRIPTION:Test system #2 +NEIGHBOR[1].SYSTEM-CAPABILITIES:2047 (other,repeater,mac-bridge,wlan-access-point,router,telephone,docsis-cable-device,station-only,c-vlan-component,s-vlan-component,tpmr) +NEIGHBOR[2].DEVICE:eth0 +NEIGHBOR[2].CHASSIS-ID:00:11:22:33:44:22 +NEIGHBOR[2].PORT-ID:port1 +NEIGHBOR[2].PORT-DESCRIPTION:GigabitEthernet #3 +NEIGHBOR[2].SYSTEM-NAME:test3.example.com +NEIGHBOR[2].SYSTEM-DESCRIPTION:Test system #3 +NEIGHBOR[2].SYSTEM-CAPABILITIES:40 (wlan-access-point,telephone) + +<<< diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py index c7d5c95889..d33617a7f6 100755 --- a/clients/tests/test-client.py +++ b/clients/tests/test-client.py @@ -1097,6 +1097,9 @@ class TestNmcli(NmTestBase): self.call_nmcli_l(mode + ['-f', 'GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS', 'device', 'show', 'wlan0' ], replace_stdout = replace_stdout) + self.call_nmcli_l(mode + ['dev', 'lldp', 'list', 'ifname', 'eth0'], + replace_stdout = replace_stdout) + ############################################################################### def main(): diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index 2fec2e26f3..323e052688 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -687,6 +687,7 @@ PRP_DEVICE_MANAGED = "Managed" PRP_DEVICE_AUTOCONNECT = "Autoconnect" PRP_DEVICE_DEVICE_TYPE = "DeviceType" PRP_DEVICE_AVAILABLE_CONNECTIONS = "AvailableConnections" +PRP_DEVICE_LLDP_NEIGHBORS = "LldpNeighbors" class Device(ExportedObj): @@ -719,6 +720,41 @@ class Device(ExportedObj): PRP_DEVICE_AUTOCONNECT: True, PRP_DEVICE_DEVICE_TYPE: dbus.UInt32(devtype), PRP_DEVICE_AVAILABLE_CONNECTIONS: ExportedObj.to_path_array([]), + PRP_DEVICE_LLDP_NEIGHBORS: dbus.Array([ + dbus.Dictionary({ + 'chassis-id-type': dbus.UInt32(6), + 'chassis-id': dbus.String('00:11:22:33:44:00'), + 'port-id-type': dbus.UInt32(7), + 'port-id': dbus.String('Uplink port'), + 'port-description': dbus.String('GigabitEthernet #1'), + 'system-name': dbus.String('test1.example.com'), + 'system-description': dbus.String('Test system #1'), + 'system-capabilities': dbus.UInt32(20), + 'destination': dbus.String('nearest-bridge'), + }), + dbus.Dictionary({ + 'chassis-id-type': dbus.UInt32(2), + 'chassis-id': dbus.String('chassis1'), + 'port-id-type': dbus.UInt32(3), + 'port-id': dbus.String('44:44:44:44:44:44'), + 'port-description': dbus.String('GigabitEthernet #2'), + 'system-name': dbus.String('test2.example.com'), + 'system-description': dbus.String('Test system #2'), + 'system-capabilities': dbus.UInt32(2047), + 'destination': dbus.String('nearest-non-tpmr-bridge') + }), + dbus.Dictionary({ + 'chassis-id-type': dbus.UInt32(6), + 'chassis-id': dbus.String('00:11:22:33:44:22'), + 'port-id-type': dbus.UInt32(1), + 'port-id': dbus.String('port1'), + 'port-description': dbus.String('GigabitEthernet #3'), + 'system-name': dbus.String('test3.example.com'), + 'system-description': dbus.String('Test system #3'), + 'system-capabilities': dbus.UInt32(40), + 'destination': dbus.String('nearest-customer-bridge'), + }) + ], 'a{sv}') } self.dbus_interface_add(IFACE_DEVICE, props, Device.PropertiesChanged) From 15798df8828705680fb262707c7b1b6c80cb5256 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 20 Dec 2018 18:34:20 +0100 Subject: [PATCH 03/13] lldp: rename enum value --- src/devices/nm-lldp-listener.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index 378ee3e3ea..96d8ea144f 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -55,7 +55,7 @@ typedef enum { LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, LLDP_ATTR_ID_IEEE_802_1_VID, LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, - _LLDP_PROP_ID_COUNT, + _LLDP_ATTR_ID_COUNT, } LldpAttrId; typedef struct { @@ -110,7 +110,7 @@ typedef struct { bool valid:1; - LldpAttrData attrs[_LLDP_PROP_ID_COUNT]; + LldpAttrData attrs[_LLDP_ATTR_ID_COUNT]; GVariant *variant; } LldpNeighbor; @@ -169,7 +169,7 @@ NM_UTILS_LOOKUP_STR_DEFINE_STATIC (_lldp_attr_id_to_name, LldpAttrId, NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, NM_LLDP_ATTR_IEEE_802_1_VID), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME), - NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_PROP_ID_COUNT), + NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_ATTR_ID_COUNT), ); _NM_UTILS_LOOKUP_DEFINE (static, _lldp_attr_id_to_type, LldpAttrId, LldpAttrType, @@ -183,7 +183,7 @@ _NM_UTILS_LOOKUP_DEFINE (static, _lldp_attr_id_to_type, LldpAttrId, LldpAttrType NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, LLDP_ATTR_TYPE_STRING), - NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_PROP_ID_COUNT), + NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_ATTR_ID_COUNT), ); static void @@ -302,7 +302,7 @@ lldp_neighbor_free (LldpNeighbor *neighbor) if (neighbor) { g_free (neighbor->chassis_id); g_free (neighbor->port_id); - for (attr_id = 0; attr_id < _LLDP_PROP_ID_COUNT; attr_id++) { + for (attr_id = 0; attr_id < _LLDP_ATTR_ID_COUNT; attr_id++) { if (neighbor->attrs[attr_id].attr_type == LLDP_ATTR_TYPE_STRING) g_free (neighbor->attrs[attr_id].v_string); } @@ -332,7 +332,7 @@ lldp_neighbor_equal (LldpNeighbor *a, LldpNeighbor *b) || !nm_streq0 (a->port_id, b->port_id)) return FALSE; - for (attr_id = 0; attr_id < _LLDP_PROP_ID_COUNT; attr_id++) { + for (attr_id = 0; attr_id < _LLDP_ATTR_ID_COUNT; attr_id++) { if (a->attrs[attr_id].attr_type != b->attrs[attr_id].attr_type) return FALSE; switch (a->attrs[attr_id].attr_type) { @@ -579,7 +579,7 @@ lldp_neighbor_to_variant (LldpNeighbor *neigh) g_variant_new_string (dest_str)); } - for (attr_id = 0; attr_id < _LLDP_PROP_ID_COUNT; attr_id++) { + for (attr_id = 0; attr_id < _LLDP_ATTR_ID_COUNT; attr_id++) { const LldpAttrData *data = &neigh->attrs[attr_id]; nm_assert (NM_IN_SET (data->attr_type, _lldp_attr_id_to_type (attr_id), LLDP_ATTR_TYPE_NONE)); From 8cdc011cd1425333f1817de6821da2b1ebdef40e Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Fri, 4 Jan 2019 09:36:41 +0100 Subject: [PATCH 04/13] libnm: make attribute name const in LLDP API functions Add the const qualifier to the attribute name in LLDP API functions so that const strings and string literals are accepted. This change is backwards compatible for existing users of the API. --- libnm/nm-device.c | 6 +++--- libnm/nm-device.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 5965cb3b8f..6586140f96 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -2765,7 +2765,7 @@ nm_lldp_neighbor_get_attr_names (NMLldpNeighbor *neighbor) * Since: 1.2 **/ gboolean -nm_lldp_neighbor_get_attr_string_value (NMLldpNeighbor *neighbor, char *name, +nm_lldp_neighbor_get_attr_string_value (NMLldpNeighbor *neighbor, const char *name, const char **out_value) { GVariant *variant; @@ -2795,7 +2795,7 @@ nm_lldp_neighbor_get_attr_string_value (NMLldpNeighbor *neighbor, char *name, * Since: 1.2 **/ gboolean -nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, char *name, +nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, const char *name, guint *out_value) { GVariant *variant; @@ -2824,7 +2824,7 @@ nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, char *name, * Since: 1.2 **/ const GVariantType * -nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor, char *name) +nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor, const char *name) { GVariant *variant; diff --git a/libnm/nm-device.h b/libnm/nm-device.h index fcda93abcc..9d31d38a44 100644 --- a/libnm/nm-device.h +++ b/libnm/nm-device.h @@ -227,13 +227,13 @@ void nm_lldp_neighbor_unref (NMLldpNeighbor *neighbor); NM_AVAILABLE_IN_1_2 char **nm_lldp_neighbor_get_attr_names (NMLldpNeighbor *neighbor); NM_AVAILABLE_IN_1_2 -gboolean nm_lldp_neighbor_get_attr_string_value (NMLldpNeighbor *neighbor, char *name, +gboolean nm_lldp_neighbor_get_attr_string_value (NMLldpNeighbor *neighbor, const char *name, const char **out_value); NM_AVAILABLE_IN_1_2 -gboolean nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, char *name, +gboolean nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, const char *name, guint *out_value); NM_AVAILABLE_IN_1_2 -const GVariantType *nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor, char *name); +const GVariantType *nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor, const char *name); G_END_DECLS From 937796f6ea78c320e90e909330799a56df56b911 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Mon, 21 Jan 2019 11:53:48 +0100 Subject: [PATCH 05/13] libnm: add nm_lldp_neighbor_get_attr_value() The function provides access to the GVariant representing a LLDP attribute. --- libnm/libnm.ver | 1 + libnm/nm-device.c | 21 +++++++++++++++++++++ libnm/nm-device.h | 2 ++ 3 files changed, 24 insertions(+) diff --git a/libnm/libnm.ver b/libnm/libnm.ver index b705ca4589..c2780cca81 100644 --- a/libnm/libnm.ver +++ b/libnm/libnm.ver @@ -1536,6 +1536,7 @@ global: nm_bridge_vlan_set_untagged; nm_bridge_vlan_to_str; nm_bridge_vlan_unref; + nm_lldp_neighbor_get_attr_value; nm_setting_bridge_add_vlan; nm_setting_bridge_clear_vlans; nm_setting_bridge_get_num_vlans; diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 6586140f96..a09ecb5cbb 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -2812,6 +2812,27 @@ nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, const char *name return FALSE; } +/** + * nm_lldp_neighbor_get_attr_value: + * @neighbor: the #NMLldpNeighbor + * @name: the attribute name + * + * Gets the value (as a GVariant) of attribute with name @name on @neighbor + * + * Returns: (transfer none): the value or %NULL if the attribute with @name was + * not found. + * + * Since: 1.18 + **/ +GVariant * +nm_lldp_neighbor_get_attr_value (NMLldpNeighbor *neighbor, const char *name) +{ + g_return_val_if_fail (neighbor, FALSE); + g_return_val_if_fail (name && name[0], FALSE); + + return g_hash_table_lookup (neighbor->attrs, name); +} + /** * nm_lldp_neighbor_get_attr_type: * @neighbor: the #NMLldpNeighbor diff --git a/libnm/nm-device.h b/libnm/nm-device.h index 9d31d38a44..6227229782 100644 --- a/libnm/nm-device.h +++ b/libnm/nm-device.h @@ -234,6 +234,8 @@ gboolean nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, const c guint *out_value); NM_AVAILABLE_IN_1_2 const GVariantType *nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor, const char *name); +NM_AVAILABLE_IN_1_18 +GVariant *nm_lldp_neighbor_get_attr_value (NMLldpNeighbor *neighbor, const char *name); G_END_DECLS From 6c52d946fc8cbe148cbf6d95e35e8b89084b8fe1 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 20 Dec 2018 17:03:16 +0100 Subject: [PATCH 06/13] lldp: add support for management address TLV Support the management address TLV (IEEE 802.1AB-2009 clause 8.5.9). The TLV can appear multiple times and so it is exported on D-Bus as an array of dictionaries. --- libnm-core/nm-dbus-interface.h | 1 + src/devices/nm-lldp-listener.c | 147 ++++++++++++++++++++++++++- src/devices/tests/test-lldp.c | 21 +++- tools/test-networkmanager-service.py | 15 +++ 4 files changed, 177 insertions(+), 7 deletions(-) diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index 038d2c9ee0..3465726c83 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -837,6 +837,7 @@ typedef enum /*< flags >*/ { #define NM_LLDP_ATTR_SYSTEM_NAME "system-name" #define NM_LLDP_ATTR_SYSTEM_DESCRIPTION "system-description" #define NM_LLDP_ATTR_SYSTEM_CAPABILITIES "system-capabilities" +#define NM_LLDP_ATTR_MANAGEMENT_ADDRESSES "management-addresses" #define NM_LLDP_ATTR_IEEE_802_1_PVID "ieee-802-1-pvid" #define NM_LLDP_ATTR_IEEE_802_1_PPVID "ieee-802-1-ppvid" #define NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS "ieee-802-1-ppvid-flags" diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index 96d8ea144f..55170985d9 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -26,6 +26,7 @@ #include "platform/nm-platform.h" #include "nm-utils/unaligned.h" +#include "nm-utils/nm-c-list.h" #include "nm-utils.h" #include "systemd/nm-sd.h" @@ -41,6 +42,7 @@ typedef enum { LLDP_ATTR_TYPE_NONE, LLDP_ATTR_TYPE_UINT32, LLDP_ATTR_TYPE_STRING, + LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS, } LldpAttrType; typedef enum { @@ -50,6 +52,7 @@ typedef enum { LLDP_ATTR_ID_SYSTEM_NAME, LLDP_ATTR_ID_SYSTEM_DESCRIPTION, LLDP_ATTR_ID_SYSTEM_CAPABILITIES, + LLDP_ATTR_ID_MANAGEMENT_ADDRESSES, LLDP_ATTR_ID_IEEE_802_1_PVID, LLDP_ATTR_ID_IEEE_802_1_PPVID, LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, @@ -63,6 +66,7 @@ typedef struct { union { guint32 v_uint32; char *v_string; + CList v_variant_list; }; } LldpAttrData; @@ -164,6 +168,7 @@ NM_UTILS_LOOKUP_STR_DEFINE_STATIC (_lldp_attr_id_to_name, LldpAttrId, NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_NAME, NM_LLDP_ATTR_SYSTEM_NAME), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_DESCRIPTION, NM_LLDP_ATTR_SYSTEM_DESCRIPTION), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_CAPABILITIES, NM_LLDP_ATTR_SYSTEM_CAPABILITIES), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_MANAGEMENT_ADDRESSES, NM_LLDP_ATTR_MANAGEMENT_ADDRESSES), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PVID, NM_LLDP_ATTR_IEEE_802_1_PVID), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID, NM_LLDP_ATTR_IEEE_802_1_PPVID), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS), @@ -178,6 +183,7 @@ _NM_UTILS_LOOKUP_DEFINE (static, _lldp_attr_id_to_type, LldpAttrId, LldpAttrType NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_SYSTEM_NAME, LLDP_ATTR_TYPE_STRING), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_SYSTEM_DESCRIPTION, LLDP_ATTR_TYPE_STRING), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_SYSTEM_CAPABILITIES, LLDP_ATTR_TYPE_UINT32), + NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_MANAGEMENT_ADDRESSES, LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PVID, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, LLDP_ATTR_TYPE_UINT32), @@ -253,6 +259,24 @@ _lldp_attr_set_uint32 (LldpAttrData *pdata, LldpAttrId attr_id, guint32 v_uint32 pdata->v_uint32 = v_uint32; } +static void +_lldp_attr_add_vardict (LldpAttrData *pdata, LldpAttrId attr_id, GVariant *variant) +{ + nm_assert (pdata); + nm_assert (_lldp_attr_id_to_type (attr_id) == LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS); + + g_variant_ref_sink (variant); + pdata = &pdata[attr_id]; + + if (pdata->attr_type == LLDP_ATTR_TYPE_NONE) { + c_list_init (&pdata->v_variant_list); + pdata->attr_type = LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS; + } else + nm_assert (pdata->attr_type == LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS); + + c_list_link_tail (&pdata->v_variant_list, &nm_c_list_elem_new_stale (variant)->lst); +} + /*****************************************************************************/ static guint @@ -298,13 +322,25 @@ static void lldp_neighbor_free (LldpNeighbor *neighbor) { LldpAttrId attr_id; + LldpAttrType attr_type; if (neighbor) { g_free (neighbor->chassis_id); g_free (neighbor->port_id); for (attr_id = 0; attr_id < _LLDP_ATTR_ID_COUNT; attr_id++) { - if (neighbor->attrs[attr_id].attr_type == LLDP_ATTR_TYPE_STRING) + attr_type = neighbor->attrs[attr_id].attr_type; + + switch (attr_type) { + case LLDP_ATTR_TYPE_STRING: g_free (neighbor->attrs[attr_id].v_string); + break; + case LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS: + nm_c_list_elem_free_all (&neighbor->attrs[attr_id].v_variant_list, + (GDestroyNotify) g_variant_unref); + break; + default: + ; + } } g_clear_pointer (&neighbor->variant, g_variant_unref); g_slice_free (LldpNeighbor, neighbor); @@ -353,6 +389,75 @@ lldp_neighbor_equal (LldpNeighbor *a, LldpNeighbor *b) return TRUE; } +static GVariant * +parse_management_address_tlv (uint8_t *data, gsize len) +{ + GVariantDict dict; + GVariant *variant; + gsize addr_len, oid_len; + + /* 802.1AB-2009 - Figure 8-11 + * + * - TLV type / length (2 bytes) + * - address string length (1 byte) + * - address subtype (1 byte) + * - address (1 to 31 bytes) + * - interface number subtype (1 byte) + * - interface number (4 bytes) + * - OID string length (1 byte) + * - OID (0 to 128 bytes) + */ + + if (len < 11) + goto err; + + nm_assert ((data[0] >> 1) == SD_LLDP_TYPE_MGMT_ADDRESS); + nm_assert ((((data[0] & 1) << 8) + data[1]) + 2 == len); + + data += 2; + len -= 2; + addr_len = *data; /* length of (address subtype + address) */ + + if (addr_len < 2 || addr_len > 32) + goto err; + if (len < ( 1 /* address stringth length */ + + addr_len /* address subtype + address */ + + 5 /* interface */ + + 1)) /* oid */ + goto err; + + g_variant_dict_init (&dict, NULL); + + data++; + len--; + g_variant_dict_insert (&dict, "address-subtype", "u", (guint32) *data); + variant = g_variant_new_fixed_array (G_VARIANT_TYPE_BYTE, data + 1, addr_len - 1, 1); + g_variant_dict_insert_value (&dict, "address", variant); + + data += addr_len; + len -= addr_len; + g_variant_dict_insert (&dict, "interface-number-subtype", "u", (guint32) *data); + + data++; + len--; + g_variant_dict_insert (&dict, "interface-number", "u", unaligned_read_be32 (data)); + + data += 4; + len -= 4; + oid_len = *data; + + if (len < (1 + oid_len)) + goto err; + + data++; + variant = g_variant_new_fixed_array (G_VARIANT_TYPE_BYTE, data, oid_len, 1); + g_variant_dict_insert_value (&dict, "object-id", variant); + return g_variant_dict_end (&dict); +err: + g_variant_dict_clear (&dict); + return NULL; +} + static LldpNeighbor * lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) { @@ -454,7 +559,29 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) } do { guint8 oui[3]; - guint8 subtype; + guint8 type, subtype; + GVariant *variant; + + if (sd_lldp_neighbor_tlv_get_type (neighbor_sd, &type) < 0) + continue; + + if (sd_lldp_neighbor_tlv_get_raw (neighbor_sd, (void *) &data8, &len) < 0) + continue; + + switch (type) { + case SD_LLDP_TYPE_MGMT_ADDRESS: + variant = parse_management_address_tlv (data8, len); + if (variant) { + _lldp_attr_add_vardict (neigh->attrs, + LLDP_ATTR_ID_MANAGEMENT_ADDRESSES, + variant); + } + continue; + case SD_LLDP_TYPE_PRIVATE: + break; + default: + continue; + } r = sd_lldp_neighbor_tlv_get_oui (neighbor_sd, oui, &subtype); if (r < 0) { @@ -472,8 +599,6 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) SD_LLDP_OUI_802_1_SUBTYPE_VLAN_NAME))) continue; - if (sd_lldp_neighbor_tlv_get_raw (neighbor_sd, (void *) &data8, &len) < 0) - continue; /* skip over leading TLV, OUI and subtype */ #ifdef WITH_MORE_ASSERTS @@ -594,6 +719,20 @@ lldp_neighbor_to_variant (LldpNeighbor *neigh) _lldp_attr_id_to_name (attr_id), g_variant_new_string (data->v_string)); break; + case LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS: { + NMCListElem *elem; + GVariantBuilder builder2; + + g_variant_builder_init (&builder2, G_VARIANT_TYPE ("aa{sv}")); + + c_list_for_each_entry (elem, &data->v_variant_list, lst) + g_variant_builder_add_value (&builder2, elem->data); + + g_variant_builder_add (&builder, "{sv}", + _lldp_attr_id_to_name (attr_id), + g_variant_builder_end (&builder2)); + break; + } default: break; } diff --git a/src/devices/tests/test-lldp.c b/src/devices/tests/test-lldp.c index 7227d08264..e045d29928 100644 --- a/src/devices/tests/test-lldp.c +++ b/src/devices/tests/test-lldp.c @@ -231,8 +231,9 @@ TEST_RECV_FRAME_DEFINE (_test_recv_data1_frame0, static void _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) { - GVariant *neighbors, *attr; + GVariant *neighbors, *attr, *child; gs_unref_variant GVariant *neighbor = NULL; + guint v_uint = 0; neighbors = nm_lldp_listener_get_neighbors (listener); nmtst_assert_variant_is_of_type (neighbors, G_VARIANT_TYPE ("aa{sv}")); @@ -242,7 +243,7 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) SD_LLDP_CHASSIS_SUBTYPE_MAC_ADDRESS, "00:01:30:F9:AD:A0", SD_LLDP_PORT_SUBTYPE_INTERFACE_NAME, "1/1"); g_assert (neighbor); - g_assert_cmpint (g_variant_n_children (neighbor), ==, 4 + 10); + g_assert_cmpint (g_variant_n_children (neighbor), ==, 4 + 11); attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_DESTINATION, G_VARIANT_TYPE_STRING); nmtst_assert_variant_string (attr, NM_LLDP_DEST_NEAREST_BRIDGE); @@ -270,7 +271,21 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) nmtst_assert_variant_uint32 (attr, 20); nm_clear_g_variant (&attr); - /* unsupported: Management Address */ + /* Management Address */ + attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_MANAGEMENT_ADDRESSES, G_VARIANT_TYPE ("aa{sv}")); + g_assert (attr); + g_assert_cmpuint (g_variant_n_children (attr), ==, 1); + child = g_variant_get_child_value (attr, 0); + g_assert (child); + g_variant_lookup (child, "interface-number", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 1001); + g_variant_lookup (child, "interface-number-subtype", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 2); + g_variant_lookup (child, "address-subtype", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 6); + nm_clear_g_variant (&child); + nm_clear_g_variant (&attr); + /* unsupported: IEEE 802.3 - Power Via MDI */ /* unsupported: IEEE 802.3 - MAC/PHY Configuration/Status */ /* unsupported: IEEE 802.3 - Link Aggregation */ diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index 323e052688..fe680fa215 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -753,6 +753,21 @@ class Device(ExportedObj): 'system-description': dbus.String('Test system #3'), 'system-capabilities': dbus.UInt32(40), 'destination': dbus.String('nearest-customer-bridge'), + 'management-addresses': dbus.Array([ + dbus.Dictionary({ + 'address-subtype': dbus.UInt32(1), + 'address': dbus.ByteArray(b'\xc0\xa8\x01\x01'), + 'interface-number': dbus.UInt32(4), + 'interface-number-subtype': dbus.UInt32(3), + 'object-id': dbus.ByteArray(b'\x01\x02\x03\x04') + }, signature = 'sv'), + dbus.Dictionary({ + 'address-subtype': dbus.UInt32(2), + 'address': dbus.ByteArray(b'\xfd\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x12\x34\x56\x78'), + 'interface-number': dbus.UInt32(1), + 'interface-number-subtype': dbus.UInt32(2), + }, signature = 'sv'), + ]) }) ], 'a{sv}') } From c4be4ea298bcb94bdf77144f9ee64b3fbbff8a4d Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 20 Dec 2018 18:31:45 +0100 Subject: [PATCH 07/13] lldp: support multiple vlans Previously we exported the contents of VLAN Name TLV in the 'vid' (uint32) and 'vlan-name' (string) attributes. This is not entirely correct as the TLV can appear multiple times. We need a way to export all the VLAN IDs and names for the neighbor. Add a new 'vlans' attribute which obsoletes the other two and is an array of dictionaries, where each dictionary contains the 'vid' and 'name' keys. --- libnm-core/nm-dbus-interface.h | 4 +++ src/devices/nm-lldp-listener.c | 51 +++++++++++++--------------- src/devices/tests/test-lldp.c | 15 +++++++- tools/test-networkmanager-service.py | 12 ++++++- 4 files changed, 53 insertions(+), 29 deletions(-) diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index 3465726c83..1dc6410ce8 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -841,6 +841,10 @@ typedef enum /*< flags >*/ { #define NM_LLDP_ATTR_IEEE_802_1_PVID "ieee-802-1-pvid" #define NM_LLDP_ATTR_IEEE_802_1_PPVID "ieee-802-1-ppvid" #define NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS "ieee-802-1-ppvid-flags" +#define NM_LLDP_ATTR_IEEE_802_1_VLANS "ieee-802-1-vlans" + +/* These are deprecated in favor of NM_LLDP_ATTR_IEEE_802_1_VLANS, + * which can report multiple VLANs */ #define NM_LLDP_ATTR_IEEE_802_1_VID "ieee-802-1-vid" #define NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME "ieee-802-1-vlan-name" diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index 55170985d9..f5b435ccfd 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -58,6 +58,7 @@ typedef enum { LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, LLDP_ATTR_ID_IEEE_802_1_VID, LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, + LLDP_ATTR_ID_IEEE_802_1_VLANS, _LLDP_ATTR_ID_COUNT, } LldpAttrId; @@ -174,6 +175,7 @@ NM_UTILS_LOOKUP_STR_DEFINE_STATIC (_lldp_attr_id_to_name, LldpAttrId, NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, NM_LLDP_ATTR_IEEE_802_1_VID), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLANS, NM_LLDP_ATTR_IEEE_802_1_VLANS), NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_ATTR_ID_COUNT), ); @@ -189,6 +191,7 @@ _NM_UTILS_LOOKUP_DEFINE (static, _lldp_attr_id_to_type, LldpAttrId, LldpAttrType NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, LLDP_ATTR_TYPE_STRING), + NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLANS, LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS), NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_ATTR_ID_COUNT), ); @@ -208,13 +211,8 @@ _lldp_attr_set_str (LldpAttrData *pdata, LldpAttrId attr_id, const char *v_strin } static void -_lldp_attr_set_str_ptr (LldpAttrData *pdata, LldpAttrId attr_id, const void *str, gsize len) +_lldp_attr_take_str_ptr (LldpAttrData *pdata, LldpAttrId attr_id, char *str) { - const char *s = str; - const char *tmp; - gsize len0 = len; - gs_free char *str_free = NULL; - nm_assert (pdata); nm_assert (_lldp_attr_id_to_type (attr_id) == LLDP_ATTR_TYPE_STRING); @@ -225,23 +223,7 @@ _lldp_attr_set_str_ptr (LldpAttrData *pdata, LldpAttrId attr_id, const void *str return; pdata->attr_type = LLDP_ATTR_TYPE_STRING; - - /* truncate at first NUL, including removing trailing NULs*/ - tmp = memchr (s, '\0', len); - if (tmp) - len = tmp - s; - - if (!len) { - pdata->v_string = g_strdup (""); - return; - } - - if (len0 <= len || s[len] != '\0') { - /* hmpf, g_strescape needs a trailing NUL. Need to clone */ - s = str_free = g_strndup (s, len); - } - - pdata->v_string = g_strescape (s, NULL); + pdata->v_string = str; } static void @@ -637,6 +619,10 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) break; case SD_LLDP_OUI_802_1_SUBTYPE_VLAN_NAME: { int l; + GVariantDict dict; + guint32 vid; + const char *name; + char *name_to_free; if (len <= 3) continue; @@ -647,10 +633,21 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) if (l > 32) continue; - _lldp_attr_set_uint32 (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_VID, - unaligned_read_be16 (&data8[0])); - _lldp_attr_set_str_ptr (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, - &data8[3], l); + name = nm_utils_buf_utf8safe_escape (&data8[3], l, 0, &name_to_free); + vid = unaligned_read_be16 (&data8[0]); + + g_variant_dict_init (&dict, NULL); + g_variant_dict_insert (&dict, "vid", "u", vid); + g_variant_dict_insert (&dict, "name", "s", name); + + _lldp_attr_add_vardict (neigh->attrs, + LLDP_ATTR_ID_IEEE_802_1_VLANS, + g_variant_dict_end (&dict)); + + _lldp_attr_set_uint32 (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_VID, vid); + _lldp_attr_take_str_ptr (neigh->attrs, + LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, + name_to_free ?: g_strdup (name)); break; } default: diff --git a/src/devices/tests/test-lldp.c b/src/devices/tests/test-lldp.c index e045d29928..6bea1ed75e 100644 --- a/src/devices/tests/test-lldp.c +++ b/src/devices/tests/test-lldp.c @@ -234,6 +234,7 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) GVariant *neighbors, *attr, *child; gs_unref_variant GVariant *neighbor = NULL; guint v_uint = 0; + const char *v_str = NULL; neighbors = nm_lldp_listener_get_neighbors (listener); nmtst_assert_variant_is_of_type (neighbors, G_VARIANT_TYPE ("aa{sv}")); @@ -243,7 +244,7 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) SD_LLDP_CHASSIS_SUBTYPE_MAC_ADDRESS, "00:01:30:F9:AD:A0", SD_LLDP_PORT_SUBTYPE_INTERFACE_NAME, "1/1"); g_assert (neighbor); - g_assert_cmpint (g_variant_n_children (neighbor), ==, 4 + 11); + g_assert_cmpint (g_variant_n_children (neighbor), ==, 4 + 12); attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_DESTINATION, G_VARIANT_TYPE_STRING); nmtst_assert_variant_string (attr, NM_LLDP_DEST_NEAREST_BRIDGE); @@ -312,6 +313,18 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) nmtst_assert_variant_uint32 (attr, 488); nm_clear_g_variant (&attr); + /* new VLAN attributes */ + attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_IEEE_802_1_VLANS, G_VARIANT_TYPE ("aa{sv}")); + g_assert_cmpuint (g_variant_n_children (attr), ==, 1); + child = g_variant_get_child_value (attr, 0); + g_assert (child); + g_variant_lookup (child, "vid", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 488); + g_variant_lookup (child, "name", "&s", &v_str); + g_assert_cmpstr (v_str, ==, "v2-0488-03-0505"); + nm_clear_g_variant (&child); + nm_clear_g_variant (&attr); + /* unsupported: IEEE 802.1 - Protocol Identity */ } diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index fe680fa215..ddf92c0a27 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -741,7 +741,17 @@ class Device(ExportedObj): 'system-name': dbus.String('test2.example.com'), 'system-description': dbus.String('Test system #2'), 'system-capabilities': dbus.UInt32(2047), - 'destination': dbus.String('nearest-non-tpmr-bridge') + 'destination': dbus.String('nearest-non-tpmr-bridge'), + 'ieee-802-1-vlans': dbus.Array([ + dbus.Dictionary({ + 'vid': dbus.UInt32(80), + 'name': dbus.String('vlan80'), + }, signature = 'sv'), + dbus.Dictionary({ + 'vid': dbus.UInt32(4000), + 'name': dbus.String('My VLAN'), + }, signature = 'sv'), + ]), }), dbus.Dictionary({ 'chassis-id-type': dbus.UInt32(6), From 452851cc3502ffb1730c08d88c8d84a12754082f Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Fri, 1 Feb 2019 11:15:46 +0100 Subject: [PATCH 08/13] lldp: support multiple PPVIDs As done for VLANs, add a new 'ppvids' attribute that reports all 'port and protocol VLAN ID' TLVs for the neighbor. --- libnm-core/nm-dbus-interface.h | 9 +++++-- src/devices/nm-lldp-listener.c | 36 ++++++++++++++++++---------- src/devices/tests/test-lldp.c | 14 ++++++++++- tools/test-networkmanager-service.py | 10 ++++++++ 4 files changed, 54 insertions(+), 15 deletions(-) diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index 1dc6410ce8..c2ad09ae26 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -838,16 +838,21 @@ typedef enum /*< flags >*/ { #define NM_LLDP_ATTR_SYSTEM_DESCRIPTION "system-description" #define NM_LLDP_ATTR_SYSTEM_CAPABILITIES "system-capabilities" #define NM_LLDP_ATTR_MANAGEMENT_ADDRESSES "management-addresses" + #define NM_LLDP_ATTR_IEEE_802_1_PVID "ieee-802-1-pvid" -#define NM_LLDP_ATTR_IEEE_802_1_PPVID "ieee-802-1-ppvid" -#define NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS "ieee-802-1-ppvid-flags" #define NM_LLDP_ATTR_IEEE_802_1_VLANS "ieee-802-1-vlans" +#define NM_LLDP_ATTR_IEEE_802_1_PPVIDS "ieee-802-1-ppvids" /* These are deprecated in favor of NM_LLDP_ATTR_IEEE_802_1_VLANS, * which can report multiple VLANs */ #define NM_LLDP_ATTR_IEEE_802_1_VID "ieee-802-1-vid" #define NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME "ieee-802-1-vlan-name" +/* These are deprecated in favor of NM_LLDP_ATTR_IEEE_802_1_PPVIDS, + * which can report multiple PPVIDs */ +#define NM_LLDP_ATTR_IEEE_802_1_PPVID "ieee-802-1-ppvid" +#define NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS "ieee-802-1-ppvid-flags" + #define NM_LLDP_DEST_NEAREST_BRIDGE "nearest-bridge" #define NM_LLDP_DEST_NEAREST_NON_TPMR_BRIDGE "nearest-non-tpmr-bridge" #define NM_LLDP_DEST_NEAREST_CUSTOMER_BRIDGE "nearest-customer-bridge" diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index f5b435ccfd..b4709fe7eb 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -56,6 +56,7 @@ typedef enum { LLDP_ATTR_ID_IEEE_802_1_PVID, LLDP_ATTR_ID_IEEE_802_1_PPVID, LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, + LLDP_ATTR_ID_IEEE_802_1_PPVIDS, LLDP_ATTR_ID_IEEE_802_1_VID, LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, LLDP_ATTR_ID_IEEE_802_1_VLANS, @@ -165,17 +166,18 @@ ether_addr_equal (const struct ether_addr *a1, const struct ether_addr *a2) NM_UTILS_LOOKUP_STR_DEFINE_STATIC (_lldp_attr_id_to_name, LldpAttrId, NM_UTILS_LOOKUP_DEFAULT_WARN (NULL), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_PORT_DESCRIPTION, NM_LLDP_ATTR_PORT_DESCRIPTION), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_NAME, NM_LLDP_ATTR_SYSTEM_NAME), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_DESCRIPTION, NM_LLDP_ATTR_SYSTEM_DESCRIPTION), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_CAPABILITIES, NM_LLDP_ATTR_SYSTEM_CAPABILITIES), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_MANAGEMENT_ADDRESSES, NM_LLDP_ATTR_MANAGEMENT_ADDRESSES), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PVID, NM_LLDP_ATTR_IEEE_802_1_PVID), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID, NM_LLDP_ATTR_IEEE_802_1_PPVID), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, NM_LLDP_ATTR_IEEE_802_1_VID), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME), - NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLANS, NM_LLDP_ATTR_IEEE_802_1_VLANS), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_PORT_DESCRIPTION, NM_LLDP_ATTR_PORT_DESCRIPTION), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_NAME, NM_LLDP_ATTR_SYSTEM_NAME), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_DESCRIPTION, NM_LLDP_ATTR_SYSTEM_DESCRIPTION), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_SYSTEM_CAPABILITIES, NM_LLDP_ATTR_SYSTEM_CAPABILITIES), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_MANAGEMENT_ADDRESSES, NM_LLDP_ATTR_MANAGEMENT_ADDRESSES), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PVID, NM_LLDP_ATTR_IEEE_802_1_PVID), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID, NM_LLDP_ATTR_IEEE_802_1_PPVID), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVIDS, NM_LLDP_ATTR_IEEE_802_1_PPVIDS), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, NM_LLDP_ATTR_IEEE_802_1_VID), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLANS, NM_LLDP_ATTR_IEEE_802_1_VLANS), NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_ATTR_ID_COUNT), ); @@ -189,6 +191,7 @@ _NM_UTILS_LOOKUP_DEFINE (static, _lldp_attr_id_to_type, LldpAttrId, LldpAttrType NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PVID, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVID_FLAGS, LLDP_ATTR_TYPE_UINT32), + NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_PPVIDS, LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, LLDP_ATTR_TYPE_STRING), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLANS, LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS), @@ -602,6 +605,8 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) /*if (memcmp (oui, SD_LLDP_OUI_802_1, sizeof (oui)) == 0)*/ { + GVariantDict dict; + switch (subtype) { case SD_LLDP_OUI_802_1_SUBTYPE_PORT_VLAN_ID: if (len != 2) @@ -616,10 +621,17 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) data8[0]); _lldp_attr_set_uint32 (neigh->attrs, LLDP_ATTR_ID_IEEE_802_1_PPVID, unaligned_read_be16 (&data8[1])); + + g_variant_dict_init (&dict, NULL); + g_variant_dict_insert (&dict, "ppvid", "u", (guint32) unaligned_read_be16 (&data8[1])); + g_variant_dict_insert (&dict, "flags", "u", (guint32) data8[0]); + + _lldp_attr_add_vardict (neigh->attrs, + LLDP_ATTR_ID_IEEE_802_1_PPVIDS, + g_variant_dict_end (&dict)); break; case SD_LLDP_OUI_802_1_SUBTYPE_VLAN_NAME: { int l; - GVariantDict dict; guint32 vid; const char *name; char *name_to_free; diff --git a/src/devices/tests/test-lldp.c b/src/devices/tests/test-lldp.c index 6bea1ed75e..edb26e762d 100644 --- a/src/devices/tests/test-lldp.c +++ b/src/devices/tests/test-lldp.c @@ -244,7 +244,7 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) SD_LLDP_CHASSIS_SUBTYPE_MAC_ADDRESS, "00:01:30:F9:AD:A0", SD_LLDP_PORT_SUBTYPE_INTERFACE_NAME, "1/1"); g_assert (neighbor); - g_assert_cmpint (g_variant_n_children (neighbor), ==, 4 + 12); + g_assert_cmpint (g_variant_n_children (neighbor), ==, 4 + 13); attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_DESTINATION, G_VARIANT_TYPE_STRING); nmtst_assert_variant_string (attr, NM_LLDP_DEST_NEAREST_BRIDGE); @@ -305,6 +305,18 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) nmtst_assert_variant_uint32 (attr, 1); nm_clear_g_variant (&attr); + /* new PPVID attributes */ + attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_IEEE_802_1_PPVIDS, G_VARIANT_TYPE ("aa{sv}")); + g_assert_cmpuint (g_variant_n_children (attr), ==, 1); + child = g_variant_get_child_value (attr, 0); + g_assert (child); + g_variant_lookup (child, "ppvid", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 0); + g_variant_lookup (child, "flags", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 1); + nm_clear_g_variant (&child); + nm_clear_g_variant (&attr); + /* IEEE 802.1 - VLAN Name */ attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME, G_VARIANT_TYPE_STRING); nmtst_assert_variant_string (attr, "v2-0488-03-0505"); diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index ddf92c0a27..7b31696106 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -752,6 +752,16 @@ class Device(ExportedObj): 'name': dbus.String('My VLAN'), }, signature = 'sv'), ]), + 'ieee-802-1-ppvids': dbus.Array([ + dbus.Dictionary({ + 'ppvid': dbus.UInt32(4), + 'flags': dbus.UInt32(0x12), + }, signature = 'sv'), + dbus.Dictionary({ + 'ppvid': dbus.UInt32(10), + 'flags': dbus.UInt32(0x31), + }, signature = 'sv'), + ]), }), dbus.Dictionary({ 'chassis-id-type': dbus.UInt32(6), From 8200078ec5d5719234909b9189a9f31de4ddfa9b Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Fri, 1 Feb 2019 11:24:54 +0100 Subject: [PATCH 09/13] lldp: support IEEE 802.3 TLVs Add support for IEEE 802.3 organizationally specific TLVs: - MAC/PHY configuration/status (IEEE 802.1AB-2009 clause F.2) - power via medium dependent interface (clause F.3) - maximum frame size (clause F.4) --- libnm-core/nm-dbus-interface.h | 4 ++ src/devices/nm-lldp-listener.c | 89 +++++++++++++++++++++++++--- src/devices/tests/test-lldp.c | 32 ++++++++-- tools/test-networkmanager-service.py | 13 +++- 4 files changed, 124 insertions(+), 14 deletions(-) diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index c2ad09ae26..2e127c40b8 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -843,6 +843,10 @@ typedef enum /*< flags >*/ { #define NM_LLDP_ATTR_IEEE_802_1_VLANS "ieee-802-1-vlans" #define NM_LLDP_ATTR_IEEE_802_1_PPVIDS "ieee-802-1-ppvids" +#define NM_LLDP_ATTR_IEEE_802_3_MAC_PHY_CONF "ieee-802-3-mac-phy-conf" +#define NM_LLDP_ATTR_IEEE_802_3_POWER_VIA_MDI "ieee-802-3-power-via-mdi" +#define NM_LLDP_ATTR_IEEE_802_3_MAX_FRAME_SIZE "ieee-802-3-max-frame-size" + /* These are deprecated in favor of NM_LLDP_ATTR_IEEE_802_1_VLANS, * which can report multiple VLANs */ #define NM_LLDP_ATTR_IEEE_802_1_VID "ieee-802-1-vid" diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index b4709fe7eb..da52d90c31 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -42,6 +42,7 @@ typedef enum { LLDP_ATTR_TYPE_NONE, LLDP_ATTR_TYPE_UINT32, LLDP_ATTR_TYPE_STRING, + LLDP_ATTR_TYPE_VARDICT, LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS, } LldpAttrType; @@ -60,6 +61,9 @@ typedef enum { LLDP_ATTR_ID_IEEE_802_1_VID, LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, LLDP_ATTR_ID_IEEE_802_1_VLANS, + LLDP_ATTR_ID_IEEE_802_3_MAC_PHY_CONF, + LLDP_ATTR_ID_IEEE_802_3_POWER_VIA_MDI, + LLDP_ATTR_ID_IEEE_802_3_MAX_FRAME_SIZE, _LLDP_ATTR_ID_COUNT, } LldpAttrId; @@ -68,6 +72,7 @@ typedef struct { union { guint32 v_uint32; char *v_string; + GVariant *v_variant; CList v_variant_list; }; } LldpAttrData; @@ -178,6 +183,9 @@ NM_UTILS_LOOKUP_STR_DEFINE_STATIC (_lldp_attr_id_to_name, LldpAttrId, NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, NM_LLDP_ATTR_IEEE_802_1_VID), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME), NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLANS, NM_LLDP_ATTR_IEEE_802_1_VLANS), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_3_MAC_PHY_CONF, NM_LLDP_ATTR_IEEE_802_3_MAC_PHY_CONF), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_3_POWER_VIA_MDI, NM_LLDP_ATTR_IEEE_802_3_POWER_VIA_MDI), + NM_UTILS_LOOKUP_STR_ITEM (LLDP_ATTR_ID_IEEE_802_3_MAX_FRAME_SIZE,NM_LLDP_ATTR_IEEE_802_3_MAX_FRAME_SIZE), NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_ATTR_ID_COUNT), ); @@ -195,6 +203,9 @@ _NM_UTILS_LOOKUP_DEFINE (static, _lldp_attr_id_to_type, LldpAttrId, LldpAttrType NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VID, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLAN_NAME, LLDP_ATTR_TYPE_STRING), NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_1_VLANS, LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS), + NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_3_MAC_PHY_CONF, LLDP_ATTR_TYPE_VARDICT), + NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_3_POWER_VIA_MDI, LLDP_ATTR_TYPE_VARDICT), + NM_UTILS_LOOKUP_ITEM (LLDP_ATTR_ID_IEEE_802_3_MAX_FRAME_SIZE, LLDP_ATTR_TYPE_UINT32), NM_UTILS_LOOKUP_ITEM_IGNORE (_LLDP_ATTR_ID_COUNT), ); @@ -244,6 +255,26 @@ _lldp_attr_set_uint32 (LldpAttrData *pdata, LldpAttrId attr_id, guint32 v_uint32 pdata->v_uint32 = v_uint32; } +static void +_lldp_attr_set_vardict (LldpAttrData *pdata, LldpAttrId attr_id, GVariant *variant) +{ + + nm_assert (pdata); + nm_assert (_lldp_attr_id_to_type (attr_id) == LLDP_ATTR_TYPE_VARDICT); + + pdata = &pdata[attr_id]; + + /* we ignore duplicate fields silently */ + if (pdata->attr_type != LLDP_ATTR_TYPE_NONE) { + if (g_variant_is_floating (variant)) + g_variant_unref (variant); + return; + } + + pdata->attr_type = LLDP_ATTR_TYPE_VARDICT; + pdata->v_variant = g_variant_ref_sink (variant); +} + static void _lldp_attr_add_vardict (LldpAttrData *pdata, LldpAttrId attr_id, GVariant *variant) { @@ -319,6 +350,9 @@ lldp_neighbor_free (LldpNeighbor *neighbor) case LLDP_ATTR_TYPE_STRING: g_free (neighbor->attrs[attr_id].v_string); break; + case LLDP_ATTR_TYPE_VARDICT: + g_variant_unref (neighbor->attrs[attr_id].v_variant); + break; case LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS: nm_c_list_elem_free_all (&neighbor->attrs[attr_id].v_variant_list, (GDestroyNotify) g_variant_unref); @@ -577,14 +611,10 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) goto out; } - if (!( memcmp (oui, SD_LLDP_OUI_802_1, sizeof (oui)) == 0 - && NM_IN_SET (subtype, - SD_LLDP_OUI_802_1_SUBTYPE_PORT_PROTOCOL_VLAN_ID, - SD_LLDP_OUI_802_1_SUBTYPE_PORT_VLAN_ID, - SD_LLDP_OUI_802_1_SUBTYPE_VLAN_NAME))) + if ( memcmp (oui, SD_LLDP_OUI_802_1, sizeof (oui)) != 0 + && memcmp (oui, SD_LLDP_OUI_802_3, sizeof (oui)) != 0) continue; - /* skip over leading TLV, OUI and subtype */ #ifdef WITH_MORE_ASSERTS { @@ -603,8 +633,7 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) data8 += 6; len -= 6; - /*if (memcmp (oui, SD_LLDP_OUI_802_1, sizeof (oui)) == 0)*/ - { + if (memcmp (oui, SD_LLDP_OUI_802_1, sizeof (oui)) == 0) { GVariantDict dict; switch (subtype) { @@ -663,7 +692,44 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) break; } default: - g_assert_not_reached (); + continue; + } + } else if (memcmp (oui, SD_LLDP_OUI_802_3, sizeof (oui)) == 0) { + GVariantDict dict; + + switch (subtype) { + case SD_LLDP_OUI_802_3_SUBTYPE_MAC_PHY_CONFIG_STATUS: + if (len != 5) + continue; + + g_variant_dict_init (&dict, NULL); + g_variant_dict_insert (&dict, "autoneg", "u", (guint32) data8[0]); + g_variant_dict_insert (&dict, "pmd-autoneg-cap", "u", (guint32) unaligned_read_be16 (&data8[1])); + g_variant_dict_insert (&dict, "operational-mau-type", "u", (guint32) unaligned_read_be16 (&data8[3])); + + _lldp_attr_set_vardict (neigh->attrs, + LLDP_ATTR_ID_IEEE_802_3_MAC_PHY_CONF, + g_variant_dict_end (&dict)); + break; + case SD_LLDP_OUI_802_3_SUBTYPE_POWER_VIA_MDI: + if (len != 3) + continue; + + g_variant_dict_init (&dict, NULL); + g_variant_dict_insert (&dict, "mdi-power-support", "u", (guint32) data8[0]); + g_variant_dict_insert (&dict, "pse-power-pair", "u", (guint32) data8[1]); + g_variant_dict_insert (&dict, "power-class", "u", (guint32) data8[2]); + + _lldp_attr_set_vardict (neigh->attrs, + LLDP_ATTR_ID_IEEE_802_3_POWER_VIA_MDI, + g_variant_dict_end (&dict)); + break; + case SD_LLDP_OUI_802_3_SUBTYPE_MAXIMUM_FRAME_SIZE: + if (len != 2) + continue; + _lldp_attr_set_uint32 (neigh->attrs, LLDP_ATTR_ID_IEEE_802_3_MAX_FRAME_SIZE, + unaligned_read_be16 (data8)); + break; } } } while (sd_lldp_neighbor_tlv_next (neighbor_sd) > 0); @@ -728,6 +794,11 @@ lldp_neighbor_to_variant (LldpNeighbor *neigh) _lldp_attr_id_to_name (attr_id), g_variant_new_string (data->v_string)); break; + case LLDP_ATTR_TYPE_VARDICT: + g_variant_builder_add (&builder, "{sv}", + _lldp_attr_id_to_name (attr_id), + data->v_variant); + break; case LLDP_ATTR_TYPE_ARRAY_OF_VARDICTS: { NMCListElem *elem; GVariantBuilder builder2; diff --git a/src/devices/tests/test-lldp.c b/src/devices/tests/test-lldp.c index edb26e762d..7b135f5886 100644 --- a/src/devices/tests/test-lldp.c +++ b/src/devices/tests/test-lldp.c @@ -244,7 +244,7 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) SD_LLDP_CHASSIS_SUBTYPE_MAC_ADDRESS, "00:01:30:F9:AD:A0", SD_LLDP_PORT_SUBTYPE_INTERFACE_NAME, "1/1"); g_assert (neighbor); - g_assert_cmpint (g_variant_n_children (neighbor), ==, 4 + 13); + g_assert_cmpint (g_variant_n_children (neighbor), ==, 4 + 16); attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_DESTINATION, G_VARIANT_TYPE_STRING); nmtst_assert_variant_string (attr, NM_LLDP_DEST_NEAREST_BRIDGE); @@ -287,10 +287,34 @@ _test_recv_data1_check (GMainLoop *loop, NMLldpListener *listener) nm_clear_g_variant (&child); nm_clear_g_variant (&attr); - /* unsupported: IEEE 802.3 - Power Via MDI */ - /* unsupported: IEEE 802.3 - MAC/PHY Configuration/Status */ + /* IEEE 802.3 - Power Via MDI */ + attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_IEEE_802_3_POWER_VIA_MDI, G_VARIANT_TYPE_VARDICT); + g_assert (attr); + g_variant_lookup (attr, "mdi-power-support", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 7); + g_variant_lookup (attr, "pse-power-pair", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 1); + g_variant_lookup (attr, "power-class", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 0); + nm_clear_g_variant (&attr); + + /* IEEE 802.3 - MAC/PHY Configuration/Status */ + attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_IEEE_802_3_MAC_PHY_CONF, G_VARIANT_TYPE_VARDICT); + g_assert (attr); + g_variant_lookup (attr, "autoneg", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 3); + g_variant_lookup (attr, "pmd-autoneg-cap", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 0x6c00); + g_variant_lookup (attr, "operational-mau-type", "u", &v_uint); + g_assert_cmpint (v_uint, ==, 16); + nm_clear_g_variant (&attr); + /* unsupported: IEEE 802.3 - Link Aggregation */ - /* unsupported: IEEE 802.3 - Maximum Frame Size*/ + + /* Maximum Frame Size */ + attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_IEEE_802_3_MAX_FRAME_SIZE, G_VARIANT_TYPE_UINT32); + nmtst_assert_variant_uint32 (attr, 1522); + nm_clear_g_variant (&attr); /* IEEE 802.1 - Port VLAN ID */ attr = g_variant_lookup_value (neighbor, NM_LLDP_ATTR_IEEE_802_1_PVID, G_VARIANT_TYPE_UINT32); diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index 7b31696106..c2d874f3f2 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -762,6 +762,7 @@ class Device(ExportedObj): 'flags': dbus.UInt32(0x31), }, signature = 'sv'), ]), + }), dbus.Dictionary({ 'chassis-id-type': dbus.UInt32(6), @@ -787,7 +788,17 @@ class Device(ExportedObj): 'interface-number': dbus.UInt32(1), 'interface-number-subtype': dbus.UInt32(2), }, signature = 'sv'), - ]) + ]), + 'ieee-802-3-mac-phy-conf': dbus.Dictionary({ + 'autoneg': dbus.UInt32(3), + 'pmd-autoneg-cap': dbus.UInt32(0xfe), + 'operational-mau-type': dbus.UInt32(5), + }, signature = 'sv'), + 'ieee-802-3-power-via-mdi': dbus.Dictionary({ + 'mdi-power-support': dbus.UInt32(7), + 'pse-power-pair': dbus.UInt32(6), + 'power-class': dbus.UInt32(1), + }, signature = 'sv'), }) ], 'a{sv}') } From 8db0319198a9e65e16ef94d8b44801eef5322dd9 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 30 Jan 2019 07:57:28 +0100 Subject: [PATCH 10/13] libnm/lldp: fix leak and bug in nm_lldp_neighbor_dup() For one, just reassigning copy->attrs leaks the previous hash table. Fix that. Also, NMLldpNeighbor instances are not immutable. I think that is an uglyness, and it would be preferable that they can be sealed. A sealed object could safely share/ref the internal hash-table. However, as it is, we cannot just have two NMLldpNeighbor instances share the same hash-table. Do a full copy. --- libnm/nm-device.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libnm/nm-device.c b/libnm/nm-device.c index a09ecb5cbb..9b19673d3d 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -2675,9 +2675,15 @@ static NMLldpNeighbor * nm_lldp_neighbor_dup (NMLldpNeighbor *neighbor) { NMLldpNeighbor *copy; + GHashTableIter iter; + const char *key; + GVariant *value; copy = nm_lldp_neighbor_new (); - copy->attrs = g_hash_table_ref (neighbor->attrs); + + g_hash_table_iter_init (&iter, neighbor->attrs); + while (g_hash_table_iter_next (&iter, (gpointer *) &key, (gpointer *) &value)) + g_hash_table_insert (copy->attrs, g_strdup (key), g_variant_ref (value)); return copy; } From 1c7cbda67a2a120f492d2c95d43410322214f8a6 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 30 Jan 2019 09:06:30 +0100 Subject: [PATCH 11/13] core/lldp: fix checking for NM_MORE_ASSERTS It's called NM_MORE_ASSERTS not WITH_MORE_ASSERTS. Also, NM_MORE_ASSERTS is always enabled. It's wrong to check whether it is defined. Fixes: e1e428b21e56cad3c50419e3fe2806dbbb21c976 --- src/devices/nm-lldp-listener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index da52d90c31..c8751f2ca6 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -616,7 +616,7 @@ lldp_neighbor_new (sd_lldp_neighbor *neighbor_sd, GError **error) continue; /* skip over leading TLV, OUI and subtype */ -#ifdef WITH_MORE_ASSERTS +#if NM_MORE_ASSERTS > 5 { guint8 check_hdr[] = { 0xfe | (((len - 2) >> 8) & 0x01), ((len - 2) & 0xFF), From 95aa7ac91e8d1b4c98fd4d2f8f87bddc03921fbe Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 30 Jan 2019 09:06:30 +0100 Subject: [PATCH 12/13] core/lldp: avoid default switch case in lldp_neighbor_to_variant() Explicitly check for LLDP_ATTR_TYPE_NONE. That's the only one we expect, and the compiler can warn about missing switch cases for enums. --- src/devices/nm-lldp-listener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index c8751f2ca6..e5b1ee52e1 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -813,7 +813,7 @@ lldp_neighbor_to_variant (LldpNeighbor *neigh) g_variant_builder_end (&builder2)); break; } - default: + case LLDP_ATTR_TYPE_NONE: break; } } From 5b51a1a9f711d7183ad2b11a1803714247b7faed Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 30 Jan 2019 07:42:33 +0100 Subject: [PATCH 13/13] libnm/lldp: cleanup asserting for valid NMLldpNeighbor agument At a few places we checked whether neighbor->attrs was non-NULL. That is not necessary, unless we'd like to catch some dangling/invalid pointers. The attrs hash is always set otherwise. Instead of just dropping the check, add a NM_IS_LLDP_NEIGHBOR() macro (inline function). --- libnm/nm-device.c | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 9b19673d3d..2af578183b 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -2649,6 +2649,18 @@ nm_device_get_setting_type (NMDevice *device) return NM_DEVICE_GET_CLASS (device)->get_setting_type (device); } +/*****************************************************************************/ + +static gboolean +NM_IS_LLDP_NEIGHBOR (const NMLldpNeighbor *self) +{ + nm_assert ( !self + || ( self->refcount > 0 + && self->attrs)); + return self + && self->refcount > 0; +} + /** * nm_lldp_neighbor_new: * @@ -2699,8 +2711,7 @@ nm_lldp_neighbor_dup (NMLldpNeighbor *neighbor) void nm_lldp_neighbor_ref (NMLldpNeighbor *neighbor) { - g_return_if_fail (neighbor); - g_return_if_fail (neighbor->refcount > 0); + g_return_if_fail (NM_IS_LLDP_NEIGHBOR (neighbor)); neighbor->refcount++; } @@ -2717,11 +2728,9 @@ nm_lldp_neighbor_ref (NMLldpNeighbor *neighbor) void nm_lldp_neighbor_unref (NMLldpNeighbor *neighbor) { - g_return_if_fail (neighbor); - g_return_if_fail (neighbor->refcount > 0); + g_return_if_fail (NM_IS_LLDP_NEIGHBOR (neighbor)); if (--neighbor->refcount == 0) { - g_return_if_fail (neighbor->attrs); g_hash_table_unref (neighbor->attrs); g_free (neighbor); } @@ -2744,8 +2753,7 @@ nm_lldp_neighbor_get_attr_names (NMLldpNeighbor *neighbor) const char *key; GPtrArray *names; - g_return_val_if_fail (neighbor, NULL); - g_return_val_if_fail (neighbor->attrs, NULL); + g_return_val_if_fail (NM_IS_LLDP_NEIGHBOR (neighbor), NULL); names = g_ptr_array_new (); @@ -2776,7 +2784,7 @@ nm_lldp_neighbor_get_attr_string_value (NMLldpNeighbor *neighbor, const char *na { GVariant *variant; - g_return_val_if_fail (neighbor, FALSE); + g_return_val_if_fail (NM_IS_LLDP_NEIGHBOR (neighbor), FALSE); g_return_val_if_fail (name && name[0], FALSE); variant = g_hash_table_lookup (neighbor->attrs, name); @@ -2806,7 +2814,7 @@ nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, const char *name { GVariant *variant; - g_return_val_if_fail (neighbor, FALSE); + g_return_val_if_fail (NM_IS_LLDP_NEIGHBOR (neighbor), FALSE); g_return_val_if_fail (name && name[0], FALSE); variant = g_hash_table_lookup (neighbor->attrs, name); @@ -2833,7 +2841,7 @@ nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor, const char *name GVariant * nm_lldp_neighbor_get_attr_value (NMLldpNeighbor *neighbor, const char *name) { - g_return_val_if_fail (neighbor, FALSE); + g_return_val_if_fail (NM_IS_LLDP_NEIGHBOR (neighbor), FALSE); g_return_val_if_fail (name && name[0], FALSE); return g_hash_table_lookup (neighbor->attrs, name); @@ -2855,7 +2863,7 @@ nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor, const char *name) { GVariant *variant; - g_return_val_if_fail (neighbor, NULL); + g_return_val_if_fail (NM_IS_LLDP_NEIGHBOR (neighbor), NULL); g_return_val_if_fail (name && name[0], NULL); variant = g_hash_table_lookup (neighbor->attrs, name); @@ -2863,5 +2871,4 @@ nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor, const char *name) return g_variant_get_type (variant); else return NULL; - }