APIs in Category: portset | Cluster-Mode API version 1.21

portset-get-iter | Port sets are associated with igroups. If an igroup is not associated with a port set then an initiator that belongs to that igroup can see its target luns on all ports. If a port set is bound to an igroup then the initiator that belongs to that igroup can only see its target luns on the ports that belong to the port set.

NetApp Manage ONTAP

portset-get-iter | [top]

> Iterate over a list of portset objects.

> Input Name | Range | Type | Description
> desired-attributes |  | portset-info optional | Specify the attributes that should be returned. If not present, all attributes for which information is available will be returned. If present, only the desired attributes for which information is available will be returned.
> max-records | [1..2^32-1] | integer optional | The maximum number of records to return in this call. Default: 20
> query |  | portset-info optional | A query that specifies which objects to return. A query could be specified on any number of attributes in the portset object. All portset objects matching this query up to 'max-records' will be returned.
> tag |  | string optional | Specify the tag from the last call. It is usually not specified for the first call. For subsequent calls, copy values from the 'next-tag' obtained from the previous call.
> Output Name | Range | Type | Description
> attributes-list |  | portset-info[] optional | The list of attributes of portset objects.
> next-tag |  | string optional | Tag for the next call. Not present when there are no more portset objects to return.
> num-records | [0..2^32-1] | integer | The number of records returned in this call.

> Errno | Description
> EINTERNALERROR |  |

Element definition: portset-info | [top]

> Information about a port set.

> Name | Range | Type | Description
> initiator-group-info |  | initiator-group-name[] optional | Information about the initiator group(s) that are bound to the portset.
> portset-name |  | string | Name of this port set.
> portset-port-info |  | portset-port-name[] optional | Information about the ports belonging to the set.
> portset-port-total | [0..1024] | integer | Total number of ports in the port set.
> portset-type |  | string | Possible values: "fcp", "iscsi", "mixed".
> vserver |  | string | Vserver containing this portset.

Element definition: initiator-group-name | [top]

> The name of an initiator group

> [none]

Element definition: portset-port-name | [top]

> String representing a member of a portset. In Data ONTAP 7-Mode, the port name is of the format "filer:slotletter" or "slotletter". In Data ONTAP Cluster-Mode, the port name is the name of an FCP data lif or iSCSI target portal group.

> [none]