summaryrefslogtreecommitdiff
path: root/interface-definitions/include/isis
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2026-09-15 13:51:30 -0500
committerJohn Estabrook <jestabro@vyos.io>2026-10-08 07:41:04 -0500
commitdf7c3fc0017fb27d2945ac2818ac2d5fc343ca37 (patch)
treef21d7c3ece96d8377a99b53d47a99cd576548787 /interface-definitions/include/isis
parentec64edcb5b014125dfd5574f40704423b0c0831b (diff)
downloadvyos-1x-df7c3fc0017fb27d2945ac2818ac2d5fc343ca37.tar.gz
vyos-1x-df7c3fc0017fb27d2945ac2818ac2d5fc343ca37.zip
T7886: add basic cases of reverse interface dependency verification
Add cases for which a config mode script calls verify_interface_exists, excluding those of dynamic_interface_pattern, to be handled separately. The dependency verification raises error, resp., gives a warning, when verify_interface_exists is called with warning_only=False, resp., True. These are the critical cases that motivated the original design, for if a removal of an interface is allowed, a subsequent reboot will raise ConfigError on config load and invalidate the config subtree for that component.
Diffstat (limited to 'interface-definitions/include/isis')
-rw-r--r--interface-definitions/include/isis/protocol-common-config.xml.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/include/isis/protocol-common-config.xml.i b/interface-definitions/include/isis/protocol-common-config.xml.i
index 6a7388c99..d0424ea4f 100644
--- a/interface-definitions/include/isis/protocol-common-config.xml.i
+++ b/interface-definitions/include/isis/protocol-common-config.xml.i
@@ -719,6 +719,7 @@
<completionHelp>
<script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
+ <dependency kind="interface" alert="error"/>
</properties>
<children>
#include <include/bfd/bfd.xml.i>