Uploaded image for project: 'Application Controller'
  1. Application Controller
  2. APPC-1624

NETCONF-XML Response parse failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • El Alto Release
    • Dublin Release
    • APPC
    • None

      As an onap developer, I want to read the NETCONF-XML from the node through APPC and extract the data from it. Current APPC extracts the data using String tokens based on line separator ("\n"). So APPC expects the node to send the response data with line separator.

      Valid data from APPC Perspective

      Ex:

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
      <data>
      <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
      <interface>

      But not all nodes are capable of sending the response with line separator. For example the pnf-simulator in ONAP sends response without any line separator (Attached the sample pnf-simulator response). In this case APPC fails to extract the response data from the node.

      So In order to make APPC work for any node we need to build a different mechanism to filter out the data from the response.

            lathish lathish
            lathish lathish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: