Open PieterL75 opened 11 months ago
Will try this myself today and update you later.
Same issue, Interface names are GigabitEthernet1/0/x and yet adding them, they do not display or display incorrectly.
sorry my english - google translate. plugin installed on Netbox v3.6.5 Maybe I'm doing something wrong? It doesn't display correctly:
/* AN-S10P8-120 */
.deviceview.area {
grid-template-areas:
"x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x"
"y y y y y y y y y y y y y y y y y y y Port1 Port2 Port3 Port4 Port5 Port6 Port7 Port8 s0 Port9-Uplink Port10-Uplink z z";
/* DGS-1510-52X */
.deviceview.area {
grid-auto-rows: auto;
grid-auto-columns: auto;
grid-template-areas:
"Eth1/0/1 Eth1/0/3 Eth1/0/5 Eth1/0/7 Eth1/0/9 Eth1/0/11 Eth1/0/13 Eth1/0/15 s0 Eth1/0/17 Eth1/0/19 Eth1/0/21 Eth1/0/23 Eth1/0/25 Eth1/0/27 Eth1/0/29 Eth1/0/31 s0 Eth1/0/33 Eth1/0/35 s0 Eth1/0/37 Eth1/0/39 Eth1/0/41 Eth1/0/43 Eth1/0/45 Eth1/0/47 s0 Eth1/0/49 Eth1/0/51"
"Eth1/0/2 Eth1/0/4 Eth1/0/6 Eth1/0/8 Eth1/0/10 Eth1/0/12 Eth1/0/14 Eth1/0/16 s0 Eth1/0/18 Eth1/0/20 Eth1/0/22 Eth1/0/24 Eth1/0/26 Eth1/0/28 Eth1/0/30 Eth1/0/32 s0 Eth1/0/34 Eth1/0/36 s0 Eth1/0/38 Eth1/0/40 Eth1/0/42 Eth1/0/44 Eth1/0/46 Eth1/0/48 s0 Eth1/0/50 Eth1/0/52";
}
/* DGS-1510-28X */
.deviceview.area {
grid-template-areas:
"x x x x x x x Eth1/0/1 Eth1/0/3 Eth1/0/5 Eth1/0/7 s0 Eth1/0/9 Eth1/0/11 Eth1/0/13 Eth1/0/15 s1 Eth1/0/17 Eth1/0/19 Eth1/0/21 Eth1/0/23 z z z z z z z z z z z"
"y y y y y y y Eth1/0/2 Eth1/0/4 Eth1/0/6 Eth1/0/8 s0 Eth1/0/10 Eth1/0/12 Eth1/0/14 Eth1/0/16 s1 Eth1/0/18 Eth1/0/20 Eth1/0/22 Eth1/0/24 s2 Eth1/0/25 Eth1/0/26 Eth1/0/27 Eth1/0/28 z z z z z z";
}
.deviceview.area.dFront {
background: #000;
grid-auto-rows: auto;
grid-auto-columns: auto;
grid-template-areas:
"port-1 port-2 port-3 port-4 port-5 port-6 s0 port-7 port-8 port-9 port-10 port-11 port-12 s1 port-13 port-14 port-15 port-16 port-17 port-18 s2 port-19 port-20 port-21 port-22 port-23 port-24"
}
.deviceview.area.dRear {
background: #000;
grid-auto-rows: auto;
grid-auto-columns: auto; grid-template-areas:
"port-1 port-2 port-3 port-4 port-5 port-6 s0 port-7 port-8 port-9 port-10 port-11 port-12 s1 port-13 port-14 port-15 port-16 port-17 port-18 s2 port-19 port-20 port-21 port-22 port-23 port-24"
}
I have devices that have these portnames (Arista DCS-7050SX3-48YC8-R)
But this template does not seems to work:
I also tried
but all I get is this :![image](https://github.com/peterbaumert/netbox-device-view/assets/74899468/f08636f4-d168-4407-86af-391a120af7e6)
what am I doing wrong ? I'm at v0.1.4 of the plugin