Solaris System Management Agent Developer's Guide

Description

Allocates an entry in the entPhysicalTable. The physidx parameter is the requested physical index. If physidx= 0, the function tries to use the first available index in the table. If physidx= 1 or greater, the function tries to use the specified index. If the specified index is in use, the function returns the first available index in the table. As a result, the returned index might not be the same as the requested physical index.

The memory that is associated with newPhysEntry can be freed. The function creates an internal copy of the data.

The entPhysicalEntry_t structure definition is shown in entPhysicalEntry_t Structure. Special cases for newPhysEntry values are handled as shown in the following table.

Object 

Value of newPhysEntry

Entity MIB module handling 

entPhysicalDescr

NULL 

reject 

entPhysicalVendorType

NULL 

{ 0, 0 }

entPhysicalName

NULL 

""

entPhysicalHardwareRev

NULL 

""

entPhysicalFirmwareRev

NULL 

""

entPhysicalSoftwareRev

NULL 

""

entPhysicalSerialNum

NULL 

""

entPhysicalMfgName

NULL 

""

entPhysicalModelName

NULL 

""

entPhysicalAlias

NULL 

""

entPhysicalAssetID

NULL 

""