summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf-metric.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-21 18:08:38 +0100
committerGitHub <noreply@github.com>2021-01-21 18:08:38 +0100
commit0a6ca540da53d07e19e1186404d706757b2e5942 (patch)
tree2514138dc27f203956d6ead5feab8b6471caafc8 /interface-definitions/include/ospf-metric.xml.i
parent79af3560e7b2f88b6850739b0e30ee372c51f63b (diff)
parent95f61e54f1c9595a2a9bf65da12316f69cf2ea32 (diff)
downloadvyos-1x-0a6ca540da53d07e19e1186404d706757b2e5942.tar.gz
vyos-1x-0a6ca540da53d07e19e1186404d706757b2e5942.zip
Merge pull request #691 from sever-sever/T3236
ospf: T3236: Add XML for new format ospf conf-mode
Diffstat (limited to 'interface-definitions/include/ospf-metric.xml.i')
-rw-r--r--interface-definitions/include/ospf-metric.xml.i33
1 files changed, 33 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..771fda02d
--- /dev/null
+++ b/interface-definitions/include/ospf-metric.xml.i
@@ -0,0 +1,33 @@
+<!-- included 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>
+<leafNode name="metric-type">
+ <properties>
+ <help>OSPF metric type for default routes</help>
+ <valueHelp>
+ <format>u32:1-2</format>
+ <description>Metric type for default routes (default 2)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-2"/>
+ </constraint>
+ </properties>
+</leafNode>
+<leafNode name="route-map">
+ <properties>
+ <help>Route map reference</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+</leafNode>