ansible/test/units/module_utils/network
Kevin Breit 489156378c Meraki - Enable API call rate limiting for requests (#54827)
* Initial commit for rate limiting
- Detects if error code is 429
- Pauses for random time between .5 and 5 seconds before retrying
- If it fails 10 times, give up and tell user

* Redo structure of request() to support rate limiting

* Hold down timer is now a sliding scale
- 3 * number of retries
- Fails after the 30 second wait

* Whitespace fixes

* Redo implementation using decorators
- Errors aren't tested but code works for regular calls

* Unit tests work for error handling

* Add integration tests for successful retries

* Add condition for 502 errors and retry

* Move _error_report out of the class

* PEP8 fixes

* Add changelog entry
2019-08-27 16:32:09 -04:00
..
aci Unit tests: remove unused imports (#59812) 2019-08-02 17:18:14 +02:00
avi Added unit tests for avi API utils (#58382) 2019-07-24 11:05:28 -04:00
common To ipv6 network (#48572) 2019-03-27 11:20:27 -04:00
ftd FTD configuration module: fix a bug with response parsing (#57480) 2019-06-10 18:30:35 +05:30
meraki Meraki - Enable API call rate limiting for requests (#54827) 2019-08-27 16:32:09 -04:00
nos unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
nso NSO modules now work as expected with NSO 5.X (#54766) 2019-04-03 20:56:35 +01:00
slxos unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
__init__.py