diff options
| author | John Estabrook <jestabro@vyos.io> | 2026-09-15 13:51:30 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2026-10-08 07:41:04 -0500 |
| commit | df7c3fc0017fb27d2945ac2818ac2d5fc343ca37 (patch) | |
| tree | f21d7c3ece96d8377a99b53d47a99cd576548787 /interface-definitions/include/ospf | |
| parent | ec64edcb5b014125dfd5574f40704423b0c0831b (diff) | |
| download | vyos-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/ospf')
| -rw-r--r-- | interface-definitions/include/ospf/protocol-common-config.xml.i | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/interface-definitions/include/ospf/protocol-common-config.xml.i b/interface-definitions/include/ospf/protocol-common-config.xml.i index 93d718ed4..caef8abb4 100644 --- a/interface-definitions/include/ospf/protocol-common-config.xml.i +++ b/interface-definitions/include/ospf/protocol-common-config.xml.i @@ -406,9 +406,7 @@ <format>txt</format> <description>Interface name</description> </valueHelp> - <constraint> - #include <include/constraint/interface-name.xml.i> - </constraint> + #include <include/constraint/dependent-error-interface-name.xml.i> </properties> <children> <leafNode name="area"> |
