inex / IXP-Manager

Full stack web application powering peering at over 200 Internet Exchange Points (IXPs) globally.
https://www.ixpmanager.org/
GNU General Public License v2.0
375 stars 160 forks source link

[NF] IX-F export: allow excluding VLANs - closes inex/IXP-Manager#881 #885

Closed lucix-mich closed 6 months ago

lucix-mich commented 6 months ago

[NF] IX-F export: allow excluding VLANs - closes inex/IXP-Manager#881

IXPs may have a longer list of VLANs on their infrastructure, and for many good reasons (documentation, config generation, ...) would like to be 100% complete in documenting all VLANs in IXP Manager. However, some of these VLANs may be used for very specific other services or use cases, which the IXP may not want to export in the IX-F JSON. Let's call these VLANs non-peering VLANs.

This PR implements an EXCLUDE option that works exactly the same way as the other pre-existing EXCLUDE options, allowing to exclude certain VLANs when walking the list of configured VLANs on member VIs.

In addition to the above, I have:

lucix-mich commented 6 months ago

Please disregard, this code is buggy. Need to review.