Ethan,

Looking at the code, it seems to me that there is no link from BFD to OpenFlow 
PORT_STATUS message. I might be wrong, but it seems possible that BFD indicated 
port state changes could be communicated to the controller with the OFPPS_LIVE 
(= OFPUTIL_PS_LIVE) status bit, using the ofproto_port_set_state() function.

This from the OpenFlow 1.3.1 spec:

"- A port is considered live if it has the OFPPS_LIVE flag set in its port 
state. Port liveness may be managed by code outside of the OpenFlow portion of 
a switch, defined outside of the OpenFlow spec (such as Spanning Tree or a 
KeepAlive mechanism). At a minimum, the port should not be considered live if 
the port config bit OFPPC_PORT_DOWN indicates the port is down, or if the port 
state bit OFPPS_LINK_DOWN indicates the link is down."

OFPPS_LIVE is specified for OF1.1+ with a comment "Live for Fast Failover 
Group", but I don't see why the bit could not be used also without any failover 
groups. Thoughts?

   Jarno

On May 8, 2013, at 2:30 , ext Ethan Jackson wrote:

>> Since I was mostly happy with the first version, and you addressed
>> that stuff, and we're planning to continue working on this, I think
>> you can push it without another review.  (I'm feeling some time
>> pressure lately.)
> 
> Sounds good to me.  Thanks.  I'll merge this now.
> 
> Ethan
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to