summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static/static-route.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-03 19:10:38 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-03 19:10:38 +0100
commite3f86ce0d65fe8fe0c5eebebdfd3ab3723e2e539 (patch)
treef47a0d726790edfa3f7d0f35dc52d2fd441b0618 /interface-definitions/include/static/static-route.xml.i
parent9d2fa6f85847bbb59af42809c50e4547542e4845 (diff)
downloadvyos-1x-e3f86ce0d65fe8fe0c5eebebdfd3ab3723e2e539.tar.gz
vyos-1x-e3f86ce0d65fe8fe0c5eebebdfd3ab3723e2e539.zip
static: T4283: create re-usable XML interface definitions for blackhole
Diffstat (limited to 'interface-definitions/include/static/static-route.xml.i')
-rw-r--r--interface-definitions/include/static/static-route.xml.i21
1 files changed, 1 insertions, 20 deletions
diff --git a/interface-definitions/include/static/static-route.xml.i b/interface-definitions/include/static/static-route.xml.i
index 903915066..8433703a5 100644
--- a/interface-definitions/include/static/static-route.xml.i
+++ b/interface-definitions/include/static/static-route.xml.i
@@ -11,26 +11,7 @@
</constraint>
</properties>
<children>
- <node name="blackhole">
- <properties>
- <help>Silently discard pkts when matched</help>
- </properties>
- <children>
- #include <include/static/static-route-distance.xml.i>
- <leafNode name="tag">
- <properties>
- <help>Tag value for this route</help>
- <valueHelp>
- <format>u32:1-4294967295</format>
- <description>Tag value for this route</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-4294967295"/>
- </constraint>
- </properties>
- </leafNode>
- </children>
- </node>
+ #include <include/static/static-route-blackhole.xml.i>
#include <include/dhcp-interface.xml.i>
<tagNode name="interface">
<properties>