Skip to content

Commit e636e23

Browse files
author
Bernhard Kaindl
committed
Genereate the integration of the remaining settings objects
The previous commit manually added the set of settings objects which I have on my machine. This commit generates the full integration of settings objects. Like with the previous commit, this could be split into many small commits, but it should be ok to review like the last was. Like before, the small changes are fixing up e.g. imperfect ordering of manually ordered lists. I fixed names where I used "wifi" before to "wireless" as this is the wording the wording from the NM settings objects. Like before, this is tested with the two updated examples on my system which has many connection types defined.
1 parent af98a90 commit e636e23

File tree

7 files changed

+362
-423
lines changed

7 files changed

+362
-423
lines changed

examples/async/add-wifi-psk-connection-async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ async def add_wifi_psk_connection_profile_async(args: Namespace) -> None:
8585
),
8686
ipv4=Ipv4Settings(method="auto"),
8787
ipv6=Ipv6Settings(method="auto"),
88-
wifi=WirelessSettings(ssid=args.ssid.encode("utf-8")),
89-
wifi_security=WirelessSecuritySettings(
88+
wireless=WirelessSettings(ssid=args.ssid.encode("utf-8")),
89+
wireless_security=WirelessSecuritySettings(
9090
key_mgmt=args.key_mgmt, auth_alg="open", psk=args.password
9191
),
9292
)

sdbus_async/networkmanager/settings.py

Lines changed: 0 additions & 368 deletions
This file was deleted.

0 commit comments

Comments
 (0)