mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2026-01-10 17:21:46 +00:00
1.2 KiB
1.2 KiB
chassisi
The purpose of this module is to implement platform properties of the Chassis OID.
There is only one function you must implement:
onlp_chassis_hdr_get()
This returns the chassis root oid hdr for the system.
You must mark the chassis oid status as both PRESENT and OPERATIONAL.
You must return all top-level chassis OID children in the coids table.
onlp_chassisi_info_get()
There are no fields currently defined in the onlp_chassis_info_t structure so it is currently equivalent to populating the OID header.
The current default implementation of onlp_chassisi_info_get() does this for you and there is no need to provide this function at this time.