-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
When creating Interfaces, allow more wildcard variants #1586
Comments
Mileage may vary based on OS and Browser, however if you're looking for a temp way of doing this - Hold "ctrl" while clicking create, the creating runs in a new tab, which you can close once completed. Your then left with the original tab, which you can quickly edit and create again etc. |
Besides being able to import interface definitions from outside documentation or import previous exports via csv, the ability to add multiple interfaces simultaneously that can't otherwise be easily entered via built-in wildcard is a plus. #1465 |
I have a working solution almost ready, just need to write tests and documentation, I'll try to get it pushed this week. |
@RyanBreaker just curious, which syntax would your solution provide? |
@darkstar It'll be the separated format:
Edit:
|
Is there a chance for this Pull Request to be merged? |
Implements #1586, add additional variants for ExpandableNameFields
Issue type
[X] Feature request
[ ] Bug report
[ ] Documentation
Environment
Description
When adding interfaces to a device or device template, there is already a Syntax in place to have multiple numbered interfaces created with one single step:
Eth1/[1-32]
for example.I am managing systems that do not have such a numbered syntax for the network interfaces. For example, I might have to create interfaces
e0a
,e0b
,e0c
ande0d
.Currently, this involves 4 clicks on "create and add another", each with selecting the interface type from the list again, which is tedious.
My suggestion is to allow another syntax:
e0a,e0b,e0c,e0d
to create, in this case, 4 interfaces at the same time.An alternative would be to allow letters in the brackets as well, which would enable a syntax like
e0[a,b,c,d]
which would also be fine. Even better, of course, would bee0[a-d]
... But I am fine with any of these options.If that is not feasible, I would at least like to have the "Create and add another" button to remember all selections in the drop down lists for the next interface, to reduce clicking required. I can open a new case for this if it is necessary.
The text was updated successfully, but these errors were encountered: