Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InterfaceDiagnostics ¶
type InterfaceDiagnostics struct { Name string LaserBiasCurrent float64 LaserOutputPower float64 LaserOutputPowerDbm float64 ModuleTemperature float64 LaserRxOpticalPower float64 LaserRxOpticalPowerDbm float64 ModuleVoltage float64 RxSignalAvgOpticalPower float64 RxSignalAvgOpticalPowerDbm float64 }
type InterfaceDiagnosticsRpc ¶
type InterfaceDiagnosticsRpc struct { Information struct { Diagnostics []PhyDiagInterface `xml:"physical-interface"` } `xml:"interface-information"` }
type PhyDiagInterface ¶
type PhyDiagInterface struct { Name string `xml:"name"` Diagnostics struct { LaserBiasCurrent float64 `xml:"laser-bias-current"` LaserOutputPower float64 `xml:"laser-output-power"` LaserOutputPowerDbm string `xml:"laser-output-power-dbm"` ModuleTemperature struct { Value float64 `xml:"celsius,attr"` } `xml:"module-temperature"` ModuleVoltage float64 `xml:"module-voltage,omitempty"` RxSignalAvgOpticalPower float64 `xml:"rx-signal-avg-optical-power,omitempty"` RxSignalAvgOpticalPowerDbm string `xml:"rx-signal-avg-optical-power-dbm,omitempty"` LaserRxOpticalPower float64 `xml:"laser-rx-optical-power,omitempty"` LaserRxOpticalPowerDbm string `xml:"laser-rx-optical-power-dbm,omitempty"` NA string `xml:"optic-diagnostics-not-available"` } `xml:"optics-diagnostics,omitempty"` }
Click to show internal directories.
Click to hide internal directories.