Ask Your Question
0

How to connect to netconf server using ODL(no openflow enable)

asked 2016-02-18 16:09:25 -0700

Lan gravatar image

I want to connect to brocade netconf server from ODL netconf client(no openflow enable)

Using POST method put payload to http://<odl-ip>:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules

payload follow the link=> http://www.brocade.com/content/html/e...

How can I show "get-config" from ODL ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-18 22:05:49 -0700

bhavesh07 gravatar image

updated 2016-02-18 22:09:28 -0700

 1. Fire edit-config rpc on your netconf device using odl rest API:
   POST http://<controller-ip>:8181/restconf/config/opendaylight-inventory:nodes/node/<device-name>/yang-ext:mount
   request body:
   <device xmlns="urn:opendaylight:test">
     <name>device1</name>
     .........
   </device>

 2. Fire get-config rpc on netconf device using odl rest API:
   a. config datastore:
      GET http://<controller-ip>:8181/restconf/config/opendaylight-inventory:nodes/node/<device-name>/yang-ext:mount
   b. operational datastore (show what configuration is actually present on device):
      GET http://<controller-ip>:8181/restconf/operational/opendaylight-inventory:nodes/node/<device-name>/yang-ext:mount

Also follow the below link for better understanding, https://wiki.opendaylight.org/view/OpenDaylight_Controller:Netconf:Testtool

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2016-02-18 16:09:25 -0700

Seen: 295 times

Last updated: Feb 18 '16