-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand Edit Interface 802.1Q VLAN form search query #3840
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
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide. |
This is being worked on, stalebot! |
The PR (#3925) is awaiting maintainer review/merge. Hopefully they’ll get some free time soon now that the big issues from v2.7 have been fixed.
… On 20 Jan 2020, at 6:33 pm, Tyler Bigler ***@***.***> wrote:
This is being worked on, stalebot!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Per the contributing guide:
and
While community contributions are always appreciated, it is crucial that development effort remains focused on priorities. We introduced stalebot for a reason: to automatically close issues that are either not of interest (as indicated by the lack of discussion) or that we do not have the resources to explore currently. Please wait to begin any work on an issue until after a maintainer has marked it as accepted, and understand that every issue that gets submitted has a time cost associated with it, as do pull requests. The mere presence of a pull request has no bearing on whether an issue gets accepted, as we cannot allow arbitrary engagement to drive long-term prioritization. We discourage contributors from expending the effort prematurely to avoid a situation where they perceive their time as wasted. |
I think one thing we need to make sure to capture in this, and I haven't looked at the PR yet to see if it is captured, is that when you search by VID, you need to search the global, the global groups, and the site specific vlan and vlan groups. I do think this is something we should look at doing and it was on the todo list, however the filtering javascript would need more love then I could dedicate to it to get it working the way it needs to. If hSaria is willing to own this, I don't see any problem accepting it. |
@DanSheps Yep, that's captured in the PR.
Simply limiting the VLANs to the global ones There's an explanation in #3589 (comment), but here's the summary on why it works:
|
@DanSheps, sure. The PR already adjusts how the |
Marking this as blocked until we have a chance to look at consolidating the interface forms (#4057). Will keep the PR open. |
Unblocking since it might actually be easier to tackle #4057 after these changes are made. |
Fixes #3840: Only show valid interface VLAN choices
Environment
Proposed Functionality
When using the GUI Select2 fields for adding untagged/tagged VLANs to a device/VM interface, expand the search parameters to also search by site and VLAN group. Currently it appears that only the VLAN Name and VID are used. The dropdown currently displays the sites in the dropdown list, but they're not part of the search parameters.
Use Case
When you have a cookiecutter design for a particular type of site, the VIDs and VLAN names are repeated identically, and added to their respective sites and VLAN groups, if applicable.
When you go to add those VLANs to an interface and search for vlan
5
for example, you may get dozens or hundreds of results because that VID and name are repeated lots of times. This makes it nearly impossible to add the VLAN through the GUI.A potential workaround with the current state is to make all the VLAN names unique by adding the site name to the VLAN name, but this seems repetitive and less flexible, should the site name ever change for example.
A cursory glance makes this appear to be an issue with the REST API (and the
q
param) but there is also asite
filter param that could be used in this case.Database Changes
N/A
External Dependencies
N/A
The text was updated successfully, but these errors were encountered: