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

0

How to view flows added via RPC

asked 2015-10-06 10:15:16 -0800

headamage gravatar image

Hi everyone, as the title suggests, where can I find flows that I add via RPC? They don't show up in YANG or /restcon/config/opendaylight-inventory:nodes/

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-06 23:47:36 -0800

You can check in the operational data store:

http://localhost:8181/restconf/operational/opendaylight-inventory:nodes/

When you push the flow to config data store then the FRM receives the data change notification and invokes the openflowplugin RPCs and finally after the successful flow installation the flow gets added to the operational data store.

If you invoke the RPC directly then openflow plugin installs the flow and updates the operational data-store. Here you skips the config data-store.

edit flag offensive delete publish link more

Comments

just to add to this, if your switch happens to reject the flow then it will not be found anywhere. something to watch out for when debugging.

jamoluhrsen ( 2015-10-07 08:44:09 -0800 )edit

thanks. so if i set installHw:false what happens with the flow? I found it makes no difference in the result and my hosts can ping in either case without changing anything else in the flow.

headamage ( 2015-10-07 09:02:56 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-10-06 10:15:16 -0800

Seen: 47 times

Last updated: Oct 06 '15