IMA_SetStaticDiscovery - Enables or disables static target discovery for a PHBA, LHBA, or network portal
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetStaticDiscovery( /* in */ IMA_OID oid, /* in */ IMA_BOOL enableStaticDiscovery );
The object ID of the physical host bus adapter (PHBA), logical host bus adapter (LHBA), or network portal whose static target discovery property is being set.
Set to the value, IMA_TRUE if static target discovery is being enabled for the specified PHBA or LHBA.
Set to the value, IMA_FALSE if static target discovery is being disabled.
The IMA_SetStaticDiscovery() API enables or disables static target discovery for a PHBA, LHBA, or network portal.
Returned if a reboot is necessary before this call will take effect.
Returned if enabling or disabling static discovery is not supported by the specified PHBA or LHBA.
Returned if the enableStaticDiscovery argument has a value other than the value, IMA_TRUE or the value, IMA_FALSE.
Returned if the oid argument does not specify a valid object type.
Returned if the oid argument does not specify a PHBA, LHBA, or network portal object.
Returned if the oid argument does not specify a PHBA, LHBA, or network portal known to the system.
Returned if the enableStaticDiscovery argument is set to the value, IMA_FALSE, and static target discovery is the last primary discovery method for a PHBA, LHBA, or network portal. This means that both iSNS target discovery and SLP target discovery are either disabled or not supported.
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetDiscoveryProperties(3IMA), IMA_SetIsnsDiscovery(3IMA), IMA_SetSlpDiscovery(3IMA), IMA_SetSendTargetsDiscovery(3IMA)