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

Correctly tag missing key violations

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 14.0.0, 13.0.5
    • None
    • data-api, data-util
    • None

      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.

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

              Created:
              Updated: