34 #ifndef __ONLP_CHASSIS_H__    35 #define __ONLP_CHASSIS_H__    38 #include <onlp/onlp.h>    39 #include <onlplib/onie.h>    40 #include <onlplib/pi.h> onlp Configuration Header 
int onlp_chassis_info_to_json(onlp_chassis_info_t *info, cJSON **cj, uint32_t flags)
Convert a chassis info structure to JSON. 
onlp_oid_hdr_t hdr
Definition: chassis.h:49
int onlp_chassis_hdr_get(onlp_oid_t oid, onlp_oid_hdr_t *hdr)
Get the Chassis Header structure. 
int onlp_chassis_info_to_user_json(onlp_chassis_info_t *info, cJSON **cj, uint32_t flags)
Convert a chassis info structure to user JSON. 
uint32_t onlp_oid_t
Definition: oids.h:52
int onlp_chassis_debug_get_json(cJSON **rv)
Construct the Chassis debug JSON object. 
int onlp_chassis_hw_init(uint32_t flags)
Initialize the chassis. 
int onlp_chassis_sw_denit(void)
Deinitialize the chassis software module. 
int onlp_chassis_environment_to_json(cJSON **cjp, uint32_t flags)
Get the user or full environmental json data. 
int onlp_chassis_info_from_json(cJSON *cj, onlp_chassis_info_t *info)
Convert a JSON object to a chassis info structure. 
Chassis Information Structure. 
Definition: chassis.h:47
int onlp_chassis_environment_show(aim_pvs_t *pvs, uint32_t flags)
Show the environmental data. 
int onlp_chassis_sw_init(void)
Initialize the chassis software module. 
int onlp_chassis_debug_show(aim_pvs_t *pvs)
Show the Chassis debug information. `*. 
int onlp_chassis_info_get(onlp_oid_t oid, onlp_chassis_info_t *info)
Get the chassis info structure. 
struct onlp_chassis_info_s onlp_chassis_info_t
Chassis Information Structure.