summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces_input.xml.in
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/interfaces_input.xml.in
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/interfaces_input.xml.in')
-rw-r--r--interface-definitions/interfaces_input.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/interfaces_input.xml.in b/interface-definitions/interfaces_input.xml.in
index 771c47e42..8ca45053a 100644
--- a/interface-definitions/interfaces_input.xml.in
+++ b/interface-definitions/interfaces_input.xml.in
@@ -15,6 +15,7 @@
<format>ifbN</format>
<description>Input interface name</description>
</valueHelp>
+ <kind>interface</kind>
</properties>
<children>
#include <include/generic-description.xml.i>