1MP_SetPluginLoadBaCloamnmcoenTyMpuel(t3iMpPaAtPhI)ManagementMPL_iSbertaPrlyugFiunnLcotaidoBnaslanceType(3MPAPI)
2
3
4

NAME

6       MP_SetPluginLoadBalanceType  - set the plugin default load balance pol‐
7       icy
8

SYNOPSIS

10       cc [ flag... ] file... -lMPAPI [ library... ]
11       #include <mpapi.h>
12
13       MP_STATUS MP_SetPluginLoadBalanceType(MP_OID oid,
14            MP_LOAD_BALANCE_TYPE loadBalance);
15
16

PARAMETERS

18       oid            The object ID of the plugin.
19
20
21       loadBalance    The desired default load balance policy for  the  speci‐
22                      fied plugin.
23
24

DESCRIPTION

26       The  MP_SetPluginLoadBalanceType()  function sets the default load bal‐
27       ance policy for the plugin. The value must correspond  to  one  of  the
28       supported  values  in  MP_PLUGIN_PROPERTIES.SupportedPluginLoadBalance‐
29       Types.
30

RETURN VALUES

32       MP_STATUS_INVALID_OBJECT_TYPE
33
34           The oid does not specify any valid object type. This is most likely
35           to happen if an uninitialized object ID is passed to the API.
36
37
38       MP_STATUS_INVALID_PARAMETER
39
40           The  loadBalance  is  invalid  or when the oid has  a type subfield
41           other than MP_OBJECT_TYPE_PLUGIN.
42
43
44       MP_STATUS_OBJECT_NOT_FOUND
45
46           The oid ownerID or sequence number is invalid.
47
48
49       MP_STATUS_SUCCESS
50
51           The operation is successful.
52
53
54       MP_STATUS_FAILED
55
56           The specified loadBalance type cannot be handled by the plugin.
57
58
59       MP_STATUS_UNSUPPORTED
60
61           The implementation does not support the API.
62
63

ATTRIBUTES

65       See attributes(5) for descriptions of the following attributes:
66
67
68
69
70       ┌─────────────────────────────┬─────────────────────────────┐
71       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
72       ├─────────────────────────────┼─────────────────────────────┤
73       │Interface Stability          │Standard: ANSI  INCITS  412  │
74       │                             │Multipath Management API     │
75       ├─────────────────────────────┼─────────────────────────────┤
76       │MT-Level                     │Safe                         │
77       └─────────────────────────────┴─────────────────────────────┘
78

SEE ALSO

80       libMPAPI(3LIB), attributes(5)
81
82
83       Multipath Management API Version 1.0
84
85
86
87SunOS 5.11                        15 Feb 200M6P_SetPluginLoadBalanceType(3MPAPI)
Impressum