Intel ZT 7102 TV Video Accessories User Manual


 
Intel
®
NetStructure
TM
ZT 7102 Chassis Management Module
RPC
Technical Product Specification 103
20.0 RPC
In addition to the command-line interface, the CMM may be administered by custom remote
applications through an RPC.
RPC calls are useful for managing the CMM from:
A remote machine through the management network
Another blade in the same chassis as the CMM, through the chassis backplane network
An application running on the CMM itself
The RPC interface supports the same functionality as the command-line interface.
Note: System Event Log (SEL) information is currently not available through the RPC interface.
20.1 Setting Up the RPC Interface
Before you can use RPC calls in a custom application, you must download the following RPC
source code files from the Intel developer web site located at:
http://developer.intel.com/design/network/products/cbp/zt7102.htm
rcliapi.h
rcliapi_xdr.c
rcliapi_clnt.c
cli_client.c
cli_client.h
The first three files should be compiled and linked into the application under development. These
files implement the RPC calling subsystem for use in an application.
The file cli_client.c contains a small sample program for calling the CMM through RPC. These
files currently support Linux and VxWorks*. Future revisions may support Microsoft* Windows*.
The last file, cli_client.h, contains declarations and function prototypes necessary for interfacing
with the RPC calling subsystem. Include the file in a ‘#include’ statement in all application files
that make RPC calls.
20.2 Using the RPC Interface
The RPC interface may be used to manage the CMM whether the calling application is on a remote
network, on a blade in the same chassis as the CMM, or even running on the CMM itself.
The following two functions are defined by the RPC subsystem for calling the CMM through RPC:
GetAuthCapability()
ChassisManagementApi()