summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols')
-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\"; "