summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf/protocol-common-config.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-26 10:54:17 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-26 10:54:17 +0100
commit48cc27d9446abb4dfa5e78a42c591ac553e85d3e (patch)
treeb16570a231bc3a8f2fd126c20ad96858eb98c4f7 /interface-definitions/include/ospf/protocol-common-config.xml.i
parent604949b97cfff0fc91580d195739648f9bc12e50 (diff)
downloadvyos-1x-48cc27d9446abb4dfa5e78a42c591ac553e85d3e.tar.gz
vyos-1x-48cc27d9446abb4dfa5e78a42c591ac553e85d3e.zip
ospfv3: T4108: add support for auto-cost parameter
Diffstat (limited to 'interface-definitions/include/ospf/protocol-common-config.xml.i')
-rw-r--r--interface-definitions/include/ospf/protocol-common-config.xml.i21
1 files changed, 1 insertions, 20 deletions
diff --git a/interface-definitions/include/ospf/protocol-common-config.xml.i b/interface-definitions/include/ospf/protocol-common-config.xml.i
index ac165a157..655f30ad3 100644
--- a/interface-definitions/include/ospf/protocol-common-config.xml.i
+++ b/interface-definitions/include/ospf/protocol-common-config.xml.i
@@ -275,26 +275,6 @@
</tagNode>
</children>
</tagNode>
-<node name="auto-cost">
- <properties>
- <help>Calculate OSPF interface cost according to bandwidth (default: 100)</help>
- </properties>
- <children>
- <leafNode name="reference-bandwidth">
- <properties>
- <help>Reference bandwidth method to assign OSPF cost</help>
- <valueHelp>
- <format>u32:1-4294967</format>
- <description>Reference bandwidth cost in Mbits/sec</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-4294967"/>
- </constraint>
- </properties>
- <defaultValue>100</defaultValue>
- </leafNode>
- </children>
-</node>
<node name="default-information">
<properties>
<help>Default route advertisment settings</help>
@@ -318,6 +298,7 @@
</node>
</children>
</node>
+#include <include/ospf/auto-cost.xml.i>
<leafNode name="default-metric">
<properties>
<help>Metric of redistributed routes</help>