Remote Procedure Calls (RPC)

Table 85. RPC Usage Examples (Sheet 3 of 3)

 

 

 

 

 

 

Example

ChassisManagementApi()

ChassisManagementApi() [out] Parameters

 

[in] Parameters

 

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

 

uCmdCode: CMD_SET

 

Reset a

ppvbuffer: not used

 

pszLocation: blade[1-19]

 

blade.

The return code from ChassisManagementApi()

 

pszDataItem: powerstate

 

 

 

 

indicates success or failure.

 

 

pszSetData: reset

 

 

 

 

 

 

 

 

Determine

pszCMMHost: localhost

uReturnType: DATA_TYPE_STRING

 

uCmdCode: CMD_GET

 

what sensors

 

ppvbuffer: A list of sensor names as defined in the

 

are on blade

pszLocation: blade3

 

SDR.

 

3.

pszDataItem: ListTargets

 

 

 

 

 

 

 

 

 

 

Determine

pszCMMHost: localhost

uReturnType: DATA_TYPE_STRING

 

uCmdCode: CMD_GET

 

what may be

 

ppvbuffer: A list of commands to be used as data

 

queried or set

pszLocation: blade3

 

items.

 

on a blade.

pszDataItem: ListDataItems

 

 

 

 

 

 

 

 

 

 

Determine

pszCMMHost: localhost

 

 

uCmdCode: CMD_GET

uReturnType: DATA_TYPE_STRING

 

what may be

 

queried on the

pszLocation: blade4

ppvbuffer: A list of commands to be used as data

 

blade4 +3.3 V

pszTarget: +3.3SensorName

items.

 

sensor.

pszDataItem: ListDataItems

 

 

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

 

uCmdCode: CMD_SET

 

Enable the

ppvbuffer: not used

 

pszLocation: chassis

 

SNMP Traps.

The return code from ChassisManagementApi()

 

pszDataItem: SNMPEnable

 

 

 

 

indicates success or failure.

 

 

pszSetData: enable

 

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

 

uCmdCode: CMD_SET

 

Set the SNMP

ppvbuffer: not used

 

pszLocation: chassis

 

Target.

The return code from ChassisManagementApi()

 

pszDataItem: SNMPTrapAddress[1-5]

 

 

 

 

indicates success or failure.

 

 

pszSetData: 134.134.100.34

 

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

 

uCmdCode: CMD_SET

 

Set the SNMP

ppvbuffer: not used

 

pszLocation: chassis

 

Community.

The return code from ChassisManagementApi()

 

pszDataItem: SNMPCommunity

 

 

 

 

indicates success or failure.

 

 

pszSetData: public

 

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

 

uCmdCode: CMD_SET

 

Set the Telco

ppvbuffer: not used

 

pszLocation: CMM

 

Alarm on.

The return code from ChassisManagementApi()

 

pszDataItem: TelcoAlarm

 

 

 

 

indicates success or failure.

 

 

pszSetData: 1

 

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

Light Major

uCmdCode: CMD_SET

 

ppvbuffer: not used

 

 

 

LED on the

pszLocation: CMM

 

The return code from ChassisManagementApi()

 

CMM.

pszDataItem: MajorLED

 

 

indicates success or failure.

 

 

pszSetData: 1

 

 

 

 

 

 

 

MPCMM0001 Chassis Management Module Software Technical Product Specification

189

Page 189
Image 189
Intel MPCMM0001 manual RPC Usage Examples Sheet 3