Add IPv6 address generation mode & privacy extensions (#5892)

* feat: Add IPv6 address generation mode & privacy extensions

Signed-off-by: David Rapan <david@rapan.cz>

* Use NetworkManager fixture for settings init tests

This fixes the test by since the extended implementation now can read
the version of NetworkManager.

* Add pytest for addr_gen_mode

---------

Signed-off-by: David Rapan <david@rapan.cz>
Co-authored-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
David Rapan
2025-05-20 17:03:08 +02:00
committed by GitHub
parent 6e6fe5ba39
commit 3b575eedba
11 changed files with 274 additions and 68 deletions

View File

@@ -51,8 +51,10 @@ async def test_api_network_info(api_client: TestClient, coresys: CoreSys):
"ready": False,
}
assert interface["ipv6"] == {
"addr_gen_mode": "default",
"address": [],
"gateway": None,
"ip6_privacy": "default",
"method": "disabled",
"nameservers": [],
"ready": False,