Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1239

Exception on building get-config list filter with fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Medium Medium
    • None
    • None

      In order to extract list items with a specific set of fields the empty field elements expected to be set under list item node as explained in https://www.rfc-editor.org/rfc/rfc6241#section-6.4.4 

      On attempt building such filter the exception like below is thrown

      java.io.IOException: Child identifier (urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)identifier is invalid in parent (urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)schema
          at org.opendaylight.netconf.common.mdsal.StreamingContext$AbstractMapMixin.emitChildTreeNode(StreamingContext.java:252)
          at org.opendaylight.netconf.common.mdsal.StreamingContext$AbstractComposite.streamToWriter(StreamingContext.java:167)
          at org.opendaylight.netconf.common.mdsal.StreamingContext$AbstractComposite.emitChildTreeNode(StreamingContext.java:174)
          at org.opendaylight.netconf.common.mdsal.StreamingContext$AbstractComposite.streamToWriter(StreamingContext.java:167)
          at org.opendaylight.netconf.common.mdsal.StreamingContext$AbstractComposite.emitChildTreeNode(StreamingContext.java:174)
          at org.opendaylight.netconf.common.mdsal.StreamingContext$AbstractComposite.streamToWriter(StreamingContext.java:167)
          at org.opendaylight.netconf.common.mdsal.NormalizedDataUtil.writeFilter(NormalizedDataUtil.java:285)

      Test case: https://git.opendaylight.org/gerrit/c/netconf/+/110078/1

            ivanhrasko Ivan Hrasko
            rkashapov Ruslan Kashapov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: