Intel ZT 7102 manual RPC Usage Examples Sheet 3, 118

Models: ZT 7102

1 152
Download 152 pages 43.02 Kb
Page 118
Image 118

Intel® NetStructureTMZT 7102 Chassis Management Module

RPC

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

Example

ChassisManagementApi() [in]

ChassisManagementApi() [out] parameters

parameters

 

 

 

 

 

 

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

 

 

 

 

 

118

Technical Product Specification

Page 118
Image 118
Intel ZT 7102 manual RPC Usage Examples Sheet 3, 118