summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-16 20:04:27 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-16 20:07:12 +0100
commit019723aaa4217403f1fcbcd636f573ea403f909c (patch)
treee9b839171fb789b91ac2b04d632d9e40606d89ca /interface-definitions/include
parent96ed4f8f130aab266646ac399fdd7465b4751e44 (diff)
downloadvyos-1x-019723aaa4217403f1fcbcd636f573ea403f909c.tar.gz
vyos-1x-019723aaa4217403f1fcbcd636f573ea403f909c.zip
xml: T5738: re-use "disable" building block
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/policy/route-common.xml.i7
-rw-r--r--interface-definitions/include/rip/interface.xml.i7
2 files changed, 2 insertions, 12 deletions
diff --git a/interface-definitions/include/policy/route-common.xml.i b/interface-definitions/include/policy/route-common.xml.i
index 4405f9c26..b8581b03e 100644
--- a/interface-definitions/include/policy/route-common.xml.i
+++ b/interface-definitions/include/policy/route-common.xml.i
@@ -2,12 +2,7 @@
#include <include/policy/route-rule-action.xml.i>
#include <include/generic-description.xml.i>
#include <include/firewall/firewall-mark.xml.i>
-<leafNode name="disable">
- <properties>
- <help>Option to disable firewall rule</help>
- <valueless/>
- </properties>
-</leafNode>
+#include <include/generic-disable-node.xml.i>
<node name="fragment">
<properties>
<help>IP fragment match</help>
diff --git a/interface-definitions/include/rip/interface.xml.i b/interface-definitions/include/rip/interface.xml.i
index 8007f0208..7c64d0708 100644
--- a/interface-definitions/include/rip/interface.xml.i
+++ b/interface-definitions/include/rip/interface.xml.i
@@ -19,12 +19,7 @@
<help>Split horizon parameters</help>
</properties>
<children>
- <leafNode name="disable">
- <properties>
- <help>Disable split horizon on specified interface</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/generic-disable-node.xml.i>
<leafNode name="poison-reverse">
<properties>
<help>Disable split horizon on specified interface</help>