| ietf-bfd-mpls.yang | ietf-bfd-mpls-formatted.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 9127: YANG Data Model for Bidirectional Forwarding | "RFC 9127: YANG Data Model for Bidirectional Forwarding | |||
| Detection (BFD)"; | Detection (BFD)"; | |||
| } | } | |||
| import ietf-bfd { | import ietf-bfd { | |||
| prefix "bfd"; | prefix bfd; | |||
| reference | reference | |||
| "RFC 9127: YANG Data Model for Bidirectional Forwarding | "RFC 9127: YANG Data Model for Bidirectional Forwarding | |||
| Detection (BFD)"; | Detection (BFD)"; | |||
| } | } | |||
| import ietf-inet-types { | import ietf-inet-types { | |||
| prefix "inet"; | prefix inet; | |||
| 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)"; | |||
| } | } | |||
| organization "IETF BFD Working Group"; | organization | |||
| "IETF BFD Working Group"; | ||||
| contact | contact | |||
| "WG Web: <https://datatracker.ietf.org/wg/bfd/> | "WG Web: <https://datatracker.ietf.org/wg/bfd/> | |||
| WG List: <mailto:rtg-bfd@ietf.org> | WG List: <mailto:rtg-bfd@ietf.org> | |||
| Editor: Reshad Rahman | Editor: Reshad Rahman | |||
| <mailto:reshad@yahoo.com> | <mailto:reshad@yahoo.com> | |||
| Editor: Lianshu Zheng | Editor: Lianshu Zheng | |||
| <mailto:vero.zheng@huawei.com> | <mailto:vero.zheng@huawei.com> | |||
| skipping to change at line 100 ¶ | skipping to change at line 95 ¶ | |||
| identity encap-ip-gach { | identity encap-ip-gach { | |||
| base bfd-types:encap-type; | base bfd-types:encap-type; | |||
| description | description | |||
| "BFD with IP and G-ACh encapsulation as per RFC 5586."; | "BFD with IP and G-ACh encapsulation as per RFC 5586."; | |||
| } | } | |||
| /* | /* | |||
| * Groupings | * Groupings | |||
| */ | */ | |||
| grouping encap-cfg { | grouping encap-cfg { | |||
| description | description | |||
| "Configuration for BFD encapsulation."; | "Configuration for BFD encapsulation."; | |||
| leaf encap { | leaf encap { | |||
| type identityref { | type identityref { | |||
| base bfd-types:encap-type; | base bfd-types:encap-type; | |||
| } | } | |||
| default bfd-types:encap-ip; | default "bfd-types:encap-ip"; | |||
| description | description | |||
| "BFD encapsulation."; | "BFD encapsulation."; | |||
| } | } | |||
| } | } | |||
| grouping mpls-dest-address { | grouping mpls-dest-address { | |||
| description | description | |||
| "Destination address as per RFC 5884."; | "Destination address as per RFC 5884."; | |||
| reference | reference | |||
| "RFC 5884: Bidirectional Forwarding Detection (BFD) | "RFC 5884: Bidirectional Forwarding Detection (BFD) | |||
| skipping to change at line 120 ¶ | skipping to change at line 115 ¶ | |||
| "BFD encapsulation."; | "BFD encapsulation."; | |||
| } | } | |||
| } | } | |||
| grouping mpls-dest-address { | grouping mpls-dest-address { | |||
| description | description | |||
| "Destination address as per RFC 5884."; | "Destination address as per RFC 5884."; | |||
| 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)"; | |||
| leaf mpls-dest-address { | leaf mpls-dest-address { | |||
| type inet:ip-address; | type inet:ip-address; | |||
| config "false"; | config false; | |||
| description | description | |||
| "Destination address as per RFC 5884. | "Destination address as per RFC 5884. | |||
| Needed if IP encapsulation is used."; | Needed if IP encapsulation is used."; | |||
| } | } | |||
| } | } | |||
| /* | /* | |||
| * Augments | * Augments | |||
| */ | */ | |||
| augment "/rt:routing/rt:control-plane-protocols/" | augment "/rt:routing/rt:control-plane-protocols/" | |||
| + "rt:control-plane-protocol/bfd:bfd" { | + "rt:control-plane-protocol/bfd:bfd" { | |||
| description | description | |||
| "BFD augmentation for MPLS."; | "BFD augmentation for MPLS."; | |||
| container mpls { | container mpls { | |||
| description | description | |||
| "BFD MPLS top-level container."; | "BFD MPLS top-level container."; | |||
| uses bfd-types:session-statistics-summary; | uses bfd-types:session-statistics-summary; | |||
| container egress { | container egress { | |||
| description | description | |||
| "Egress configuration."; | "Egress configuration."; | |||
| uses bfd-types:client-cfg-parms; | uses bfd-types:client-cfg-parms; | |||
| uses bfd-types:auth-parms; | uses bfd-types:auth-parms; | |||
| } | } | |||
| container session-groups { | container session-groups { | |||
| description | description | |||
| "BFD-over-MPLS session groups."; | "BFD-over-MPLS session groups."; | |||
| list session-group { | list session-group { | |||
| key "mpls-fec"; | key "mpls-fec"; | |||
| description | description | |||
| "Group of BFD MPLS sessions (for ECMP). A group of | "Group of BFD MPLS sessions (for ECMP). A group of | |||
| sessions is for one FEC. Each session has a different | sessions is for one FEC. Each session has a different | |||
| field in the UDP/IP header for ECMP."; | field in the UDP/IP header for ECMP."; | |||
| leaf mpls-fec { | leaf mpls-fec { | |||
| End of changes. 21 change blocks. | ||||
| 20 lines changed or deleted | 11 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/ | ||||