X hits on this document

PDF document

February 10, 2006 - page 109 / 238

502 views

0 shares

0 downloads

0 comments

109 / 238

44

IO MODULE

?

45

PROCESSOR IO MODULE

?

46

MGMT CONTROLLER

The firmware running on an MC.

void i t e r a t e _ e n t i t i e s ( i p m i _ d o m a i n _ t * d o m a i n , m y _ d a t a _ t * m y _ d a { int rv; t a ) r v = i p m i _ d o m a i n _ i t e r a t e _ e n t i t i e s ( d o m a i n , h a n d l e _ e n t i t y , m y _ d if (rv) a t a ) ; h a n d l e _ e r r o r ( ) ;

97

FIRMWARE

static void h a n d l e _ e n t i t y ( i p m i _ d o m a i n _ t * d o m a i n , i p m i _ e n t i t y _ t * e n t i t y , v o i d * c b _ d a { t a )

}

my_data_t *my_data = cb_data; /* Process the entity here */

7.1. DISCOVERING ENTITIES

In OpenIPMI, the entities in a system are part of the domain. As OpenIPMI scans SDRs it finds, it will create the entities referenced in those SDRs. The user can discover the entities in a domain in two ways: iterating or registering callbacks.

Iterating the entities in a domain simply involves calling the iterator function with a callback function:

A generic grouping of entities if no physical thing groups them but they need to be groups. A communication device used for remote management.

The environment outside the chassis. For instance, a temperature sensor outside the chassis that moni- tored external temperature would use this. Different instances may be used to specify different regions out- side the box. A battery A single-board computer, generally a board that has one or more processors, memory, etc. that plugs into a backplane. A network switch that plugs into a system to provide connectivity between independent processors in a sys- tem. ?

7.1

Discovering Entities

40

BATTERY

41

PROCESSING BLADE

42

CONNECTIVITY SWITCH

43

PROCESSOR MEMORY MODULE

37

GROUP

38

39

REMOTE MGMT COMM DEVICE EXTERNAL ENVIRONMENT

Document info
Document views502
Page views502
Page last viewedWed Nov 09 21:18:56 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments