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

/available-ips/ response code incorrect for newer Netbox versions #5

Open
kyle-burnett opened this issue Aug 19, 2022 · 0 comments
Open

Comments

@kyle-burnett
Copy link

kyle-burnett commented Aug 19, 2022

Since v3.1.1 Netbox returns 409 for exhausted prefixes instead of 204 netbox-community/netbox#7519

So this check no longer works and the tests fail once the prefix is full:

if result.status_code == 204:
raise RuntimeError

Not sure if this is maintained or not, so just putting this here incase anyone else tries to use this on newer Netbox versions

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