< draft-ietf-bfd-rfc9127-bis-01.txt   draft-ietf-bfd-rfc9127-bis-02.txt >
Network Working Group M. Jethanandani, Ed. Network Working Group M. Jethanandani, Ed.
Internet-Draft Xoriant Corporation Internet-Draft Xoriant Corporation
Updates: 9127 (if approved) R. Rahman, Ed. Updates: 9127 (if approved) R. Rahman, Ed.
Intended status: Standards Track Intended status: Standards Track
Expires: 8 July 2022 L. Zheng, Ed. Expires: 15 August 2022 L. Zheng, Ed.
Huawei Technologies Huawei Technologies
S. Pallagatti S. Pallagatti
VMware VMware
G. Mirsky G. Mirsky
Ericsson Ericsson
4 January 2022 11 February 2022
YANG Data Model for Bidirectional Forwarding Detection (BFD) YANG Data Model for Bidirectional Forwarding Detection (BFD)
draft-ietf-bfd-rfc9127-bis-01 draft-ietf-bfd-rfc9127-bis-02
Abstract Abstract
This document defines a YANG data model that can be used to configure This document defines a YANG data model that can be used to configure
and manage Bidirectional Forwarding Detection (BFD). and manage Bidirectional Forwarding Detection (BFD).
The YANG modules in this document conform to the Network Management The YANG modules in this document conform to the Network Management
Datastore Architecture (NMDA) (RFC 8342). This document updates YANG Datastore Architecture (NMDA) (RFC 8342). This document updates YANG
Data Model for Bidirectional Forwarding Detection (BFD) (RFC 9127). Data Model for Bidirectional Forwarding Detection (BFD) (RFC 9127).
skipping to change at page 1, line 42 skipping to change at page 1, line 42
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on 8 July 2022. This Internet-Draft will expire on 15 August 2022.
Copyright Notice Copyright Notice
Copyright (c) 2022 IETF Trust and the persons identified as the Copyright (c) 2022 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (https://trustee.ietf.org/ Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document. license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights Please review these documents carefully, as they describe your rights
skipping to change at page 2, line 40 skipping to change at page 2, line 40
2.7. BFD IP Multihop Hierarchy . . . . . . . . . . . . . . . . 11 2.7. BFD IP Multihop Hierarchy . . . . . . . . . . . . . . . . 11
2.8. BFD-over-LAG Hierarchy . . . . . . . . . . . . . . . . . 13 2.8. BFD-over-LAG Hierarchy . . . . . . . . . . . . . . . . . 13
2.9. BFD-over-MPLS-LSPs Hierarchy . . . . . . . . . . . . . . 16 2.9. BFD-over-MPLS-LSPs Hierarchy . . . . . . . . . . . . . . 16
2.10. Interaction with other YANG Modules . . . . . . . . . . . 19 2.10. Interaction with other YANG Modules . . . . . . . . . . . 19
2.10.1. "ietf-interfaces" Module . . . . . . . . . . . . . . 19 2.10.1. "ietf-interfaces" Module . . . . . . . . . . . . . . 19
2.10.2. "ietf-ip" Module . . . . . . . . . . . . . . . . . . 19 2.10.2. "ietf-ip" Module . . . . . . . . . . . . . . . . . . 19
2.10.3. "ietf-mpls" Module . . . . . . . . . . . . . . . . . 19 2.10.3. "ietf-mpls" Module . . . . . . . . . . . . . . . . . 19
2.11. BFD Types YANG Module . . . . . . . . . . . . . . . . . . 20 2.11. BFD Types YANG Module . . . . . . . . . . . . . . . . . . 20
2.12. BFD Top-Level YANG Module . . . . . . . . . . . . . . . . 34 2.12. BFD Top-Level YANG Module . . . . . . . . . . . . . . . . 34
2.13. BFD IP Single-Hop YANG Module . . . . . . . . . . . . . . 36 2.13. BFD IP Single-Hop YANG Module . . . . . . . . . . . . . . 36
2.14. BFD IP Multihop YANG Module . . . . . . . . . . . . . . . 39 2.14. BFD IP Multihop YANG Module . . . . . . . . . . . . . . . 40
2.15. BFD-over-LAG YANG Module . . . . . . . . . . . . . . . . 43 2.15. BFD-over-LAG YANG Module . . . . . . . . . . . . . . . . 43
2.16. BFD-over-MPLS YANG Module . . . . . . . . . . . . . . . . 47 2.16. BFD-over-MPLS YANG Module . . . . . . . . . . . . . . . . 47
3. Data Model Examples . . . . . . . . . . . . . . . . . . . . . 52 3. Data Model Examples . . . . . . . . . . . . . . . . . . . . . 52
3.1. IP Single-Hop . . . . . . . . . . . . . . . . . . . . . . 52 3.1. IP Single-Hop . . . . . . . . . . . . . . . . . . . . . . 52
3.2. IP Multihop . . . . . . . . . . . . . . . . . . . . . . . 53 3.2. IP Multihop . . . . . . . . . . . . . . . . . . . . . . . 53
3.3. LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 3.3. LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.4. MPLS . . . . . . . . . . . . . . . . . . . . . . . . . . 55 3.4. MPLS . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4. Security Considerations . . . . . . . . . . . . . . . . . . . 56 4. Security Considerations . . . . . . . . . . . . . . . . . . . 56
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 60 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 60
6. References . . . . . . . . . . . . . . . . . . . . . . . . . 61 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 61
skipping to change at page 20, line 17 skipping to change at page 20, line 17
If this configuration is set to "false", no BFD MPLS packets can If this configuration is set to "false", no BFD MPLS packets can
be transmitted or received on that interface. be transmitted or received on that interface.
2.11. BFD Types YANG Module 2.11. BFD Types YANG Module
This YANG module imports typedefs from [RFC6991] and [RFC8177]. It This YANG module imports typedefs from [RFC6991] and [RFC8177]. It
also imports definitions from [RFC5880], [RFC5881], [RFC5883], also imports definitions from [RFC5880], [RFC5881], [RFC5883],
[RFC5884], and [RFC7130], as well as the "control-plane-protocol" [RFC5884], and [RFC7130], as well as the "control-plane-protocol"
identity from [RFC8349]. identity from [RFC8349].
<CODE BEGINS> file "ietf-bfd-types@2022-01-04.yang" <CODE BEGINS> file "ietf-bfd-types@2022-02-11.yang"
module ietf-bfd-types { module ietf-bfd-types {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-types"; namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-types";
prefix bfd-types; prefix bfd-types;
import iana-bfd-types { import iana-bfd-types {
prefix iana-bfd-types; prefix iana-bfd-types;
reference reference
"RFC 9127: YANG Data Model for Bidirectional Forwarding "RFC 9127: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
skipping to change at page 21, line 39 skipping to change at page 21, line 39
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 9127; see the This version of this YANG module is part of RFC 9127; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
reference reference
"RFC 5880: Bidirectional Forwarding Detection (BFD) "RFC 5880: Bidirectional Forwarding Detection (BFD)
RFC 9127: YANG Data Model for Bidirectional Forwarding RFC 9127: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
revision 2022-01-04 { revision 2022-02-11 {
description description
"Updates to add client configuration parameters feature."; "This revision is non-backwards compatible with the
previous version of this model.
This revision adds an 'if-feature' statement called
'client-base-cfg-parms' for client configuration parameters.
Clients expecting to use those parameters now need to
verify that the server declares support of the feature
before depending on the presence of the parameters.
The change was introduced for clients that do not need
them, and have to deviate to prevent them from being
included.";
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)."; Detection (BFD).";
} }
revision 2021-10-21 { revision 2021-10-21 {
description description
"Initial revision."; "Initial revision.";
reference reference
"RFC 9127: YANG Data Model for Bidirectional Forwarding "RFC 9127: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
skipping to change at page 34, line 31 skipping to change at page 34, line 44
} }
} }
<CODE ENDS> <CODE ENDS>
2.12. BFD Top-Level YANG Module 2.12. BFD Top-Level YANG Module
This YANG module imports and augments "/routing/control-plane- This YANG module imports and augments "/routing/control-plane-
protocols/control-plane-protocol" from [RFC8349]. It also references protocols/control-plane-protocol" from [RFC8349]. It also references
[RFC5880]. [RFC5880].
<CODE BEGINS> file "ietf-bfd@2022-01-04.yang" <CODE BEGINS> file "ietf-bfd@2022-02-11.yang"
module ietf-bfd { module ietf-bfd {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-bfd"; namespace "urn:ietf:params:xml:ns:yang:ietf-bfd";
prefix bfd; prefix bfd;
import ietf-bfd-types { import ietf-bfd-types {
prefix bfd-types; prefix bfd-types;
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
skipping to change at page 35, line 38 skipping to change at page 35, line 51
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 9127; see the This version of this YANG module is part of RFC 9127; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
reference reference
"RFC 5880: Bidirectional Forwarding Detection (BFD) "RFC 5880: Bidirectional Forwarding Detection (BFD)
RFC 9127: YANG Data Model for Bidirectional Forwarding RFC 9127: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
revision 2022-01-04 { revision 2022-02-11 {
description description
"Updating reference to RFC XXXX."; "Updating reference to RFC XXXX.";
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)."; Detection (BFD).";
} }
revision 2021-10-21 { revision 2021-10-21 {
description description
"Initial revision."; "Initial revision.";
reference reference
skipping to change at page 36, line 29 skipping to change at page 36, line 43
} }
<CODE ENDS> <CODE ENDS>
2.13. BFD IP Single-Hop YANG Module 2.13. BFD IP Single-Hop YANG Module
This YANG module imports "interface-ref" from [RFC8343] and typedefs This YANG module imports "interface-ref" from [RFC8343] and typedefs
from [RFC6991]. It also imports and augments "/routing/control- from [RFC6991]. It also imports and augments "/routing/control-
plane-protocols/control-plane-protocol" from [RFC8349], and it plane-protocols/control-plane-protocol" from [RFC8349], and it
references [RFC5881]. references [RFC5881].
<CODE BEGINS> file "ietf-bfd-ip-sh@2022-01-04.yang" <CODE BEGINS> file "ietf-bfd-ip-sh@2022-02-11.yang"
module ietf-bfd-ip-sh { module ietf-bfd-ip-sh {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh"; namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh";
prefix bfd-ip-sh; prefix bfd-ip-sh;
import ietf-bfd-types { import ietf-bfd-types {
prefix bfd-types; prefix bfd-types;
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
skipping to change at page 38, line 5 skipping to change at page 38, line 20
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 9127; see the This version of this YANG module is part of RFC 9127; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
reference reference
"RFC 5881: Bidirectional Forwarding Detection (BFD) "RFC 5881: Bidirectional Forwarding Detection (BFD)
for IPv4 and IPv6 (Single Hop) for IPv4 and IPv6 (Single Hop)
RFC 9127: YANG Data Model for Bidirectional Forwarding RFC 9127: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
revision 2022-01-04 { revision 2022-02-11 {
description description
"Updating reference to RFC XXXX."; "Updating reference to RFC XXXX.";
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)."; Detection (BFD).";
} }
revision 2021-10-21 { revision 2021-10-21 {
description description
"Initial revision."; "Initial revision.";
reference reference
skipping to change at page 39, line 38 skipping to change at page 40, line 4
notification singlehop-notification { notification singlehop-notification {
description description
"Notification for BFD single-hop session state change. An "Notification for BFD single-hop session state change. An
implementation may rate-limit notifications, e.g., when a implementation may rate-limit notifications, e.g., when a
session is continuously changing state."; session is continuously changing state.";
uses bfd-types:notification-parms; uses bfd-types:notification-parms;
leaf interface { leaf interface {
type if:interface-ref; type if:interface-ref;
description description
"Interface to which this BFD session belongs."; "Interface to which this BFD session belongs.";
} }
leaf echo-enabled { leaf echo-enabled {
type boolean; type boolean;
description description
"Indicates whether Echo was enabled for BFD."; "Indicates whether Echo was enabled for BFD.";
} }
} }
} }
<CODE ENDS> <CODE ENDS>
2.14. BFD IP Multihop YANG Module 2.14. BFD IP Multihop YANG Module
This YANG module imports typedefs from [RFC6991]. It also imports This YANG module imports typedefs from [RFC6991]. It also imports
and augments "/routing/control-plane-protocols/control-plane- and augments "/routing/control-plane-protocols/control-plane-
protocol" from [RFC8349], and it references [RFC5883]. protocol" from [RFC8349], and it references [RFC5883].
<CODE BEGINS> file "ietf-bfd-ip-mh@2022-01-04.yang" <CODE BEGINS> file "ietf-bfd-ip-mh@2022-02-11.yang"
module ietf-bfd-ip-mh { module ietf-bfd-ip-mh {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh"; namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh";
prefix bfd-ip-mh; prefix bfd-ip-mh;
import ietf-bfd-types { import ietf-bfd-types {
prefix bfd-types; prefix bfd-types;
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
skipping to change at page 41, line 23 skipping to change at page 41, line 39
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 9127; see the This version of this YANG module is part of RFC 9127; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
reference reference
"RFC 5883: Bidirectional Forwarding Detection (BFD) for "RFC 5883: Bidirectional Forwarding Detection (BFD) for
Multihop Paths Multihop Paths
RFC 9127: YANG Data Model for Bidirectional Forwarding RFC 9127: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
revision 2022-01-04 { revision 2022-02-11 {
description description
"Updating reference to RFC XXXX."; "Updating reference to RFC XXXX.";
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)."; Detection (BFD).";
} }
revision 2021-10-21 { revision 2021-10-21 {
description description
"Initial revision."; "Initial revision.";
reference reference
skipping to change at page 43, line 22 skipping to change at page 43, line 39
} }
<CODE ENDS> <CODE ENDS>
2.15. BFD-over-LAG YANG Module 2.15. BFD-over-LAG YANG Module
This YANG module imports "interface-ref" from [RFC8343] and typedefs This YANG module imports "interface-ref" from [RFC8343] and typedefs
from [RFC6991]. It also imports and augments "/routing/control- from [RFC6991]. It also imports and augments "/routing/control-
plane-protocols/control-plane-protocol" from [RFC8349]. plane-protocols/control-plane-protocol" from [RFC8349].
Additionally, it references [RFC7130]. Additionally, it references [RFC7130].
<CODE BEGINS> file "ietf-bfd-lag@2022-01-04.yang" <CODE BEGINS> file "ietf-bfd-lag@2022-02-11.yang"
module ietf-bfd-lag { module ietf-bfd-lag {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-lag"; namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-lag";
prefix bfd-lag; prefix bfd-lag;
import ietf-bfd-types { import ietf-bfd-types {
prefix bfd-types; prefix bfd-types;
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
skipping to change at page 44, line 45 skipping to change at page 45, line 14
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 9127; see the This version of this YANG module is part of RFC 9127; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
reference reference
"RFC 7130: Bidirectional Forwarding Detection (BFD) on "RFC 7130: Bidirectional Forwarding Detection (BFD) on
Link Aggregation Group (LAG) Interfaces Link Aggregation Group (LAG) Interfaces
RFC 9127: YANG Data Model for Bidirectional Forwarding RFC 9127: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
revision 2022-01-04 { revision 2022-02-11 {
description description
"Updating reference to RFC XXXX."; "Updating reference to RFC XXXX.";
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)."; Detection (BFD).";
} }
revision 2021-10-21 { revision 2021-10-21 {
description description
"Initial revision."; "Initial revision.";
reference reference
skipping to change at page 47, line 35 skipping to change at page 48, line 5
} }
<CODE ENDS> <CODE ENDS>
2.16. BFD-over-MPLS YANG Module 2.16. BFD-over-MPLS YANG Module
This YANG module imports typedefs from [RFC6991]. It also imports This YANG module imports typedefs from [RFC6991]. It also imports
and augments "/routing/control-plane-protocols/control-plane- and augments "/routing/control-plane-protocols/control-plane-
protocol" from [RFC8349]. Additionally, it references [RFC5586] and protocol" from [RFC8349]. Additionally, it references [RFC5586] and
[RFC5884]. [RFC5884].
<CODE BEGINS> file "ietf-bfd-mpls@2022-01-04.yang" <CODE BEGINS> file "ietf-bfd-mpls@2022-02-11.yang"
module ietf-bfd-mpls { module ietf-bfd-mpls {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-mpls"; namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-mpls";
prefix bfd-mpls; prefix bfd-mpls;
import ietf-bfd-types { import ietf-bfd-types {
prefix bfd-types; prefix bfd-types;
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
skipping to change at page 49, line 6 skipping to change at page 49, line 23
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 9127; see the This version of this YANG module is part of RFC 9127; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
reference reference
"RFC 5884: Bidirectional Forwarding Detection (BFD) "RFC 5884: Bidirectional Forwarding Detection (BFD)
for MPLS Label Switched Paths (LSPs) for MPLS Label Switched Paths (LSPs)
RFC XXXX: YANG Data Model for Bidirectional Forwarding RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)"; Detection (BFD)";
revision 2022-01-04 { revision 2022-02-11 {
description description
"Updates to use base-cfg-parms instead of client-cfg-parms, "Updates to use base-cfg-parms instead of client-cfg-parms,
and add the enabled flag."; and add the enabled flag.";
reference reference
"RFC XXXX: YANG Data Model for Bidirectional Forwarding "RFC XXXX: YANG Data Model for Bidirectional Forwarding
Detection (BFD)."; Detection (BFD).";
} }
revision 2021-10-21 { revision 2021-10-21 {
description description
"Initial revision."; "Initial revision.";
 End of changes. 19 change blocks. 
18 lines changed or deleted 30 lines changed or added

This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/