add udm temp sensors

This commit is contained in:
davidnewhall2 2020-06-13 20:14:31 -07:00
parent 12eccf511b
commit 115bb5d7f6
1 changed files with 6 additions and 2 deletions

View File

@ -69,8 +69,12 @@ type UDM struct {
MaxMirrorSessions FlexInt `json:"max_mirror_sessions"`
MaxAggregateSessions FlexInt `json:"max_aggregate_sessions"`
} `json:"switch_caps"`
HasFan FlexBool `json:"has_fan"`
HasTemperature FlexBool `json:"has_temperature"`
HasFan FlexBool `json:"has_fan"`
Temperatures []struct {
Name string `json:"name"`
Type string `json:"type"`
Value float64 `json:"value"`
} `json:"temperatures"`
RulesetInterfaces interface{} `json:"ruleset_interfaces"`
/* struct {
Br0 string `json:"br0"`