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

OpenDaylight RESTCONF XML selects wrong YANG model for southbound NETCONF

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf-nb
    • None
    • Operating System: All
      Platform: All

    • 6256

    Description

      After mounting a Cisco IOS XR device and attempting to configure L2VPN using a POST to http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/asr9k1/yang-ext:mount with a body of:

      <l2vpn xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg">
      </l2vpn>

      ODL attempts to access Cisco-IOS-XR-l2vpn-oper instead of Cisco-IOS-XR-l2vpn-cfg.

      this doesn't occur when doing a PUT to ...yang-ext:mount/Cisco-IOS-XR-l2vpn-cfg:l2vpn, or when using JSON instead of XML as the payload.

      zipped logs attached.

      Attachments

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

        Activity

          People

            ivan.hrasko@pantheon.tech Ivan Hrasko
            giheron@cisco.com Giles Heron
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: