IMA_SetSlpDiscovery(3ima) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

IMA_SetSlpDiscovery(3ima)

IMA_SetSlpDiscovery(3IMA)    iSCSI Management API    IMA_SetSlpDiscovery(3IMA)

NAME
       IMA_SetSlpDiscovery  -  Enables  or disables SLP target discovery for a
       PHBA, LHBA, or network portal

SYNOPSIS
       cc [ flag... ] file... -lima [ library... ]
       #include <ima.h>

       IMA_STATUS IMA_SetSlpDiscovery(
            /* in */    IMA_OID oid,
            /* in */    IMA_BOOL enableSlpDiscovery
       );

PARAMETERS
       phbaOid               The object ID of the physical  host  bus  adapter
                             (PHBA),  logical host bus adapter (LHBA), or net‐
                             work portal whose SLP target  discovery  property
                             is being set.


       enableSlpDiscovery    Set  to the value, IMA_TRUE if SLP target discov‐
                             ery is being enabled for the  specified  PHBA  or
                             LHBA.

                             Set to the value, IMA_FALSE if SLP target discov‐
                             ery  is  being disabled for the specified PHBA or
                             LHBA.



DESCRIPTION
       The IMA_SetSlpDiscovery() API enables or disables SLP target  discovery
       for a PHBA, LHBA, or network portal.

RETURN VALUES
       IMA_STATUS_REBOOT_NECESSARY

           Returned  if a reboot is necessary before this change will take ef‐
           fect.


       IMA_ERROR_NOT_SUPPORTED

           Returned if enabling or disabling SLP target discovery is not  sup‐
           ported by the specified PHBA, LHBA, or network portal.


       IMA_ERROR_INVALID_PARAMETER

           Returned  if the enableSlpDiscovery argument has a value other than
           the value, IMA_TRUE and the value, IMA_FALSE.


       IMA_ERROR_INVALID_OBJECT_TYPE

           Returned if the oid argument does not specify a valid object type.


       IMA_ERROR_INCORRECT_OBJECT_TYPE

           Returned if the oid argument does not specify a PHBA, LHBA, or net‐
           work portal object.


       IMA_ERROR_OBJECT_NOT_FOUND

           Returned if the oid argument does not specify a PHBA, LHBA, or net‐
           work portal that is currently known to the system.


       IMA_ERROR_LAST_PRIMARY_DISCOVERY_METHOD

           Returned if the enableSlpDiscovery argument is set  to  the  value,
           IMA_FALSE,  and  SLP target discovery is the last primary discovery
           method for the PHBA, LHBA, or network portal. This means  both  SNS
           target  discovery and static target discovery properties are either
           disabled or not supported.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/library/storage/snia-ima _ Interface
       StabilityVolatile _ MT-LevelSafe


SEE ALSO
       libima(3LIB),      attributes(7),     IMA_GetDiscoveryProperties(3IMA),
       IMA_SetIsnsDiscovery(3IMA), IMA_SetStaticDiscovery(3IMA),  IMA_SetSend‐
       TargetsDiscovery(3IMA)

Oracle Solaris 11.4              30 July 2016        IMA_SetSlpDiscovery(3IMA)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3