Skip to main content

Early Review of draft-ietf-teas-yang-l3-te-topo-16

Request Review of draft-ietf-teas-yang-l3-te-topo-16
Requested revision 16 (document currently at 16)
Type Early Review
Team YANG Doctors (yangdoctors)
Deadline 2024-05-07
Requested 2024-04-16
Requested by Lou Berger
Authors Xufeng Liu , Igor Bryskin , Vishnu Pavan Beeram , Tarek Saad , Himanshu C. Shah , Oscar Gonzalez de Dios
I-D last updated 2024-05-06
Completed reviews Rtgdir Early review of -16 by Shuping Peng
Yangdoctors Early review of -16 by Per Andersson
Yangdoctors Early review of -04 by Mahesh Jethanandani (diff)
2nd early review, together with WG LC, see
Assignment Reviewer Per Andersson
State Completed
Request Early review on draft-ietf-teas-yang-l3-te-topo by YANG Doctors Assigned
Posted at
Reviewed revision 16
Result Ready w/issues
Completed 2024-05-06

This is my YANG-Doctor Last-Call review of
draft-ietf-teas-yang-l3-te-topo-16. This draft contains four modules
which seem to be in good shape but still have a few issues and nits.


This document defines a YANG data model for layer 3 traffic engineering


o The YANG tree diagram listing is in better shape since the last
  review. However, there is still a lot of repetition and long YANG tree
  diagrams in Sections 4.2.2, 4.2.3, 4.2.4, 4.2.5, 4.2.6, 4.2.7, and
  4.2.11. Suggest to summarize the additions and further explain the
  augments. For instance explain the different augments once, in a cut
  out, and the add where it is augmented. The sections would also
  benefit from some pruning and more explanation of the presented YANG
  tree diagram.

o Checking YANG models

  Using pyang --ietf --lint yields several of the following errors

      ietf-te-topology-packet@2024-03-02.yang:416: error: grouping
      "te-packet-path-bandwidth" not found in module

      ietf-te-topology-packet-state@2024-03-02.yang:345: error: grouping
      "te-packet-path-bandwidth" not found in module

  It was not possible to see what grouping this might have been in
  ietf-te-packet-types. There is no "te-packet-path-bandwidth" grouping
  in any revision of ietf-te-packet-types.yang.

  Using yanglint yields no additional errors or warnings.

o Checking example instance data

  Using yanglint the following error is raised when validating the
  example data in Appendix B

      libyang err : Grouping "te-packet-types:te-packet-link-bandwidth"
      referenced by a uses statement not found. (Path


o The previous review asked for consistency regarding "description" and
  "presence" statements. There are still some inconsistensies, e.g.
  variating starting on the same or following line after the keyword.
  Please ensure that the style is consistent throughout the models.
  Suggest that all "description" and "presence" strings start on the
  line after the keyword because that style is mostly used throughout
  the models.

o The when and augment expressions' arguments are sometimes misaligned
  if they line wrap and are concatenated. Suggest aligning the
  subsequent concatenated strings with the first one.

o Extra space before "supported." in the module description for

o In Section 4.2, the sentence needs to add article (the) before base:

      This is an augmentation to base TE topology model.