summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf/protocol-common-config.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-29 12:08:22 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-29 12:08:22 +0200
commit40bfaed4d1d427c33157136026944df80e02a5b6 (patch)
treedffae855d355f5d8fe9139c686500739aa303a9e /interface-definitions/include/ospf/protocol-common-config.xml.i
parent33ccbfdd0b367a2416c3a8b41a73d7477123d276 (diff)
downloadvyos-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/include/ospf/protocol-common-config.xml.i')
-rw-r--r--interface-definitions/include/ospf/protocol-common-config.xml.i17
1 files changed, 17 insertions, 0 deletions
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">