Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1430

Restconf api document explorer return wrong path for mounted services//

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Lithium
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 4497

    Description

      After adding a netconf device "Leaf1" through netconf connector, from apidoc we got this result for mounted points:

      opendaylight-inventory:nodes/node/node/Leaf1/
      network-topology:network-topology/topology/topology/topology-netconf/node/node/Leaf1/

      we can see there is extra topology/node in the path.and we can't use apis from the mounted point to access the device.

      we read the code in MountPointSwagger.java and fix the bug,the bug code is in generateUrlPrefixFromInstanceID method, Please see the fixcode from attatchment.

      Thanks

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            haiping_zhao@h3c.com zhaohaiping
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: