From 7ba61623a569bb0f1b0b5eb85f4cdae99ec6c7f9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 26 Sep 2021 11:06:51 +0200 Subject: ospfv3: T3859: add "log-adjacency-changes" CLI command --- templates/protocols/ospfv3/log-adjacency-changes/detail/node.def | 6 ++++++ templates/protocols/ospfv3/log-adjacency-changes/node.def | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 templates/protocols/ospfv3/log-adjacency-changes/detail/node.def create mode 100644 templates/protocols/ospfv3/log-adjacency-changes/node.def 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\"; " -- cgit v1.2.3