[ovs-discuss] learn action and controller action of openflow in ovs 2.3.2 version

Lixing (F) lixing762 at huawei.com
Tue Mar 22 07:29:48 UTC 2016


Hi All

I am using ovs 2.3.2 version.
I want to use learn action and controller action of openflow like this:
ovs-ofctl add-flow br-test "table=0, priority=0 actions=learn(table=0,hard_timeout=10, priority=20),CONTROLLER:65535"

When I snoop the br-test, I do not receive the packet-in packet.

I analyzed the code, there is an bug in handle_upcalls function.
When excuting the function xlate_actions_for_side_effects that to send the packet to the OpenFlow controller,
the flow table has been modified by learn action.

This bug does not exist in the later version ovs2.4.0.
How do I fix this bug in version 2.3.2?

Thanks


________________________________
华为技术有限公司 Huawei Technologies Co., Ltd.
[Company_logo]
手  机:13606542321
电子邮件:lixing762 at huawei.com
________________________________
 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160322/f6ffde51/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5474 bytes
Desc: image001.png
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160322/f6ffde51/attachment-0002.png>


More information about the discuss mailing list