summaryrefslogtreecommitdiff
path: root/interface-definitions/high-availability.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-23 13:31:32 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-23 13:31:32 +0100
commit020f217c2e4bfcff3cecb0b33c93af517775f4ae (patch)
tree733e151c9ce6b0881cff6d93d1f687d853af0741 /interface-definitions/high-availability.xml.in
parentc9febcc4c53d0bce09ce6b62d6fba12ea017d3f1 (diff)
downloadvyos-1x-020f217c2e4bfcff3cecb0b33c93af517775f4ae.tar.gz
vyos-1x-020f217c2e4bfcff3cecb0b33c93af517775f4ae.zip
xml: T5738: re-use XML building blocks for interfaces as much as possible
Change XML definitions to re-use already existing building blocks, or merge two building block sinto one (e.g. static route interfaces).
Diffstat (limited to 'interface-definitions/high-availability.xml.in')
-rw-r--r--interface-definitions/high-availability.xml.in17
1 files changed, 1 insertions, 16 deletions
diff --git a/interface-definitions/high-availability.xml.in b/interface-definitions/high-availability.xml.in
index 7108aa06c..6cf6237ca 100644
--- a/interface-definitions/high-availability.xml.in
+++ b/interface-definitions/high-availability.xml.in
@@ -247,22 +247,7 @@
<help>Disable track state of main interface</help>
</properties>
</leafNode>
- <leafNode name="interface">
- <properties>
- <help>Interface name state check</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces --broadcast</script>
- </completionHelp>
- <valueHelp>
- <format>txt</format>
- <description>Interface name</description>
- </valueHelp>
- <constraint>
- #include <include/constraint/interface-name.xml.i>
- </constraint>
- <multi/>
- </properties>
- </leafNode>
+ #include <include/generic-interface-multi-broadcast.xml.i>
</children>
</node>
#include <include/vrrp-transition-script.xml.i>