[NETCONF-157] can not connect to a device not supporting netconf monitoring Created: 08/Mar/16  Updated: 15/Mar/19  Resolved: 17/Oct/16

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

Type: Bug
Reporter: SaintLee Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5470

 Description   

When I configure or update a netconf-connector via topology node config datastore,I can not connect to the device that not support netconf monitoring even though I add the yang-module-capabilities



 Comments   
Comment by Jakub Morvay [ 08/Mar/16 ]

Hi SaintLee. Do you also put your yang schemas to cache schema folder?

Comment by SaintLee [ 10/Mar/16 ]

(In reply to Jakub Morvay from comment #1)
> Hi SaintLee. Do you also put your yang schemas to cache schema folder?

yes,I think I do everythin right. Everything is fun when I use the Lithium version. I will push my change later,then let's see if it is appropriate.

Comment by Jakub Morvay [ 10/Mar/16 ]

(In reply to SaintLee from comment #2)
> (In reply to Jakub Morvay from comment #1)
> > Hi SaintLee. Do you also put your yang schemas to cache schema folder?
>
> yes,I think I do everythin right. Everything is fun when I use the Lithium
> version. I will push my change later,then let's see if it is appropriate.

I tried it now on a master branch and everything looks working fine. I used netconf test tool with default parameters as a device.

Here is my configuration data:
<ntopo:node xmlns:ntopo="urn:TBD:params:xml:ns:yang:network-topology"
xmlns:nctopo="urn:opendaylight:netconf-node-topology">
<ntopo:node-id>testtool</ntopo:node-id>
<nctopo:host>127.0.0.1</nctopo:host>
<nctopo:port>17830</nctopo:port>
<nctopo:username>admin</nctopo:username>
<nctopo:password>admin</nctopo:password>
<nctopo:tcp-only>false</nctopo:tcp-only>
<nctopo:yang-module-capabilities>
<nctopo:capability>
urn:opendaylight:mdsal:mapping:test?module=test&revision=2015-02-26
</nctopo:capability>
</nctopo:yang-module-capabilities>
</ntopo:node>

I also put relevant yang schema to karaf's cache/schema folder. Device connected successfully.

What exactly is your scenario?

Anyway, patches are always welcome. So, if you are working on this bug, you can also take it here in bugzilla (assign it to you).

Comment by Alexis de Talhouƫt [ 26/Apr/16 ]

SaintLee,

Are you specifying the schema-cache-directory in your scenario?

If so, there was a bug that is now fixed.
Else, please provide more information on how you do process to sideaload the schema as I tested it and it appears to work fine.

Thanks

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