summaryrefslogtreecommitdiff
path: root/interface-definitions/include
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/include
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/include')
-rw-r--r--interface-definitions/include/policy/tag.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/policy/tag.xml.i b/interface-definitions/include/policy/tag.xml.i
new file mode 100644
index 000000000..ec25b9391
--- /dev/null
+++ b/interface-definitions/include/policy/tag.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from policy/tag.xml.i -->
+<leafNode name="tag">
+ <properties>
+ <help>Route tag value</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Route tag</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->