[NETCONF-267] Look like no support to load TransAPI module (.so binary) along with yang module in netconf sever. Created: 01/Sep/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: viru Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Attachments: HTML File odl-log-1    
External issue ID: 6606

 Description   

Hi All,

I have a custom yang capability in Netconf server(OpenYuma). server is not supporting ietf monitoring. so i have add yang manually using following step:-

1. put these yang files in cache/schema folder of ODL.
2. Add capability in device module of etc/opendaylight/current/controller.currentconfig.xml

but when i try to change in config parameter of custom yang capability using below RestAPI, it throw the error (pls see the logs in attached file)

Method : PUT
API : http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/netconf-device-1/yang-ext:mount/FutureNat-MIB:FutureNat-MIB/
Authentication: user-name:admin
Password:admin
Headers:
Accept: application/xml
Content-Type: application/xml
and payload:
<FutureNat-MIB xmlns="urn:ietf:params:xml:ns:yang:smiv2:FutureNat-MIB">
<natStatInfo>
<natEnable>enabled</natEnable>
</natStatInfo>
</FutureNat-MIB>

but once i load the TransAPI module (.so binary of custom yang) using yangcli (netconf client) , i am able to perform get/set operation on netconf device using ODL & Yangcli.

So , please let me know is there any aupport to load TransAPI

i followed the below link for finding the issue:-

https://books.google.co.in/books?id=JPKGBAAAQBAJ&pg=PA94&lpg=PA94&dq=load+.so+file+in+netconf+server&source=bl&ots=8_EH-c1QZj&sig=YjLtwPETjASA-I_bpQbOKa-9sd4&hl=en&sa=X&ved=0ahUKEwjn9qu51u3OAhXFmJQKHRgCD5wQ6AEIPjAG#v=onepage&q=Load%20the%20YANG%20module%20%28containing%20the%20data%20definitions%29%20and%20the%20TransAPI&f=false

In the above link search for "Steps for IoT device Management"

Please let me what are the changes i need to make.



 Comments   
Comment by viru [ 01/Sep/16 ]

Attachment odl-log-1 has been added with description: ODL lof file

Comment by Jakub Morvay [ 02/Sep/16 ]

Hi Viru,

For manually side loading schemas, please have a look at this tutroial:
https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Connecting_to_a_device_not_supporting_netconf_monitoring

I do not have any experience with TransAPI, but I do not think that loading some third party modules is NETCONF's responsibility.

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