Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rate limit management so that module's API calls avoid failure when exceeding the rate limit #49

Open
mkearey opened this issue Jul 29, 2024 · 0 comments

Comments

@mkearey
Copy link
Contributor

mkearey commented Jul 29, 2024

We rarely hit the limits but have done in the past, mainly when managing a large zone with hundreds of records and a lot of changes. It results in a playbook failure.

Its my understanding that the NS1 Ansible module does not currently perform any rate limit management for API calls.

ns1-python has two options currently:
https://github.com/ns1/ns1-python/blob/master/examples/rate-limiting.py

The API docs about the rate limits:
https://www.ibm.com/docs/en/ns1-connect?topic=api-rate-limiting

We would like to see an option to enable rate limit management for API calls the module makes. It will help avoid playbook failures as a result of exceeding the rates permitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant