summaryrefslogtreecommitdiff
path: root/scripts/test_module_load.py
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2026-10-28 12:50:26 +0200
committerNataliia Solomko <natalirs1985@gmail.com>2026-10-28 13:00:11 +0200
commit280cb483762a9718d105e473f4bb97b32adf1fcf (patch)
treefcd4c1345eb49623071d7f7a673e0a58e3f5c755 /scripts/test_module_load.py
parent089c767056910d1b89f72a97d96b1455d25e5bcd (diff)
downloadvyos-1x-280cb483762a9718d105e473f4bb97b32adf1fcf.tar.gz
vyos-1x-280cb483762a9718d105e473f4bb97b32adf1fcf.zip
interfaces: T9491: refuse deleting an interface used as mirror or redirect target
A mirror or redirect target could be deleted while another interface still pointed at it. The commit was accepted, but after save and reboot the source interface failed verification and its whole configuration was dropped. Mirror ingress, mirror egress and redirect now take part in the interface reverse-dependency check, so deleting a target that is still in use now fails at commit time. Deleting it together with every interface that points at it still succeeds.
Diffstat (limited to 'scripts/test_module_load.py')
0 files changed, 0 insertions, 0 deletions