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


adding a flow using C++

asked 2015-05-19 19:23:22 -0800

adibrastegarnia gravatar image

Hi, I have written a piece of code using C++ in order to send a PUT request (add a flow to the switch). I have used boost library in order to do this. The problem is that there is a communication between the controller and my code (Response code is 200) but the flow is not added to the controller and the switch. We have used Yang in order to add a flow and it was added successfully but when I want to add a new flow using PUT request in C++ it is not possible. There is no error and message passing between the code and controller is fine.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-05-21 11:09:35 -0800

gyanesh gravatar image

Have you verified with both config and operational datastore. If it is present in config and not in operational datastore, then the problem is not with your C++ code.

edit flag offensive delete publish link more

answered 2015-05-21 11:11:56 -0800

adibrastegarnia gravatar image

What should I do. I guess the problem is originated from the controller but we don't know how to find it. Would you please give me some guidelines to find the problem. In addition, I have tested by using the Postman application as well. The flow have been added to config but not operational datastore.

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


Asked: 2015-05-19 19:23:22 -0800

Seen: 157 times

Last updated: May 21 '15