RFC Errata
RFC 8960, "A YANG Data Model for MPLS Base", December 2020
Source of RFC: mpls (rtg)
Errata ID: 7944
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Erik Kline
Date Reported: 2024-05-19
Section 2.5 says:
grouping nhlfe-single-contents { description "A grouping that describes a single Next Hop Label Forwarding Entry (NHLFE) and its associated parameters as described in the MPLS architecture. This grouping is specific to the case when a single next hop is associated with the route."; uses rt-types:mpls-label-stack; }
It should say:
grouping nhlfe-single-contents { description "A grouping that describes a single Next Hop Label Forwarding Entry (NHLFE) and its associated parameters as described in the MPLS architecture. This grouping is specific to the case when a single next hop is associated with the route."; <some reference to an mpls-operations-type> uses rt-types:mpls-label-stack; }
Notes:
Section 2.2 states that the NHLFE contains the packet's next hop and "[t]he operation to perform on the packet's label stack."
Section 2.5 defines an mpls-operations-type typedef, but then it is never referenced by anything else in the YANG module.
I *think* it should be associated with nhlfe-single-contents, alongside the rt-types:mpls-label-stack used there. My YANG skills are too poor to craft any plausibly correct syntax, though.