summaryrefslogtreecommitdiff
path: root/interface-definitions/policy.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-03 20:06:13 +0200
committerChristian Breunig <christian@breunig.cc>2023-07-03 21:03:01 +0200
commit79c8ca40a340743131b6bb34e44305331de4969b (patch)
treef31e2c8fae7d61bbdc829a33c16fb446ee807ca3 /interface-definitions/policy.xml.in
parentb9e0cbfa934317f572e0f16bb2a195a3c4a6876e (diff)
downloadvyos-1x-79c8ca40a340743131b6bb34e44305331de4969b.tar.gz
vyos-1x-79c8ca40a340743131b6bb34e44305331de4969b.zip
xml: policy: T2425: create building block for "tag" node
Diffstat (limited to 'interface-definitions/policy.xml.in')
-rw-r--r--interface-definitions/policy.xml.in26
1 files changed, 2 insertions, 24 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index aa39950c2..c470cfdb3 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -1052,18 +1052,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="tag">
- <properties>
- <help>Route tag to match</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>Route tag</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/policy/tag.xml.i>
</children>
</node>
<node name="on-match">
@@ -1548,18 +1537,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="tag">
- <properties>
- <help>Tag value for routing protocol</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>Tag value</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/policy/tag.xml.i>
<leafNode name="weight">
<properties>
<help>BGP weight attribute</help>