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

Vlan prefix_count incorrectly reporting via api #4707

Closed
DCAuto opened this issue Jun 2, 2020 · 0 comments
Closed

Vlan prefix_count incorrectly reporting via api #4707

DCAuto opened this issue Jun 2, 2020 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@DCAuto
Copy link

DCAuto commented Jun 2, 2020

Environment

  • Python version: 3.6.8
  • NetBox version: 2.8.1

Steps to Reproduce

  1. Create Vlan
  2. Add prefix to vlan
  3. Query vlan via api (/api/ipam/vlans/)

Expected Behavior

API would return a value of the total number of prefixes assigned to the vlan in the "prefix_count" field.

Observed Behavior

API return "null" for vlans with prefixes configured.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application labels Jun 2, 2020
@jeremystretch jeremystretch self-assigned this Jun 2, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants