summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-22 16:31:20 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-22 19:37:26 +0100
commit0ddd684ff12b297313331a1c87f36d8308eade8d (patch)
treeba6f2b896bde676a86dc3bfb4b43bee9d43af4b5 /interface-definitions/include
parented482498b0baffe0d0c6aecefebb806f09c1f0a7 (diff)
downloadvyos-1x-0ddd684ff12b297313331a1c87f36d8308eade8d.tar.gz
vyos-1x-0ddd684ff12b297313331a1c87f36d8308eade8d.zip
ospf: T3236: add default values
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/ospf-metric.xml.i6
1 files changed, 4 insertions, 2 deletions
diff --git a/interface-definitions/include/ospf-metric.xml.i b/interface-definitions/include/ospf-metric.xml.i
index 771fda02d..b2812ba36 100644
--- a/interface-definitions/include/ospf-metric.xml.i
+++ b/interface-definitions/include/ospf-metric.xml.i
@@ -13,15 +13,16 @@
</leafNode>
<leafNode name="metric-type">
<properties>
- <help>OSPF metric type for default routes</help>
+ <help>OSPF metric type for default routes (default: 2)</help>
<valueHelp>
<format>u32:1-2</format>
- <description>Metric type for default routes (default 2)</description>
+ <description>Metric type for default routes</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-2"/>
</constraint>
</properties>
+ <defaultValue>2</defaultValue>
</leafNode>
<leafNode name="route-map">
<properties>
@@ -31,3 +32,4 @@
</completionHelp>
</properties>
</leafNode>
+<!-- included end -->