oamDetectBoards

Physically detects AG and CG boards.

Prototype

DWORD oamDetectBoards ( CTAHD ctahd )

Argument

Description

ctahd

[in] Context handle.


Return values

Return value

Description

SUCCESS

 

CTAERR_SVR_COMM

Natural Access Server is not running.

OAMERR_ACCESS_DENIED

Function is not supported by this plug-in.

OAMERR_SERVER_NOT_RUNNING

Supervisor is shut down.


Note: Other board-specific errors can also be received.

Details

oamDetectBoards searches the chassis for boards. When it finds a board, it adds an entry to the DetectedBoards[] array in the Supervisor managed object, and stores information about the board in subkeywords as shown in the following table:

This subkeyword...

Contains...

DetectedBoards[x].Name

Generated board name

DetectedBoards[x].Product

Board product type

DetectedBoards[x].Location.PCI.Bus

PCI bus location

DetectedBoards[x].Location.PCI.Slot

PCI slot location


The DetectedBoards[] array is empty until this function is called. You can retrieve the value of the DetectedBoards.Count keyword to indicate the number of boards in the DetectedBoards[] array.

For more information, refer to Detecting installed boards automatically.

See also

oamAddDetectedBoard