-
Notifications
You must be signed in to change notification settings - Fork 161
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
VLANs API contains all VLANs for every device. #822
Comments
Hey @ichilton - most IXs using IXP Manager are running layer2 / stp. I.e. every switch needs to know about every VLAN regardless of whether there's an access port there or not. We'd probably need a new api endpoint or an optional qualifier on this one to limit to access ports. You could also generate this from other api endpoints such as the list of ports for example. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISSUE TYPE
Bug Report
VERSION
SUMMARY
The provisioning API for VLANs contains all private vlans and not just that should be on each switch.
STEPS TO REPRODUCE
https:///api/v4/provisioner/vlans/switch-name/{switchname}.yaml
...whichever switch you use, it gives the full list of VLANs.
EXPECTED RESULTS
It should only include VLANs which are either not private or are private and have an interface on that switch.
ACTUAL RESULTS
It shows the same list of all VLANs, for every device.
The text was updated successfully, but these errors were encountered: