[NETCONF-233] OpenDaylight RESTCONF XML selects wrong YANG model for southbound NETCONF Created: 22/Jul/16 Updated: 15/Mar/19 Resolved: 24/Oct/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Giles Heron | Assignee: | Ivan Hrasko |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 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"> 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. |
| Comments |
| Comment by Giles Heron [ 22/Jul/16 ] |
|
Attachment logs.zip has been added with description: zipped logs |
| Comment by Ivan Hrasko [ 27/Sep/16 ] |
|
Gerrit patch: |
| Comment by Ivan Hrasko [ 05/Oct/16 ] |
|
Cherry pick for Be-4: |
| Comment by Ivan Hrasko [ 24/Oct/16 ] |
|
Merged also to Boron-1. |