ietf-bfd-stability@2026-05-05.yang   ietf-bfd-stability@2026-05-05-formatted.yang 
module ietf-bfd-stability { module ietf-bfd-stability {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-stability"; namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-stability";
prefix "bfd-s"; prefix bfd-s;
import ietf-yang-types { import ietf-yang-types {
prefix "yang"; prefix yang;
reference reference
"RFC 6991: Common YANG Data Types"; "RFC 6991: Common YANG Data Types";
} }
import ietf-routing { import ietf-routing {
prefix "rt"; prefix rt;
reference reference
"RFC 8349: A YANG Data Model for Routing Management "RFC 8349: A YANG Data Model for Routing Management
(NMDA Version)"; (NMDA Version)";
} }
import ietf-bfd { import ietf-bfd {
prefix bfd; prefix bfd;
reference reference
"RFC 9314: YANG Data Model for Bidirectional "RFC 9314: YANG Data Model for Bidirectional
Forwarding Detection."; Forwarding Detection.";
} }
import ietf-bfd-ip-sh { import ietf-bfd-ip-sh {
prefix bfd-ip-sh; prefix bfd-ip-sh;
reference reference
"RFC 9314: YANG Data Model for Bidirectional "RFC 9314: YANG Data Model for Bidirectional
Forwarding Detection (BFD)"; Forwarding Detection (BFD)";
} }
import ietf-bfd-ip-mh { import ietf-bfd-ip-mh {
prefix bfd-ip-mh; prefix bfd-ip-mh;
reference reference
"RFC 9314: YANG Data Model for Bidirectional "RFC 9314: YANG Data Model for Bidirectional
Forwarding Detection (BFD)"; Forwarding Detection (BFD)";
} }
import ietf-bfd-lag { import ietf-bfd-lag {
prefix bfd-lag; prefix bfd-lag;
reference reference
"RFC 9314: YANG Data Model for Bidirectional "RFC 9314: YANG Data Model for Bidirectional
Forwarding Detection (BFD)"; Forwarding Detection (BFD)";
} }
import ietf-bfd-mpls { import ietf-bfd-mpls {
prefix bfd-mpls; prefix bfd-mpls;
reference reference
"RFC 9314: YANG Data Model for Bidirectional "RFC 9314: YANG Data Model for Bidirectional
Forwarding Detection (BFD)"; Forwarding Detection (BFD)";
} }
import ietf-key-chain { import ietf-key-chain {
prefix key-chain; prefix key-chain;
reference reference
"RFC 8177: YANG Data Model for Key Chains"; "RFC 8177: YANG Data Model for Key Chains";
} }
organization organization
"IETF BFD Working Group"; "IETF BFD Working Group";
contact contact
"WG Web: <http://tools.ietf.org/wg/bfd> "WG Web: <http://tools.ietf.org/wg/bfd>
WG List: <rtg-bfd@ietf.org> WG List: <rtg-bfd@ietf.org>
Authors: Mahesh Jethanandani (mjethanandani@gmail.com) Authors: Mahesh Jethanandani (mjethanandani@gmail.com)
Ashesh Mishra (mishra.ashesh@gmail.com) Ashesh Mishra (mishra.ashesh@gmail.com)
Ankur Saxena (ankurpsaxena@gmail.com) Ankur Saxena (ankurpsaxena@gmail.com)
Santosh Pallagatti (santosh.pallagati@gmail.com) Santosh Pallagatti (santosh.pallagati@gmail.com)
Mach Chen (mach.chen@huawei.com)."; Mach Chen (mach.chen@huawei.com).";
description description
"This YANG module augments the base BFD YANG data model to add "This YANG module augments the base BFD YANG data model to add
experimental attributes related to BFD stability. experimental attributes related to BFD stability.
In particular, it adds a per-session count for BFD packets In particular, it adds a per-session count for BFD packets
that are lost. that are lost.
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED', NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
'MAY', and 'OPTIONAL' in this document are to be interpreted as 'MAY', and 'OPTIONAL' in this document are to be interpreted as
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
skipping to change at line 98 skipping to change at line 89
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject to without modification, is permitted pursuant to, and subject to
the license terms contained in, the Revised BSD License set the license terms contained in, the Revised BSD License set
forth in Section 4.c of the IETF Trust's Legal Provisions forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents Relating to IETF Documents
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 9978; see the This version of this YANG module is part of RFC 9978; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
revision "2026-05-05" { revision 2026-05-05 {
description description
"Initial version."; "Initial version.";
reference reference
"RFC 9978: Bidirectional Forwarding Detection (BFD) Stability"; "RFC 9978: Bidirectional Forwarding Detection (BFD) Stability";
} }
feature stability { feature stability {
description description
"This feature enables BFD sessions to be monitored for lost "This feature enables BFD sessions to be monitored for lost
packets."; packets.";
skipping to change at line 133 skipping to change at line 124
description description
"Number of BFD packets that were lost, where loss is "Number of BFD packets that were lost, where loss is
determined by the fact that the sequence number is determined by the fact that the sequence number is
not consecutive. This counter should be present only if not consecutive. This counter should be present only if
stability is configured."; stability is configured.";
} }
description description
"Grouping of statistics related to BFD stability."; "Grouping of statistics related to BFD stability.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/" + + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
"bfd-ip-sh:sessions/bfd-ip-sh:session" { + "bfd-ip-sh:sessions/bfd-ip-sh:session" {
leaf stability { leaf stability {
if-feature "stability"; if-feature "stability";
type boolean; type boolean;
must "../bfd-ip-sh:authentication/bfd-ip-sh:meticulous = " + must "../bfd-ip-sh:authentication/bfd-ip-sh:meticulous = "
"'true'"; + "'true'";
default false; default "false";
description description
"If set to true, this enables the BFD session to monitor "If set to true, this enables the BFD session to monitor
for stability, i.e., to watch how many packets are getting for stability, i.e., to watch how many packets are getting
dropped."; dropped.";
} }
description description
"Augment the 'bfd' container to add attributes related to BFD "Augment the 'bfd' container to add attributes related to BFD
stability for IP Single Hop sessions."; stability for IP Single Hop sessions.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-ip-mh:ip-mh/" + + "rt:control-plane-protocol/bfd:bfd/bfd-ip-mh:ip-mh/"
"bfd-ip-mh:session-groups/bfd-ip-mh:session-group" { + "bfd-ip-mh:session-groups/bfd-ip-mh:session-group" {
leaf stability { leaf stability {
if-feature "stability"; if-feature "stability";
type boolean; type boolean;
must "../bfd-ip-mh:authentication/bfd-ip-mh:meticulous = " + must "../bfd-ip-mh:authentication/bfd-ip-mh:meticulous = "
"'true'"; + "'true'";
default false; default "false";
description description
"If set to true, this enables the BFD session to monitor "If set to true, this enables the BFD session to monitor
for stability, i.e., to watch how many packets are getting for stability, i.e., to watch how many packets are getting
dropped."; dropped.";
} }
description description
"Augment the 'bfd' container to add attributes related to BFD "Augment the 'bfd' container to add attributes related to BFD
stability for Multi Hop sessions."; stability for Multi Hop sessions.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/" + + "rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/"
"bfd-lag:sessions/bfd-lag:session" { + "bfd-lag:sessions/bfd-lag:session" {
leaf stability { leaf stability {
if-feature "stability"; if-feature "stability";
type boolean; type boolean;
must "../bfd-lag:authentication/bfd-lag:meticulous = " + must "../bfd-lag:authentication/bfd-lag:meticulous = "
"'true'"; + "'true'";
default false; default "false";
description description
"If set to true, this enables the BFD session to monitor "If set to true, this enables the BFD session to monitor
for stability, i.e., to watch how many packets are getting for stability, i.e., to watch how many packets are getting
dropped."; dropped.";
} }
description description
"Augment the 'bfd' container to add attributes related to BFD "Augment the 'bfd' container to add attributes related to BFD
stability for LAG session."; stability for LAG session.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-mpls:mpls/" + + "rt:control-plane-protocol/bfd:bfd/bfd-mpls:mpls/"
"bfd-mpls:session-groups/bfd-mpls:session-group" { + "bfd-mpls:session-groups/bfd-mpls:session-group" {
leaf stability { leaf stability {
if-feature "stability"; if-feature "stability";
type boolean; type boolean;
must "../bfd-mpls:authentication/bfd-mpls:meticulous = " + must "../bfd-mpls:authentication/bfd-mpls:meticulous = "
"'true'"; + "'true'";
default false; default "false";
description description
"If set to true, this enables the BFD session to monitor "If set to true, this enables the BFD session to monitor
for stability, i.e., to watch how many packets are getting for stability, i.e., to watch how many packets are getting
dropped."; dropped.";
} }
description description
"Augment the 'bfd' container to add attributes related to BFD "Augment the 'bfd' container to add attributes related to BFD
stability for MPLS."; stability for MPLS.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/" + + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
"bfd-ip-sh:sessions/bfd-ip-sh:session/" + + "bfd-ip-sh:sessions/bfd-ip-sh:session/"
"bfd-ip-sh:session-statistics" { + "bfd-ip-sh:session-statistics" {
uses lost-packet-count; uses lost-packet-count;
description description
"Augment the 'bfd' container to add statistics related to BFD "Augment the 'bfd' container to add statistics related to BFD
stability for IP Single Hop sessions."; stability for IP Single Hop sessions.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-ip-mh:ip-mh/" + + "rt:control-plane-protocol/bfd:bfd/bfd-ip-mh:ip-mh/"
"bfd-ip-mh:session-groups/bfd-ip-mh:session-group/" + + "bfd-ip-mh:session-groups/bfd-ip-mh:session-group/"
"bfd-ip-mh:sessions/bfd-ip-mh:session-statistics" { + "bfd-ip-mh:sessions/bfd-ip-mh:session-statistics" {
uses lost-packet-count; uses lost-packet-count;
description description
"Augment the 'bfd' container to add statistics related to BFD "Augment the 'bfd' container to add statistics related to BFD
stability for IP Multi Hop sessions."; stability for IP Multi Hop sessions.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/" + + "rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/"
"bfd-lag:sessions/bfd-lag:session/bfd-lag:member-links/" + + "bfd-lag:sessions/bfd-lag:session/bfd-lag:member-links/"
"bfd-lag:micro-bfd-ipv4/bfd-lag:session-statistics" { + "bfd-lag:micro-bfd-ipv4/bfd-lag:session-statistics" {
uses lost-packet-count; uses lost-packet-count;
description description
"Augment the 'bfd' container to add statistics related to BFD "Augment the 'bfd' container to add statistics related to BFD
stability for Micro BFD sessions for IPv4."; stability for Micro BFD sessions for IPv4.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/" + + "rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/"
"bfd-lag:sessions/bfd-lag:session/bfd-lag:member-links/" + + "bfd-lag:sessions/bfd-lag:session/bfd-lag:member-links/"
"bfd-lag:micro-bfd-ipv6/bfd-lag:session-statistics" { + "bfd-lag:micro-bfd-ipv6/bfd-lag:session-statistics" {
uses lost-packet-count; uses lost-packet-count;
description description
"Augment the 'bfd' container to add statistics related to BFD "Augment the 'bfd' container to add statistics related to BFD
stability for Micro BFD sessions for IPv6."; stability for Micro BFD sessions for IPv6.";
} }
augment "/rt:routing/rt:control-plane-protocols/" + augment "/rt:routing/rt:control-plane-protocols/"
"rt:control-plane-protocol/bfd:bfd/bfd-mpls:mpls/" + + "rt:control-plane-protocol/bfd:bfd/bfd-mpls:mpls/"
"bfd-mpls:session-groups/bfd-mpls:session-group/" + + "bfd-mpls:session-groups/bfd-mpls:session-group/"
"bfd-mpls:sessions/bfd-mpls:session-statistics" { + "bfd-mpls:sessions/bfd-mpls:session-statistics" {
uses lost-packet-count; uses lost-packet-count;
description description
"Augment the 'bfd' container to add statistics related to BFD "Augment the 'bfd' container to add statistics related to BFD
stability for MPLS sessions."; stability for MPLS sessions.";
} }
} }
 End of changes. 26 change blocks. 
57 lines changed or deleted 48 lines changed or added

This html diff was produced by rfcdiff 1.48.