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

EMPTY body response on POST to /rests/operations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • None
    • 6.0.1
    • None
    • Have found it using ONAP London release

      There is a bug in odl netconf for network element with custom yang model which contains RPC call.
      When you trying to invoke rpc method via api call like "POST /rests/operations/{yang_module}:{method_name}", you expecting to receive response with body declared in output region of rpc call in yang model. For example:

        rpc software-check {
          description
            "Install a previously downloaded software package.";
          input

      {       uses check-input;     }

          output

      {       uses check-output;     }

        }

      Response body have to represent a structure declared in "check-output" grouping, BUT body is EMPTY.

       

       

      Version  ODL:   chlorine-SR1 (0.17.1), phosphorus-SR1 (0.15.1)

            ivanhrasko Ivan Hrasko
            VladislavLH Vladislav LH
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: