Skip to main content

Early Review of draft-ietf-spring-srv6-yang-base-02
review-ietf-spring-srv6-yang-base-02-yangdoctors-early-lhotka-2026-05-20-00

Request Review of draft-ietf-spring-srv6-yang-base
Requested revision No specific revision (document currently at 02)
Type Early Review
Team YANG Doctors (yangdoctors)
Deadline 2026-05-21
Requested 2026-05-06
Requested by Alvaro Retana
Authors Syed Kamran Raza , Jaganbabu Rajamanickam , Satoru Matsushima , Pingping Yu , Xufeng Liu
I-D last updated 2026-05-14 (Latest revision 2026-05-14)
Completed reviews Yangdoctors Early review of -02 by Ladislav Lhotka
Assignment Reviewer Ladislav Lhotka
State Completed
Request Early review on draft-ietf-spring-srv6-yang-base by YANG Doctors Assigned
Posted at https://mailarchive.ietf.org/arch/msg/yang-doctors/IGTYeB3OiiTJE-9mEn37RCjiL08
Reviewed revision 02
Result Ready w/issues
Completed 2026-05-20
review-ietf-spring-srv6-yang-base-02-yangdoctors-early-lhotka-2026-05-20-00
This I-D defines a base data model for IPv6 segment routing (SRv6). It is
designed to be augmented by other SRv6 data models for specific routing
protocols. The base data model consists of two YANG modules:

- ietf-srv6-types defines identities, derived types and groupings

- ietf-srv6-base defines actual configuration and state data as well as two
notifications

**** General comments

- Identities defined in ietf-srv6-types correspond to the IANA registry "SRv6
Endpoint Behaviors". They should instead appear in an IANA-maintained YANG
module that mirrors this registry, see draft-ietf-netmod-iana-yang-guidance.

- Examples of instance data (configuration, state data and notification) would
be useful.

**** Specific comments

- Sec. 1 states: "YANG [RFC6020] is a modular language that represents data
structures in an XML tree format, [...]". Both modules in this I-D declare YANG
version 1.1, so the correct reference should be RFC 7950. Also XML is no more
the only possible data representation format, JSON and CBOR are comonly used.

- XPath function derived-from-or-self() is used 4 times in ietf-srv6-base. In
all cases, the identities used as the second parameter are defined in the
ietf-srv6-types module, so they have to carry the prefix, e.g.

  derived-from-or-self(../type, 'srv6-types:srv6-sid-fmt-uc-1')

- Both modules have to be reformatted to fit the 72-character limit [RFC 7994].
In most cases, the excessive line length is caused by description text starting
on the same line as the "description" keyword, with subsequent lines indented
accordingly. These description statements should be reformatted in the usual
style

  description
    "Description text ....";