Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1133

Config list checking still not entirely correct

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 6.0.0, 4.0.14, 5.0.7
    • 3.0.16
    • parser
    • None
    • YANG parser 3.0.16

      In YANGTOOLS-1090 the config list checking was fixed.

      But there is still a case where it produces a warning where it shouldn't: when the non-config list is added via an augment. See the attached yang model, this produces the following warning:

      2020-09-01 16:50:29,742 INFO [org.broadband_forum.obbaa.netconf.api.parser.YangParserUtilTest.main()] list.AbstractListStatementSupport (AbstractListStatementSupport.java:137) - Configuration list (http://www.example.com/example2)values does not define any keys in violation of RFC7950 section 7.8.2. While this is fine with OpenDaylight, it can cause interoperability issues with other systems [defined at /home/verthezp/tmp/odlwarning/example2.yang:11:4]

      Since this list is added to a container with config false, the warning should not be there.

            rovarga Robert Varga
            verthezpw Peter Verthez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: