add udm temp sensors
This commit is contained in:
parent
12eccf511b
commit
115bb5d7f6
|
|
@ -69,8 +69,12 @@ type UDM struct {
|
||||||
MaxMirrorSessions FlexInt `json:"max_mirror_sessions"`
|
MaxMirrorSessions FlexInt `json:"max_mirror_sessions"`
|
||||||
MaxAggregateSessions FlexInt `json:"max_aggregate_sessions"`
|
MaxAggregateSessions FlexInt `json:"max_aggregate_sessions"`
|
||||||
} `json:"switch_caps"`
|
} `json:"switch_caps"`
|
||||||
HasFan FlexBool `json:"has_fan"`
|
HasFan FlexBool `json:"has_fan"`
|
||||||
HasTemperature FlexBool `json:"has_temperature"`
|
Temperatures []struct {
|
||||||
|
Name string `json:"name"`
|
||||||
|
Type string `json:"type"`
|
||||||
|
Value float64 `json:"value"`
|
||||||
|
} `json:"temperatures"`
|
||||||
RulesetInterfaces interface{} `json:"ruleset_interfaces"`
|
RulesetInterfaces interface{} `json:"ruleset_interfaces"`
|
||||||
/* struct {
|
/* struct {
|
||||||
Br0 string `json:"br0"`
|
Br0 string `json:"br0"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue