38 #ifndef OPENAPI_BOXS_H_INCLUDED
39 #define OPENAPI_BOXS_H_INCLUDED
46 OPEN_ITEMSTATE_NONE = 0,
47 OPEN_ITEMSTATE_NOT_PRESENT = 1,
48 OPEN_ITEMSTATE_OPERATIONAL = 2,
49 OPEN_ITEMSTATE_FAILED = 3,
50 OPEN_ITEMSTATE_POWERING = 4,
51 OPEN_ITEMSTATE_NOPOWER = 5,
52 OPEN_ITEMSTATE_NOT_POWERING = 6,
53 OPEN_ITEMSTATE_INCOMPATIBLE = 7,
54 OPEN_ITEMSTATE_WARNING = 8,
55 OPEN_ITEMSTATE_PRESENT = 9
61 OPEN_TEMPSENSOR_STATE_NONE = 0,
62 OPEN_TEMPSENSOR_STATE_LOW = 1,
63 OPEN_TEMPSENSOR_STATE_NORMAL = 2,
64 OPEN_TEMPSENSOR_STATE_WARNING = 3,
65 OPEN_TEMPSENSOR_STATE_CRITICAL = 4,
66 OPEN_TEMPSENSOR_STATE_SHUTDOWN = 5,
67 OPEN_TEMPSENSOR_STATE_NOTPRESENT = 6,
68 OPEN_TEMPSENSOR_STATE_NOTOPERATIONAL = 7
76 OPEN_TYPE_REMOVABLE = 2
102 OPEN_LED_STATUS_OFF = 0,
103 OPEN_LED_STATUS_ON = 1
106 #define OPEN_BXS_STR_BUFFER_SIZE 128
131 open_error_t openapiFiberPortsOpticsFaultStatusGet(openapiClientHandle_t *client_handle, uint32_t ifNum,
132 uint32_t *localFaultStatus, uint32_t *remoteFaultStatus);
162 uint32_t *temperature, uint32_t *voltage, uint32_t *current,
163 uint64_t *powerIn, uint64_t *powerOut,
199 uint32_t *temperature, uint32_t *voltage, uint32_t *current,
241 uint32_t * genFanSpeed);
258 uint32_t * genFanDutyLevel);
293 uint32_t fanNum, uint32_t * fanSpeed);
350 uint32_t fanNum, uint32_t * fanDuty);
367 uint32_t * descripSize);
407 uint32_t * numPowSuplies);
425 client_handle, uint32_t psNo,
444 client_handle, uint32_t psNo,
462 uint32_t * descripSize);
540 uint32_t * numOfTempSemsors);
558 uint32_t * descripSize);
596 uint32_t sensorNum, uint32_t * temperature);
613 client_handle, uint32_t sensorNum,
635 uint32_t * maxTemperature);
754 uint32_t ifNum, uint32_t *linkLength50um);
772 uint32_t ifNum, uint32_t *linkLength62_5um);
791 uint32_t ifNum, uint32_t *nominalSigRate);
827 uint32_t *vendorNameSize);
842 uint32_t *serialNumberSize);
857 uint32_t *partNumberSize);
872 uint32_t *vendorRevSize);
887 uint32_t *complianceSize);
992 OPEN_LED_STATUS_t *val);
1011 OPEN_LED_CMD_t val);
1029 OPEN_LED_STATUS_t *val);