fani

The purpose of this module is to implement platform properties of the Fan OID.

There are only two functions which you must implement:

onlp_fani_hdr_get()

This returns the oid header for the given fan oid.

In the event that a fan or fan tray has a software visible child oid (like an LED) then those children must be populated in the coid table.

onlp_fani_info_get()

This returns the full information structure for the fan. This includes the capability flags and current state of the variables corresponding to those capabilities (rpm, percentage, etc).

Fani Set Functions

If the SET capability flags are set by onlp_fani_info_get() then the onlp_fani_*_set functions should be available and functional. They will not be called unless the capabilities are reported.

Fani Documentation


Return to APIs