summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-26 11:08:57 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-26 11:08:57 +0200
commit289a495c8f45322d58bd849aa8aca48cf0210b03 (patch)
tree846f2472422ee69ce6b1f9800347db79116c19df /interface-definitions/include/ospf
parent0ee26592772a14e829d9d1f8e64f9db875f31a63 (diff)
downloadvyos-1x-289a495c8f45322d58bd849aa8aca48cf0210b03.tar.gz
vyos-1x-289a495c8f45322d58bd849aa8aca48cf0210b03.zip
ospfv3: T3859: add "log-adjacency-changes" CLI command
Diffstat (limited to 'interface-definitions/include/ospf')
-rw-r--r--interface-definitions/include/ospf/log-adjacency-changes.xml.i15
-rw-r--r--interface-definitions/include/ospf/protocol-common-config.xml.i14
2 files changed, 16 insertions, 13 deletions
diff --git a/interface-definitions/include/ospf/log-adjacency-changes.xml.i b/interface-definitions/include/ospf/log-adjacency-changes.xml.i
new file mode 100644
index 000000000..24c6cbe7a
--- /dev/null
+++ b/interface-definitions/include/ospf/log-adjacency-changes.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from ospf/metric-type.xml.i -->
+<node name="log-adjacency-changes">
+ <properties>
+ <help>Log adjacency state changes</help>
+ </properties>
+ <children>
+ <leafNode name="detail">
+ <properties>
+ <help>Log all state changes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->
diff --git a/interface-definitions/include/ospf/protocol-common-config.xml.i b/interface-definitions/include/ospf/protocol-common-config.xml.i
index 0139296ec..80931ac15 100644
--- a/interface-definitions/include/ospf/protocol-common-config.xml.i
+++ b/interface-definitions/include/ospf/protocol-common-config.xml.i
@@ -435,19 +435,7 @@
</leafNode>
</children>
</tagNode>
-<node name="log-adjacency-changes">
- <properties>
- <help>Log adjacency state changes</help>
- </properties>
- <children>
- <leafNode name="detail">
- <properties>
- <help>Log all state changes</help>
- <valueless/>
- </properties>
- </leafNode>
- </children>
-</node>
+#include <include/ospf/log-adjacency-changes.xml.i>
<node name="max-metric">
<properties>
<help>OSPF maximum and infinite-distance metric</help>