netbox-device-view icon indicating copy to clipboard operation
netbox-device-view copied to clipboard

Fantastic!

Open opensourcefan opened this issue 2 years ago • 12 comments

For an "alpha" this is excellent. Thank you for taking the time to build this.

opensourcefan avatar Jun 01 '23 17:06 opensourcefan

Thanks and please feel free to share your thoughts.

Still many things to do but i think too for a start this can already be better than nothing :)

peterbaumert avatar Jun 01 '23 18:06 peterbaumert

Yes, it's an excellent start, and a fast one to boot. Really my only immediate thought was showing the active "front port" termination points.

Curious if you'd be able to use the already set "front" images from the Device Types as an underlay, with your output being an overlay. We could adjust the x,y to match the image. Not sure if this is easier imagined then implementing.

opensourcefan avatar Jun 03 '23 00:06 opensourcefan

Thats a nice idea, i will have a look into this after the weekend. Front port terminations as an overlay maybe?

peterbaumert avatar Jun 03 '23 09:06 peterbaumert

Yes, it's an excellent start, and a fast one to boot. Really my only immediate thought was showing the active "front port" termination points.

Do you mean like this:

image

peterbaumert avatar Jun 04 '23 18:06 peterbaumert

That would work. Was thinking maybe connections lines coming off at an angle top and bottom showing the connection. Something that would be visible without interaction and could be printed if needed.

switchlabel

opensourcefan avatar Jun 04 '23 20:06 opensourcefan

That would work. Was thinking maybe connections lines coming off at an angle top and bottom showing the connection. Something that would be visible without interaction and could be printed if needed.

switchlabel

I think for the standard device info page, that might be a bit overloaded. But i added already a "Device View" tab to the devices page.

Now the bigger issue is that i am not very good at css, and i couldnt get a working "template" yet for this. If anybody is better at this, feel free to help :D

peterbaumert avatar Jun 07 '23 16:06 peterbaumert

Hi,

Thanks for the plugin was looking for this as i also created a issue for it back then https://github.com/netbox-community/netbox/issues/11931 , to me its almost the same as you are creating.

Wonder if you could add something like this? As we use colorcode for switches to let people see if it is a interconnect or accesspoint position.

PVM-NL avatar Jun 12 '23 06:06 PVM-NL

Hi,

Thanks for the plugin was looking for this as i also created a issue for it back then https://github.com/netbox-community/netbox/issues/11931 , to me its almost the same as you are creating.

Wonder if you could add something like this?

As we use colorcode for switches to let people see if it is a interconnect or accesspoint position.

Hey, I am currently in vacation till end of next week. But when i am back i will look into it. But i think this should be possible. Either with tags or maybe the cable color ( if you use this ). Or something completly different 😂

peterbaumert avatar Jun 14 '23 04:06 peterbaumert

Hi,

Thanks for the plugin was looking for this as i also created a issue for it back then netbox-community/netbox#11931 , to me its almost the same as you are creating.

Wonder if you could add something like this? As we use colorcode for switches to let people see if it is a interconnect or accesspoint position.

You mean like this e.g.

image

peterbaumert avatar Jun 27 '23 10:06 peterbaumert

Hi, Thanks for the plugin was looking for this as i also created a issue for it back then netbox-community/netbox#11931 , to me its almost the same as you are creating. Wonder if you could add something like this? As we use colorcode for switches to let people see if it is a interconnect or accesspoint position.

You mean like this e.g.

image

Awesome that almost the same yes, does this use the device roles for it? The legenda underneath with what the colors are could help in fast overview but thats extra.

PVM-NL avatar Jun 27 '23 11:06 PVM-NL

^^ that is really cool. Would it be possible to add a hover that reveals the connection?

opensourcefan avatar Jun 28 '23 02:06 opensourcefan

Hi, Thanks for the plugin was looking for this as i also created a issue for it back then netbox-community/netbox#11931 , to me its almost the same as you are creating. Wonder if you could add something like this? As we use colorcode for switches to let people see if it is a interconnect or accesspoint position.

You mean like this e.g. image

Awesome that almost the same yes, does this use the device roles for it? The legenda underneath with what the colors are could help in fast overview but thats extra.

Currently it uses the colors of the connected cables as configured.

^^ that is really cool. Would it be possible to add a hover that reveals the connection?

It is already, if you scroll little up there is a screenshot

peterbaumert avatar Jun 28 '23 08:06 peterbaumert