[NETCONF-176] unable to mount NETCONF node with deviation against ietf-netconf-monitoring Created: 05/Apr/16  Updated: 15/Mar/19  Resolved: 12/Apr/16

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Giles Heron Assignee: Giles Heron
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File 5675-bis.diff     File 5675.diff    
External issue ID: 5675

 Description   

I'm unable to mount a device which has a deviation against ietf-netconf-monitoring:

<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<capabilities>
<capability>urn:ietf:params:netconf:base:1.1</capability>
<capability>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?deviation=cisco-xr-netconf-monitoring-deviations</capability>
<capability>urn:ietf:params:netconf:capability:candidate:1.0</capability>
<capability>urn:ietf:params:netconf:capability:rollback-on-error:1.0</capability>
<capability>urn:ietf:params:netconf:capability:validate:1.1</capability>
<capability>urn:ietf:params:netconf:capability:confirmed-commit:1.1</capability>
...

no models are being loaded to the cache.

ODL appears to think the device doesn't support ietf-netconf-monitoring as I see this log:

"Netconf monitoring not supported on device, cannot detect provided schemas"

I'm not sure if this is strictly a yangtools bug or a netconf bug.



 Comments   
Comment by Giles Heron [ 06/Apr/16 ]

Attachment 5675.diff has been added with description: proposed patch for partial match of capability

Comment by Giles Heron [ 06/Apr/16 ]

this patch is a little better I think

Comment by Giles Heron [ 06/Apr/16 ]

Attachment 5675-bis.diff has been added with description: revised patch

Comment by Tomas Cere [ 07/Apr/16 ]

can you push your patch into gerrit?

Comment by Giles Heron [ 07/Apr/16 ]

done

Comment by Tomas Cere [ 11/Apr/16 ]

https://git.opendaylight.org/gerrit/#/c/37239/

Generated at Wed Feb 07 20:14:21 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.