fix(ui): учитывать ошибки устройств в сводке туннелей

This commit is contained in:
Denozordec committed 2026-10-03 23:51:16 +07:00
1 parent 9d3129372b
commit 55c9349677
10 files changed
+56 -33

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
import type {DashboardGreTunnel} from "@/lib/dashboard-overlays"
export const dashboardGre:DashboardGreTunnel={id:"g1",name:"GRE сохранён",serverId:"1",status:"down",localAddress:"192.0.2.1",remoteAddress:"192.0.2.2",localInnerIp:"10.0.0.1/30",remoteInnerIp:"10.0.0.2/30",poolId:"live",ipsec:null,mtu:1400,keepaliveInterval:10,keepaliveRetries:3,dscp:"inherit",clampTcpMss:true,allowFastPath:true,comment:"",enabled:true}
export const dashboardVxlan={id:"v1",name:"VXLAN fixture",serverId:"1",vni:1,port:4789,dstPort:4789,vtepIp:"192.0.2.1",remoteVteps:["192.0.2.2"],l2mtu:1400,arpProxy:false,macLearning:true,comment:"",enabled:true,status:"up"}
export const dashboardWg={id:"w1",rosId:"*1",name:"WG fixture",serverId:"1",serverName:"Узел",listenPort:51820,mtu:1420,peers:[],comment:"",enabled:true,status:"up"}