How to send edit-config message from Controller to Netconf device

asked 2015-06-23 17:14:19 -0700

anhtt gravatar image

updated 2015-07-13 00:22:55 -0700

Dear,

I use ncmount application of coretutorials

https://github.com/opendaylight/coretutorials/tree/master/ncmount

I want to send edit-config message from NcmountProvider class to Netconf device. But I don't know how to do that. Below is example of filter in edit-config message.

<cli-config-data>
<cmd>hostname router1</cmd>
</cli-config-data>

Can any body give me a hint on how to do it?

Thanks

edit retag flag offensive close merge delete