Intel ZT 7102 manual RPC Usage Examples Sheet 2, 117

Models: ZT 7102

1 152
Download 152 pages 43.02 Kb
Page 117
Image 117

Intel® NetStructureTMZT 7102 Chassis Management Module

RPC

Table 50. RPC Usage Examples (Sheet 2 of 3)

Example

ChassisManagementApi() [in]

ChassisManagementApi() [out] parameters

parameters

 

 

 

 

 

 

 

uReturnType: DATA_TYPE_INT

 

pszCMMHost: localhost

ppvbuffer: Integer value denoting health state

Get the

uCmdCode: CMD_GET

0 = OK

CMM’s overall

pszLocation: CMM

1 = Minor

health.

 

 

 

pszDataItem: health

2 = Major

 

 

3 = Critical

 

 

 

 

 

uReturnType: DATA_TYPE_INT

 

pszCMMHost: localhost

ppvbuffer: Integer value denoting health state

Get a blade’s

uCmdCode CMD_GET

0 = OK

overall health.

pszLocation: blade[1..n]

1 = Minor

 

pszDataItem: health

2 = Major

 

 

3 = Critical

 

 

 

Get the

pszCMMHost: localhost

uReturnType: DATA_TYPE_STRING

uCmdCode: CMD_GET

version of

ppvbuffer: A human-readable null-terminated

software on

pszLocation: CMM

version string.

the CMM.

pszDataItem: version

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

uCmdCode: CMD_SET

Power off one

ppvbuffer: not used

pszLocation: blade[1-19]

of the blades.

The return code from ChassisManagementApi()

pszDataItem: powerstate

 

 

indicates success or failure.

 

pszSetData: poweroff

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

uCmdCode: CMD_SET

Power on one

ppvbuffer: not used

pszLocation: blade[1-19]

of the blades.

The return code from ChassisManagementApi()

pszDataItem: powerstate

 

 

indicates success or failure.

 

pszSetData: poweron

 

 

 

 

 

 

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

 

 

 

 

 

 

Technical Product Specification

117

Page 117
Image 117
Intel ZT 7102 manual RPC Usage Examples Sheet 2, 117