This commit is contained in:
@@ -359,6 +359,26 @@ type ProcessorUnit struct {
|
||||
Voltage string `xml:"voltage,attr,omitempty"`
|
||||
}
|
||||
|
||||
// AdaptorVnicStats is a managed object representing statistics for a network adaptor
|
||||
// Added by Nathan. Incomplete representation of all data available
|
||||
type AdaptorVnicStats struct {
|
||||
XMLName xml.Name `xml:"adaptorVnicStats"`
|
||||
Dn string `xml:"dn,attr,omitempty"`
|
||||
Rn string `xml:"rn,attr,omitempty"`
|
||||
BytesRx uint64 `xml:"bytesRx,attr,omitempty"`
|
||||
BytesRxDelta uint64 `xml:"bytesRxDelta,attr,omitempty"`
|
||||
BytesTx uint64 `xml:"bytesTx,attr,omitempty"`
|
||||
BytesTxDelta uint64 `xml:"bytesTxDelta,attr,omitempty"`
|
||||
PacketsRx uint64 `xml:"packetsRx,attr,omitempty"`
|
||||
PacketsRxDelta uint64 `xml:"packetsRxDelta,attr,omitempty"`
|
||||
PacketsTx uint64 `xml:"packetsTx,attr,omitempty"`
|
||||
PacketsTxDelta uint64 `xml:"packetsTxDelta,attr,omitempty"`
|
||||
DroppedRx uint64 `xml:"droppedRx,attr,omitempty"`
|
||||
DroppedTx uint64 `xml:"droppedTx,attr,omitempty"`
|
||||
ErrorsRx uint64 `xml:"errorsRx,attr,omitempty"`
|
||||
ErrorsTx uint64 `xml:"errorsTx,attr,omitempty"`
|
||||
}
|
||||
|
||||
// AdaptorUnit is a managed object representing a network adaptor unit such as a
|
||||
// card that has NIC and/or HBA, SCSI functionality.
|
||||
type AdaptorUnit struct {
|
||||
|
Reference in New Issue
Block a user