Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessChassisEnv ¶
func ProcessChassisEnv(ncReplies <-chan *netconf.RPCReply, errChan <-chan error) (<-chan *ChassisEnvReply, <-chan error)
Types ¶
type ChassisEnvReply ¶
type ChassisEnvReply struct {
XMLName xml.Name `xml:"environment-information,omitempty" json:"-"`
EnvItem []EnvItem `xml:"environment-item,omitempty" json:"environment-item,omitempty"`
}
func NewChassisEnvReply ¶
func NewChassisEnvReply(ncReply *netconf.RPCReply) (*ChassisEnvReply, error)
type ChassisZonesReply ¶
type ChassisZonesReply struct {
XMLName xml.Name `xml:"chassis-zones-information,omitempty" json:"-"`
Zones []Zone
}
func NewZonesResponse ¶
func NewZonesResponse(ncReply *string) (*ChassisZonesReply, error)
type ReplyWriter ¶
type Zone ¶
type Zone struct {
Name string `xml:"name,omitempty" json:"name,omitempty"`
DrivingFRUName string `xml:"driving-fru-name,omitempty" json:"driving-fru-name,omitempty"`
Temperature string `xml:"temperature,omitempty" json:"temperature,omitempty"`
ZoneStatus string `xml:"zone-status,omitempty" json:"zone-status,omitempty"`
FanMissingCnt int `xml:"fan-missing-cnt,omitempty" json:"fan-missing-cnt,omitempty"`
FanFailedCnt int `xml:"fan-failed-cnt,omitempty" json:"fan-failed-cnt,omitempty"`
FanDutyCycle int `xml:"fan-dutycycle,omitempty" json:"fan-dutycycle,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.