Physically detects AG and CG boards.
DWORD oamDetectBoards ( CTAHD ctahd )
|
Argument |
Description |
|
ctahd |
[in] Context handle. |
|
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.
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... |
|---|---|
|
Generated board name | |
|
Board product type | |
|
PCI bus location | |
|
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.