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

Not using interface names as provided #30

Open
Computroniks opened this issue Dec 9, 2023 · 2 comments
Open

Not using interface names as provided #30

Computroniks opened this issue Dec 9, 2023 · 2 comments
Assignees

Comments

@Computroniks
Copy link

First of all, thanks for creating this plugin, it is really useful.

I have a Juniper switch with the interface names ge-0/0/0, ge-0/0/1 and so on. When I create the grid-template-areas definition, I would expect to use ge-0-0-0, ge-0-0-1... for each of the interface names, however this does not work as expected and results in a blank diagram. Instead for some reason the plugin uses ge-0-0, ge-0-1 which is not intuitive (and took me a while of messing around to figure out). Perhaps it would be a good idea to at least call this out in the documentation or perhaps alter the behaviour to use the sanitised interface names directly, without removing parts?

@peterbaumert
Copy link
Owner

Hi,

Yeah the reasoning behind removing parts was for accomodating for stacks where the first number is the place in the stack itself and then you would need to create man css selectors for each combination x-0-0.

I was very busy at work lately and havent had time to look into it. It was mention already in other issues. I will try my best to get something done this or next week. When i have some free days and my wife hasnt any christmas chores for me to do :D

@peterbaumert peterbaumert self-assigned this Dec 10, 2023
@Computroniks
Copy link
Author

No worries, that makes sense. I think maybe even just a note in README explaining how it works could be useful, just to help people (like me) who didn't quite realise what was going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants