On Thu, Feb 11, 2016 at 02:29:07PM +0000, Zoltán Balogh wrote: > Hi, > > The idea is to use OFPPS_LIVE bit to propagate link aliveness state towards > the controller also when sending port status. > The ofport->may_enable flag could be used for this purpose. I updated some > unit tests according to the changes of ofproto-dpif. > > Signed-off-by: Zoltán Balogh <zoltan.bal...@ericsson.com> > Co-authored-by: László Sürü <laszlo.s...@ericsson.com> > Signed-off-by: László Sürü <laszlo.s...@ericsson.com> > Co-authored-by: Jan Scheurich <jan.scheur...@ericsson.com> > Signed-off-by: Jan Scheurich <jan.scheur...@ericsson.com>
Thank you for working on this! This seems like a good start but I don't see anything that generates an OFPT_PORT_STATUS message when the LIVE bit gets set or unset. OpenFlow requires that behavior: All port state bits are read-only and cannot be changed by the controller. When the port flags are changed, the switch must send an OFPT_PORT_STATUS message to notify the controller of the change. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev