Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


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=>

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

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">

 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,

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 369 times

Last updated: Feb 18 '16