Hello,

The bug is in OVS. In my tests it was necessary change de following lines
in the ofproto/ofproto-dpif-xlate.c
<http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=ofproto/ofproto-dpif-xlate.c;h=5dba2e678b0af196ec174ecdf9139d05df8c3766;hb=2ca476b8ae918f6db2af7c147ea0cb807a734939>.
This return to the old, but functional, implementation of the function
which performs the sending of the BPDUs in OVS.

@@ -1542,9
<http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=ofproto/ofproto-dpif-xlate.c;h=89131ebba8d1f4d03e923ee3cc41e8dfd14b6d9d#l1542>
+1549,18
<http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=ofproto/ofproto-dpif-xlate.c;h=5dba2e678b0af196ec174ecdf9139d05df8c3766;hb=2ca476b8ae918f6db2af7c147ea0cb807a734939#l1549>
@@ compose_output_action__(struct xlate_ctx *ctx, ofp_port_t ofp_port,
     } else if (xport->config & OFPUTIL_PC_NO_FWD) {
         xlate_report(ctx, "OFPPC_NO_FWD set, skipping output");
         return;
+    } else if (check_stp && !xport_stp_forward_state(xport)) {
+        xlate_report(ctx, "STP not in forwarding state, skipping output");
+        return;
-    } else if (check_stp) {
-        if (eth_addr_equals(ctx->base_flow.dl_dst, eth_addr_stp)) {
-            if (!xport_stp_listen_state(xport)) {
-                xlate_report(ctx, "STP not in listening state, "
-                             "skipping bpdu output");
-                return;
-            }
-        } else if (!xport_stp_forward_state(xport)) {
-            xlate_report(ctx, "STP not in forwarding state, "
-                         "skipping output");
-            return;
-        }
     }

Sorry for my english!




2014-07-07 19:18 GMT-03:00 FUJITA Tomonori <[email protected]>:

> On Mon, 7 Jul 2014 13:54:33 -0300
> Luis Knob <[email protected]> wrote:
>
> > Ok, i running my app on OpenFlow 1.3, but group tables are define in 1.1.
> > However, the problem is in the ovs 2.1 implementation. This commit that
> has
> > the problem.
> >
> >
> http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2ca476b8ae918f6db2af7c147ea0cb807a734939
> >
> > Anyway, the problem happens when using STP in ovs 2.1 with Ryu,
> regardless
> > the version of OpenFlow.
>
> You mean that Ryu has a bug? Or OVS does?
>



-- 
   Atenciosamente,
   Luís Augusto Dias Knob - Consultoria em TI -  LPI ID 203191
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to