From b2c78f8984be36397109a81ad75f2dd576ff787d Mon Sep 17 00:00:00 2001 From: Florian Kaiser <37000563+flok@users.noreply.github.com> Date: Mon, 23 Jan 2023 22:18:46 +0100 Subject: [PATCH] Fetch the IPv6 Prefix thats currently used for IPv6 Addresses in the network --- .../classes/fritzbox/service_definitions/tr069.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fritzinfluxdb/classes/fritzbox/service_definitions/tr069.py b/fritzinfluxdb/classes/fritzbox/service_definitions/tr069.py index 361969b..5c0255f 100644 --- a/fritzinfluxdb/classes/fritzbox/service_definitions/tr069.py +++ b/fritzinfluxdb/classes/fritzbox/service_definitions/tr069.py @@ -32,13 +32,16 @@ "name": "WANIPConn", "actions": [ "GetStatusInfo", - "X_AVM_DE_GetExternalIPv6Address" + "X_AVM_DE_GetExternalIPv6Address", + "X_AVM_DE_GetIPv6Prefix" ], "value_instances": { "NewUptime": "linkuptime", "NewConnectionStatus": "connection_status", "NewLastConnectionError": "last_connection_error", - "NewExternalIPv6Address": "external_ipv6" + "NewExternalIPv6Address": "external_ipv6", + "NewIPv6Prefix" : "ipv6_prefix", + "NewPrefixLength": "ipv6_prefix_length" } }, {