We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NetBox version v2.11.3
Describe the bug Cannot create a new BGP Session instance via API
To Reproduce Steps to reproduce the behavior:
Request 1
{ "local_as": 4, "remote_as": 4, "name": "New BGP Session", "status": "active", "site": 4, "device": 482, "local_address": 13608, "remote_address": 13607 }
Response 1
{ "local_as": { "non_field_errors": [ "Invalid data. Expected a dictionary, but got int." ] }, "remote_as": { "non_field_errors": [ "Invalid data. Expected a dictionary, but got int." ] } }
Request 2
{ "local_as": {"id": 4}, "remote_as": {"id": 4}, "name": "New BGP Session", "status": "active", "site": 4, "device": 482, "local_address": 13608, "remote_address": 13607 }
Response 2
{ "error": "Cannot assign \"OrderedDict()\": \"BGPSession.local_as\" must be a \"ASN\" instance.", "exception": "ValueError", "netbox_version": "2.11.3", "python_version": "3.8.10" }
Expected behavior A new BGP Session should have been created
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NetBox version
v2.11.3
Describe the bug
Cannot create a new BGP Session instance via API
To Reproduce
Steps to reproduce the behavior:
Request 1
Response 1
Request 2
Response 2
Expected behavior
A new BGP Session should have been created
The text was updated successfully, but these errors were encountered: