2014-01-31 FUJITA Tomonori <[email protected]>:
> On Fri, 31 Jan 2014 10:57:43 +0900
> Satoshi Kobayashi <[email protected]> wrote:
>
> > Currently, default 'vrrp_statistics' is zero. Thereby TimerEventSender()
> kicks VRRPRouter._EventStatisticsOut() without waiting. Since CPU usage
> will be 100%, this is an unsuitable default value.
> >
> > Signed-off-by: Satoshi Kobayashi <[email protected]>
> > ---
> > ryu/services/protocols/vrrp/event.py | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/ryu/services/protocols/vrrp/event.py
> b/ryu/services/protocols/vrrp/event.py
> > index e339a96..1658c40 100644
> > --- a/ryu/services/protocols/vrrp/event.py
> > +++ b/ryu/services/protocols/vrrp/event.py
> > @@ -120,7 +120,7 @@ class VRRPConfig(object):
> > priority=vrrp.VRRP_PRIORITY_BACKUP_DEFAULT,
> ip_addresses=None,
> >
> advertisement_interval=vrrp.VRRP_MAX_ADVER_INT_DEFAULT_IN_SEC,
> > preempt_mode=True, preempt_delay=0, accept_mode=False,
> > - statistics_interval=0, resource_id=None):
> > + statistics_interval=1, resource_id=None):
>
> Oops, thanks!
>
> The value is used for regularly sending VRRP statistics to syslogd or
> something so that the information can be nicely handled by other
> systems (like kibana). I think that 1 second is too small for such so
> I use 30 secs for the default. I'll send the code to send VRRP
> statistics in a JSON format for logging module.
>
Sure. Should I resend the patch? Or could you include this fix to your
code? (the value is 30 secs)
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel