IMA_RemoveStaticDiscoveryTarget - Removes a target statically discovered by a PNP or LHBA
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_RemoveStaticDiscoveryTarget( /* in */ IMA_OID staticDiscoveryTargetOid );
The object ID of the static discovery target that is to no longer be discovered.
The IMA_RemoveStaticDiscoveryTarget() API removes a target statically discovered by a physical network port (PNP) or logical host bus adapter (LHBA) .
Returned if a reboot is necessary before the specified static discovery target is no longer discovered
Returned if the staticDiscoveryTargetOid argument does not specify a valid object type
Returned if the staticDiscoveryTargetOid argument does not specify a static discovery target object
Returned if the staticDiscoveryTargetOid argument does not specify a static discovery target known to the system
Returned if the staticDiscoveryTargetOid argument specifies an iSCSI target that currently has a logical unit (LU) exposed to the operating system
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_AddStaticDiscoveryTarget(3IMA), IMA_GetStaticDiscoveryTargetProperties(3IMA), IMA_GetDiscoveryProperties(3IMA), IMA_SetStaticDiscovery(3IMA)