Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
-
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:-
In the above link search for "Steps for IoT device Management"
Please let me what are the changes i need to make.