[ovs-discuss] Behavior of switch when controller role is slave

Ben Pfaff blp at nicira.com
Fri Sep 25 06:16:10 UTC 2015

On Fri, Sep 25, 2015 at 11:19:23AM +0530, Manpreet Singh wrote:
> Hello Team,
> I want to discuss the behavior of Master/Slave Controller. I am performing
> below operation on OVS-2.3.2 with RYU.
> - Set controller role= slave
> - Reply received from switch with role set=slave
> - Add Flow entry(Send FlowMod)
>  The switch must reply with OFPT_ERROR message with a type field of
> OFPET_BAD_REQUEST, a code field ofOFPBRC_IS_SLAVE i.e. type=1 and code=10.
> But I am getting reply as type of OFPET_BAD_REQUEST and code of  OFPBRC_EPERM
> i.e type=1 and code =5.
> Is this behavior is correct?

This bug was fixed in OVS 2.4.  I've also now backported to the 2.3.x
branch, so it'll be fixed in the next 2.3.x release also.

More information about the discuss mailing list