network/roles
Timotej Lazar 6ade4f2f8a access: fix VLAN database idempotency
Do not try and match the global VLAN list as printed by the switch.
Instead, only try to realize the truth: there may be some VLANs added
and some removed.

We keep the compact_numlist filter and use it instead of the built-in
vlan_parser when listing VLANs for tagged ports. This is because some
switches compact 1,2,4,5,6 as 1-2,4-6 and others as 1,2,4-6 (see next
commit).

All of this should reduce the number of cases where Ansible reports a
change in configuration where there was in fact no change.
2025-09-18 13:54:39 +02:00
..
access access: fix VLAN database idempotency 2025-09-18 13:54:39 +02:00
exit exit: import firewalls’ addresses into inside VRFs 2025-07-18 15:20:32 +02:00
fabric fabric: make some space 2025-04-03 18:42:23 +02:00
facts/tasks facts: only look up prefixes and VLANs once 2025-08-01 13:40:14 +02:00
firewall firewall: do track wireguard connections not meant for us 2025-07-19 12:02:07 +02:00
leaf leaf: don’t activate disabled interfaces in the EVPN family 2025-08-14 17:09:47 +02:00
spine Initial commit, squashed 2023-12-18 12:55:47 +01:00