Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-267

Look like no support to load TransAPI module (.so binary) along with yang module in netconf sever.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • netconf
    • 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:-

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            sdn.arcnt@gmail.com viru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: