Ask Your Question
0

adding a flow using C++

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

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
0

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

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
0

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

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

Your Answer

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

Add Answer

[hide preview]

Stats

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

Seen: 124 times

Last updated: May 21 '15