Ask Your Question
0

How to view flows added via RPC

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

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

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 -0700 )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 -0700 )edit

Your Answer

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

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

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

Seen: 46 times

Last updated: Oct 06 '15