summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf/ospf-distance-global.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-12 20:41:46 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 11:09:57 +0100
commit6325d1576b923f0abce19de49f940f5981411cf9 (patch)
treefb4fa5e3ebbe7dcc841bcf40e7f9a79bce65c556 /interface-definitions/include/ospf/ospf-distance-global.xml.i
parentf3ed5e7c57c123661b1b550823a467a34c161024 (diff)
downloadvyos-1x-6325d1576b923f0abce19de49f940f5981411cf9.tar.gz
vyos-1x-6325d1576b923f0abce19de49f940f5981411cf9.zip
xml: ospf: consolidate router-id and distance settings in common include files
Diffstat (limited to 'interface-definitions/include/ospf/ospf-distance-global.xml.i')
-rw-r--r--interface-definitions/include/ospf/ospf-distance-global.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/ospf/ospf-distance-global.xml.i b/interface-definitions/include/ospf/ospf-distance-global.xml.i
new file mode 100644
index 000000000..930bd9640
--- /dev/null
+++ b/interface-definitions/include/ospf/ospf-distance-global.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from ospf/ospf-distance-global.xml.i -->
+<leafNode name="global">
+ <properties>
+ <help>Administrative distance</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Administrative distance</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- included end -->