MP_SETPATHWEIGHT(3MPAPI) | Common Multipath Management Library Functions | MP_SETPATHWEIGHT(3MPAPI) |
MP_SetPathWeight - set the weight of a path
cc [ flag... ] file... -lMPAPI [ library... ] #include <mpapi.h> MP_STATUS MP_SetPathWeight(MP_OID pathOid, MP_UINT32 weight);
pathOid
weight
The MP_SetPathWeight() function sets the weight to be assigned to a particular path.
MP_STATUS_INVALID_OBJECT_TYPE
MP_STATUS_OBJECT_NOT_FOUND
MP_STATUS_INVALID_PARAMETER
MP_STATUS_SUCCESS
MP_STATUS_FAILED
MP_STATUS_UNSUPPORTED
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard: ANSI INCITS 412 Multipath Management API |
MT-Level | Safe |
Multipath Management API Version 1.0
February 15, 2006 | OmniOS |