diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-29 12:08:22 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-29 12:08:22 +0200 |
commit | 40bfaed4d1d427c33157136026944df80e02a5b6 (patch) | |
tree | dffae855d355f5d8fe9139c686500739aa303a9e /interface-definitions | |
parent | 33ccbfdd0b367a2416c3a8b41a73d7477123d276 (diff) | |
download | vyos-1x-40bfaed4d1d427c33157136026944df80e02a5b6.tar.gz vyos-1x-40bfaed4d1d427c33157136026944df80e02a5b6.zip |
ospf: T3236: add possibility to redistribute "table"
Add new CLI command:
* "set protocols ospf redistribute table <n>"
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/ospf/metric-type.xml.i | 2 | ||||
-rw-r--r-- | interface-definitions/include/ospf/protocol-common-config.xml.i | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/interface-definitions/include/ospf/metric-type.xml.i b/interface-definitions/include/ospf/metric-type.xml.i index 83dc24909..ef9fd8ac0 100644 --- a/interface-definitions/include/ospf/metric-type.xml.i +++ b/interface-definitions/include/ospf/metric-type.xml.i @@ -4,7 +4,7 @@ <help>OSPF metric type for default routes (default: 2)</help> <valueHelp> <format>u32:1-2</format> - <description>Metric type for default routes</description> + <description>Set OSPF External Type 1/2 metrics</description> </valueHelp> <constraint> <validator name="numeric" argument="--range 1-2"/> diff --git a/interface-definitions/include/ospf/protocol-common-config.xml.i b/interface-definitions/include/ospf/protocol-common-config.xml.i index 546516a80..d8556ebf5 100644 --- a/interface-definitions/include/ospf/protocol-common-config.xml.i +++ b/interface-definitions/include/ospf/protocol-common-config.xml.i @@ -693,6 +693,23 @@ #include <include/route-map.xml.i> </children> </node> + <tagNode name="table"> + <properties> + <help>Redistribute non-main Kernel Routing Table</help> + <completionHelp> + <path>protocols static table</path> + </completionHelp> + <valueHelp> + <format>u32:1-200</format> + <description>Policy route table number</description> + </valueHelp> + </properties> + <children> + #include <include/ospf/metric.xml.i> + #include <include/ospf/metric-type.xml.i> + #include <include/route-map.xml.i> + </children> + </tagNode> </children> </node> <node name="refresh"> |