RFC Errata


Errata Search

 
Source of RFC  
Summary Table Full Records

Found 1 record.

Status: Reported (1)

RFC 9094, "A YANG Data Model for Wavelength Switched Optical Networks (WSONs)", August 2021

Source of RFC: ccamp (rtg)

Errata ID: 7054
Status: Reported
Type: Technical
Publication Format(s) : TEXT, PDF, HTML

Reported By: Jan Lindblad
Date Reported: 2022-07-29

Section 3 says:

  augment "/nw:networks/nw:network/nw:node/tet:te"
        + "/tet:te-node-attributes" {
    when '/nw:networks/nw:network/nw:network-types'
       + '/tet:te-topology/wsont:wson-topology' {
      description
        "Augmentation parameters apply only for networks with
         WSON topology type.";
    }

It should say:

  augment "/nw:networks/nw:network/nw:node/tet:te"
        + "/tet:te-node-attributes" {
    when '../../../nw:network-types/tet:te-topology/'
       + 'wsont:wson-topology' {
      description
        "Augmentation parameters apply only for networks with
         WSON topology type.";
    }

Notes:

The original YANG statements make the augmentation apply to all nw:networks as soon as there is at least one nw:network that is of wsont:wson-topology. This is clearly not the author's intent, as proven by the text in the description statement.

The corrected YANG statements make the augmentation only apply to the specific nw:networks that are of wsont:wson-topology type. There are also other ways to fix this issue.

Report New Errata



Advanced Search