From 65026b8bc3040315e87464eeecf81c1989c9cee5 Mon Sep 17 00:00:00 2001 From: Wieger Bontekoe Date: Mon, 1 May 2023 20:35:49 +0200 Subject: Update l3_interfaces.py - Fix for issue 295 (#314) * Update l3_interfaces.py Fix for issue: https://github.com/ansible-collections/vyos.vyos/issues/295 --------- Co-authored-by: Kate Case --- .../module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins') diff --git a/plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py b/plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py index ea4cf69b..ebfab030 100644 --- a/plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py +++ b/plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py @@ -126,6 +126,10 @@ class L3_interfacesFacts(object): config["ipv4"].append({"address": item}) elif item == "dhcpv6": config["ipv6"].append({"address": item}) + elif item == "no-default-link-local": + config["ipv6"].append({"address": item}) + elif item == "autoconf": + config["ipv6"].append({"address": item}) else: ip_version = get_ip_address_version(item.split("/")[0]) if ip_version == 4: -- cgit v1.2.3