summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf/metric.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/ospf/metric.xml.i')
-rw-r--r--interface-definitions/include/ospf/metric.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/ospf/metric.xml.i b/interface-definitions/include/ospf/metric.xml.i
new file mode 100644
index 000000000..64b455b00
--- /dev/null
+++ b/interface-definitions/include/ospf/metric.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from ospf/metric.xml.i -->
+<leafNode name="metric">
+ <properties>
+ <help>OSPF default metric</help>
+ <valueHelp>
+ <format>u32:0-16777214</format>
+ <description>Default metric</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-16777214"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->