diff options
author | Wieger Bontekoe <wieger.bontekoe@gmail.com> | 2023-05-01 20:35:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 14:35:49 -0400 |
commit | 65026b8bc3040315e87464eeecf81c1989c9cee5 (patch) | |
tree | b4b348bfa3e65152a5f8aa5bf73de1070b074e08 /plugins | |
parent | 9e481fdbf7f8306866899bf5b4ecc8aecccb508d (diff) | |
download | vyos.vyos-65026b8bc3040315e87464eeecf81c1989c9cee5.tar.gz vyos.vyos-65026b8bc3040315e87464eeecf81c1989c9cee5.zip |
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 <this.is@katherineca.se>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 ea4cf69..ebfab03 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: |