On Wed, Apr 9, 2014 at 4:00 PM, Ben Pfaff <b...@nicira.com> wrote: > On Fri, Apr 04, 2014 at 03:00:39PM -0700, Alex Wang wrote: > > This commit adds call-back function to the tunnel monitoring protocal > > bfd/cfm to allow the session to notify the ofproto-dpif whenever its > > status changes. This helps eliminate the overhead of updating unchanged > > session status to the database. > > > > Signed-off-by: Alex Wang <al...@nicira.com> > > I prefer to avoid callbacks, when I can. Is it possible to avoid them > here? One possible way would be to add a sequence number to cfm and > bfd objects; another way is to add a "changed" flag to cfm and bfd > flags and provide an interface to read it and reset it. >
Yes, I think a boolean flag is good enough. I'll change accordingly,
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev