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
88686ab939
access: set IPv6 management address for D-Link switches
...
Also default route.
2025-07-31 17:49:37 +02:00
a1147a3283
access: disable port-security on trunk ports
...
Because it messes up AP roaming: client MAC will not be learned on the
switch port for the new AP until the old one times out in five minutes.
2025-05-23 12:39:59 +02:00
6040a3ae84
access: round allowed MACs on a port down to 64
...
Haven’t seen anyone use more than ten.
2025-03-26 19:12:15 +01:00
0ed4973894
access: get mgmt gateway from custom field on prefix
...
Mainly so we can drop the gateway custom field from NetBox interfaces.
2025-03-24 18:13:55 +01:00
07fa350ae6
access: enable port-security
...
Should prevent one way of network coming down. Again.
2025-03-17 15:41:48 +01:00
dd30e2ab1c
access: support native VLAN on tagged interfaces for D-Link switches
2025-02-10 17:07:32 +01:00
de05fd236b
access: enable DHCP snooping on D-Link switches
...
Use the ifaces_dhcp custom context property to select interfaces where
we should expect DHCP replies.
2024-11-09 19:58:28 +01:00
57197d7695
access: set up SNMP user for D-Link switches
2024-10-02 16:04:39 +02:00
a230697846
access: disable HTTP service for D-Link switches
2024-09-30 10:50:50 +02:00
3caea81896
access: add voice VLAN support
2024-09-01 10:37:11 +02:00
c479f90669
access: move switch config templates back to this repo
...
Let’s keep it simple. Also editing templates in NetBox is a pain.
2024-04-08 14:45:39 +02:00