Remote Procedure Calls (RPC)

Parameters

pszCMMHost [in] IP Address or DNS hostname of CMM.

nAuthCode[in] Authentication code returned by GetAuthCapability().

uCmdCode[in] The command to be executed (CMD_GET or CMD _SET as defined in cli_client.h).

pszLocation[in] The location that contains the data item that uCmdCode acts upon, such as system, CMM, or blade1.

pszTarget[in] The target that contains the attribute that uCmdCode acts upon, such as the sensor name as listed in the Sensor Data Record (SDR). When not applicable, use "NA” (such as when pszDataItem is an attribute of the pszLocation rather than pszTarget.

pszDataItem[in] The attribute that uCmdCode acts upon, either an attribute of pszLocation or pszTarget.

pszSetData[in] The new value to set. When not applicable, use "NA”.

ppvbuffer[out] A pointer to the buffer containing the returned data.

uReturnType[out] The type of data that ppvbuffer points to (see the defines in cli_client.h).

The value definitions of the return codes may be found in Table 80, “Error and Return Codes for the RPC Interface” on page 177.

Once the application has authenticated, it may proceed to get and set CMM parameters by calling ChassisManagementApi(). For each call to ChassisManagementApi(), the calling application must pass in the authentication code returned from GetAuthCapability(). The get and set commands available through ChassisManagementApi() are the same as those available on the command-line interface with cmmget and cmmset.

Note: SEL information is currently not available through the RPC interface.

176MPCMM0001 Chassis Management Module Software Technical Product Specification

Page 176
Image 176
Intel MPCMM0001 manual Remote Procedure Calls RPC