summaryrefslogtreecommitdiff
path: root/interface-definitions/include/router-id.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-06 19:46:31 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-06 19:46:31 +0200
commitffd1da431ef5b6f2218966c762c65382ff00f188 (patch)
tree19d337fb936e4ef7b02f88baf31d82cd0be585c2 /interface-definitions/include/router-id.xml.i
parentd5bd9bec6c213ff12190b03acf248f348c165c13 (diff)
downloadvyos-1x-ffd1da431ef5b6f2218966c762c65382ff00f188.tar.gz
vyos-1x-ffd1da431ef5b6f2218966c762c65382ff00f188.zip
xml: routing: use common router-id include file
Diffstat (limited to 'interface-definitions/include/router-id.xml.i')
-rw-r--r--interface-definitions/include/router-id.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/router-id.xml.i b/interface-definitions/include/router-id.xml.i
new file mode 100644
index 000000000..272a8b678
--- /dev/null
+++ b/interface-definitions/include/router-id.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from router-id.xml.i -->
+<leafNode name="router-id">
+ <properties>
+ <help>Override default router identifier</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Router-ID in IP address format</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->