]> git.puffer.fish Git - matthieu/frr.git/commitdiff
yang: Add "log-session-changes" to BFD common session parameters.
authorAcee Lindem <acee@lindem.com>
Mon, 3 Mar 2025 20:57:48 +0000 (20:57 +0000)
committerAcee Lindem <acee@lindem.com>
Mon, 3 Mar 2025 20:57:48 +0000 (20:57 +0000)
Signed-off-by: Acee Lindem <acee@lindem.com>
yang/frr-bfdd.yang

index 7fa8f6cd485b6965c49acdbe7c4d258cf43e1ed7..75af799accd25776bc02d09d0c4bd8204fba7f65 100644 (file)
@@ -24,7 +24,7 @@ module frr-bfdd {
   description
     "This module defines a model for managing FRR bfdd daemon.
 
-     Copyright 2020 FRRouting
+     Copyright 2025 FRRouting
 
      Redistribution and use in source and binary forms, with or without
      modification, are permitted provided that the following conditions
@@ -58,6 +58,14 @@ module frr-bfdd {
        RFC 5883: Bidirectional Forwarding Detection (BFD) for Multihop Paths.";
   }
 
+  revision 2025-03-03 {
+    description "Add log-sessio-changes leaf";
+    reference
+      "RFC 5880: Bidirectional Forwarding Detection (BFD).
+       RFC 5881: Bidirectional Forwarding Detection (BFD)
+                 for IPv4 and IPv6 (Single Hop).
+       RFC 5883: Bidirectional Forwarding Detection (BFD) for Multihop Paths.";
+  }
 
   /*
    * BFD types declaration.
@@ -197,6 +205,13 @@ module frr-bfdd {
       description
         "Don't attempt to start session establishment.";
     }
+
+    leaf log-session-changes {
+      type boolean;
+      default false;
+      description "Log session changes from/to Up state to/from Down state";
+    }
+
   }
 
   grouping session-echo {