summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-26 11:06:51 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-26 11:06:51 +0200
commit7ba61623a569bb0f1b0b5eb85f4cdae99ec6c7f9 (patch)
treeee3dc9051aab2e044569e3a9f6f9e05bbccaf9b1
parentd09903963d0fed75a1d1a256fffe674df26184e9 (diff)
downloadvyatta-cfg-quagga-7ba61623a569bb0f1b0b5eb85f4cdae99ec6c7f9.tar.gz
vyatta-cfg-quagga-7ba61623a569bb0f1b0b5eb85f4cdae99ec6c7f9.zip
ospfv3: T3859: add "log-adjacency-changes" CLI command
-rw-r--r--templates/protocols/ospfv3/log-adjacency-changes/detail/node.def6
-rw-r--r--templates/protocols/ospfv3/log-adjacency-changes/node.def7
2 files changed, 13 insertions, 0 deletions
diff --git a/templates/protocols/ospfv3/log-adjacency-changes/detail/node.def b/templates/protocols/ospfv3/log-adjacency-changes/detail/node.def
new file mode 100644
index 00000000..c2c4e409
--- /dev/null
+++ b/templates/protocols/ospfv3/log-adjacency-changes/detail/node.def
@@ -0,0 +1,6 @@
+help: Log all state changes
+create:expression: "vtysh -c \"configure terminal\" -c \"router ospf6\" \
+ -c \"log-adjacency-changes detail\"; "
+delete:expression: "vtysh -c \"configure terminal\" -c \"router ospf6\" \
+ -c \"no log-adjacency-changes detail\"; "
+
diff --git a/templates/protocols/ospfv3/log-adjacency-changes/node.def b/templates/protocols/ospfv3/log-adjacency-changes/node.def
new file mode 100644
index 00000000..e10feab5
--- /dev/null
+++ b/templates/protocols/ospfv3/log-adjacency-changes/node.def
@@ -0,0 +1,7 @@
+help: Log changes in adjacency state
+create:expression: "vtysh -c \"configure terminal\" \
+ -c \"router ospf6\" \
+ -c \"log-adjacency-changes\"; "
+delete:expression: "vtysh -c \"configure terminal\" \
+ -c \"router ospf6\" \
+ -c \"no log-adjacency-changes\"; "