Emerson 4620 manual Example Applications, Example Application Source Files

Page 39

Example Applications

A

A.1 Overview

The HPI-B client base package contains precompiled example applications. They are invoked via the command line and can be configured via command line parameters. Each example application illustrates a certain feature of HPI-B and makes use of the respective HPI-B function calls.

After extracting the HPI-B client RPMs, the example applications can be found in the following directory: /opt/motorola/bin. You can obtain information about the command usage by invoking the application from the command line and providing -has parameter.

The HPI-B example programs are provided "as is" without any warranty of any kind, either express or implied. The entire risk as to the quality, operability and execution of the programs is with you. Should the programs prove to be faulty or incorrect, you assume the cost of all necessary servicing, repair or correction. In no event Emerson will be liable to you for any damages, any lost profits or other special, incidental or consequential damages arising out of the use or inability to use the programs.

Emerson reserves the right to revise or remove the programs in subsequent releases without obligation of Emerson to notify any person of such revision or changes.

A.2 Example Application Source Files

In order to ease application development and help you to get familiar with the HPI-B API usage, Emerson provides the source files of the example applications and an example make file. These files are available as different RPM files, depending on the operating system and CPU architecture. The naming scheme used for the RPMs is: bbs-hpib-clientsrc-<version>-1.<CPUarchitecture>-<distribution>-<os>.rpm

After installing the RPMs, the source files and the example make file are located in the following directory: /opt/motorola/src/bbs-hpib/clients.

A.3 List of Supported Example Applications

The following is an automatically generated output (based on the files contained in /opt/motorola/bin and the output obtained via the -h parameter) that describes all HPI example applications which were available when this manual was written and the usage of these applications. Note that in the meantime further example applications may have been added or the functionality of existing HPI example applications may have been changed slightly. The current usage and fucntionality can always be obtained by invoking the example application with the -h parameter.

System Management Interface Based on HPI-B (Centellis 4620) User’s Guide (6806800D85A)

39

Image 39
Contents System Management Interface Based on HPI-B Centellis Contact Address Contents Related Documentation ContentsDefinition of Domain Management Resource List of TablesPage List of Figures Page Overview of Contents About this ManualAbbreviations Bold ConventionsAbout this Manual Abbreviation Description Notation DescriptionSummary of Changes Comments and SuggestionsAbout this Manual Notation Description Page Architecture System Management Interfaces OverviewIntroduction Standard CompliancesSystem Management Interfaces Overview HPI Library HPI LibraryHigh Availability HPI DaemonHPI Daemon Page RPM Files for HPI-B Clients and Daemons Software Installation and ConfigurationInstalling and Configuring the HPI-B Daemon OverviewDirectory Description Installing an HPI-B DaemonConfiguring an HPI Daemon Overview of HPI-B Directories and Files on ATCA-F120Setting Up HPI Clients Installing HPI ClientsOverview of HPI-B Directories and Files on Node Blades Entry Description Configuring HPI ClientsMultishelf Library Configuration File HPI Daemon Entries IP Addresses/Ports of HPI Daemons in a Centellis 4620 ShelfDevelopment RPMs Directory Structure Directory ContentDeveloping Applications Building the ApplicationPage Using HPI-B Limitations with Respect to HPI-B Base SpecificationLimitations Overview Working with the Multishelf LibraryAccessing HPI Domains Using HPI-B Accessing HPI DomainsHow Domains and Shelves are Represented Using HPI-B How Domains and Shelves are RepresentedHow Domains and Shelves are Represented Using HPI-B SaHpiRdrT Value Definition of Domain Management ResourceDomain Management Control RDR SaHpiRptEntryT ValueDomain Management Control Domain Management Control StateShelf Management Resource Connection State RDR Using HPI-BHow Domains and Shelves are RepresentedDomain Connection Sensor Events Discovering Shelves and DomainsDomain Connection Sensor Domain Connection Sensor ReadingUsing HPI-B Adding and Removing Shelves and Domains Adding and Removing Shelves and DomainsParameter Value Emerson Extensions Emerson Extensions Using HPI-BUsing HPI-B HPI Controls for Domain and Shelf Management Ipmi System Boot Options Support10 Boot Option RDR 11 Boot Option ControlSet operations 12 Boot Option StateIpmi System Boot Options SupportUsing HPI-B Get operations14 Post Type HPI Control Sate Values Post Type ControlHPI Logging Support 13 Post Type HPI Control RDRHPI Logging Support Using HPI-B 15 Log RDR16 Log Control 17 Log Control State Using HPI-BHPI Logging SupportExample Applications Example Application Source FilesList of Supported Example Applications Example Applications List of Supported Example Applications List of Supported Example ApplicationsExample Applications Display everything #------------------------------hpifumi #------------------------------ hpihotswap String Example Applications List of Supported Example Applications Option #------------------------------ hpishelf Value Display sensors Related Documentation Emerson Network Power Embedded Computing DocumentsRelated Specifications Table B-2 Related Specifications