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

Correctly tag missing key violations

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • 14.0.0, 13.0.2
    • data-api, data-util
    • None

    Description

      RFC6020 section 8.3.1 provides guidance as to what error-tag should be reported when we are missing a key leaf in a list during parsing:

            If all keys of a list entry are not present, the server MUST reply
            with a "missing-element" error-tag in the rpc-error.
      

      Add the appropriate exception and YangNetconfError awareness so that it may be decoded by users.

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              Unassigned Unassigned
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: