summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/log-adjacency-changes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/log-adjacency-changes')
-rw-r--r--templates/protocols/ospf/log-adjacency-changes/detail/node.def6
-rw-r--r--templates/protocols/ospf/log-adjacency-changes/node.def5
2 files changed, 11 insertions, 0 deletions
diff --git a/templates/protocols/ospf/log-adjacency-changes/detail/node.def b/templates/protocols/ospf/log-adjacency-changes/detail/node.def
new file mode 100644
index 00000000..9ec797d7
--- /dev/null
+++ b/templates/protocols/ospf/log-adjacency-changes/detail/node.def
@@ -0,0 +1,6 @@
+help: "Log all state changes"
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"log-adjacency-changes detail\"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no log-adjacency-changes detail\"; "
+
diff --git a/templates/protocols/ospf/log-adjacency-changes/node.def b/templates/protocols/ospf/log-adjacency-changes/node.def
new file mode 100644
index 00000000..f33fe807
--- /dev/null
+++ b/templates/protocols/ospf/log-adjacency-changes/node.def
@@ -0,0 +1,5 @@
+help: "Log changes in adjacency state"
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"log-adjacency-changes\"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no log-adjacency-changes\"; "