summaryrefslogtreecommitdiff
path: root/interface-definitions/include/segment-routing-label-value.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-14 11:29:27 +0200
committerGitHub <noreply@github.com>2022-10-14 11:29:27 +0200
commit427ea592ae8d92d29aca245683832b5bd75b643d (patch)
treeef4232e3e88c642bd469eb12d2747007451d2095 /interface-definitions/include/segment-routing-label-value.xml.i
parent783f5e24b1c5f15f1d7e91f892051312a2a5c6c3 (diff)
parente3d66e7eb61c4fd5d29b64370a993d583f597639 (diff)
downloadvyos-1x-427ea592ae8d92d29aca245683832b5bd75b643d.tar.gz
vyos-1x-427ea592ae8d92d29aca245683832b5bd75b643d.zip
Merge pull request #1595 from Cheeze-It/current
isis, ospf: T4739: ISIS and OSPF segment routing being refactored
Diffstat (limited to 'interface-definitions/include/segment-routing-label-value.xml.i')
-rw-r--r--interface-definitions/include/segment-routing-label-value.xml.i26
1 files changed, 26 insertions, 0 deletions
diff --git a/interface-definitions/include/segment-routing-label-value.xml.i b/interface-definitions/include/segment-routing-label-value.xml.i
new file mode 100644
index 000000000..05e1edd78
--- /dev/null
+++ b/interface-definitions/include/segment-routing-label-value.xml.i
@@ -0,0 +1,26 @@
+<!-- include start from segment-routing-label-value.xml.i -->
+<leafNode name="low-label-value">
+ <properties>
+ <help>MPLS label lower bound</help>
+ <valueHelp>
+ <format>u32:16-1048575</format>
+ <description>Label value (recommended minimum value: 300)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 16-1048575"/>
+ </constraint>
+ </properties>
+</leafNode>
+<leafNode name="high-label-value">
+ <properties>
+ <help>MPLS label upper bound</help>
+ <valueHelp>
+ <format>u32:16-1048575</format>
+ <description>Label value</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 16-1048575"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->