----- Original Message -----
From: "Christopher Morrissey"
<Christopher.Morrissey(a)netapp.com>
To: engine-devel(a)ovirt.org
Sent: Thursday, September 19, 2013 12:50:38 AM
Subject: [Engine-devel] External events and flood rate
Hi All,
I’ve been working on submitting external events to oVirt through the REST
API. It seems to be working in general, although it appears that, no matter
what value I put for the flood rate in the event, only 1 or so events are
allowed every 30 seconds. If I send another event during this time, I get an
operation failed exception. Should the flood rate have any impact on this?
Is there any way to allow my code to get an event through when needed or
should I have a thread that shoots them off every 30 seconds if several
occur too quickly together?
Well, the 30 sec is the default if no flood rate is given
This is an example of how the flood rate should be set by the REST API
<event>
<description>any description</description>
<severity>normal</severity>
<origin>Customer1</origin>
<custom_id>1</custom_id>
<flood_rate>10</flood_rate>
</event>
Can you please check that the format you are using matches that ?
If you are using the same format and it still not working for you , please open a BZ
Thanks
Eli Mesika
-Chris
Chris Morrissey
Software Engineer
NetApp Inc.
919.476.4428
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel