[ovs-discuss] way to speak with OpenFlow module

Xiao Liang (xiaolia) xiaolia at cisco.com
Wed Sep 16 02:44:18 UTC 2015

Hi Minh,

Controller could query existing flows before adding. I’m not clear why you need to do this. Ovs-ofctl has no impact as long as you don’t use it. You can remove the mgmt socket (/var/run/openvswitch/<bridge>.mgmt) if you really want.


From: Minh Nghiem Gia [mailto:nghiem.gia.minh at gmail.com]
Sent: Tuesday, September 15, 2015 22:04
To: Xiao Liang (xiaolia)
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] way to speak with OpenFlow module

Hi Xiao,

Thank you for your quick response. That means there are several ways to insert OF flows! Then, if I insert OF rules by using ovs-ofctl and by a controller, is there any way to ensure installed rules are not overlap or interfere with the others? Or is there any way to only allow one way to communicate with the switch?

Best regards,

2015-09-15 18:43 GMT+09:00 Xiao Liang (xiaolia) <xiaolia at cisco.com<mailto:xiaolia at cisco.com>>:
Hi Minh,

As far as I know, most controllers will include OpenFlow protocol implementation. They communicate with switches by OpenFlow message. In this way, ovs-ofctl makes no difference, it sends / receives messages via sockets (unix, tcp, etc.). Some controller might also have OVSDB southbound, which manipulates OVS bridges as ovs-vsctl.
Some applications (like Openstack, IIRC) might have an agent running on the host to call OVS utils.


From: discuss [mailto:discuss-bounces at openvswitch.org<mailto:discuss-bounces at openvswitch.org>] On Behalf Of Minh Nghiem Gia
Sent: Tuesday, September 15, 2015 16:43
To: discuss at openvswitch.org<mailto:discuss at openvswitch.org>
Subject: [ovs-discuss] way to speak with OpenFlow module


It is easy to push OpenFlow rules to OVS by using the OVS utility such as ovs-ofctl. Thanks all OVS developers!
However, I now want to try that function with a SDN controller and I wonder that does the SDN controller (i.e., pox, nox or floodlight) will call ovs-ofctl to install OF flows or they implement their own way (which probably works in a similar way to ovs-ofctl) to complete that tasks?
Anyone please help on my dummy question.

Thanks a lot,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150916/f69d4d81/attachment-0002.html>

More information about the discuss mailing list