APIs in Category: iscsi | API version 1.8

iscsi-adapter-config-down iscsi-adapter-config-up iscsi-adapter-initiators-list-info iscsi-adapter-list-info iscsi-adapter-reset-stats iscsi-adapter-stats-list-info iscsi-auth-generate-chap-password iscsi-connection-list-info iscsi-initiator-add-auth iscsi-initiator-auth-list-info iscsi-initiator-delete-auth iscsi-initiator-get-auth iscsi-initiator-get-default-auth iscsi-initiator-list-info iscsi-initiator-modify-chap-params iscsi-initiator-set-default-auth iscsi-interface-disable iscsi-interface-enable iscsi-interface-list-info iscsi-isns-config iscsi-isns-get-info iscsi-isns-start iscsi-isns-stop iscsi-isns-update iscsi-node-get-name iscsi-node-set-name iscsi-portal-list-info iscsi-reset-stats iscsi-service-start iscsi-service-status iscsi-service-stop iscsi-session-list-info iscsi-stats-list-info iscsi-target-alias-clear-alias iscsi-target-alias-get-alias iscsi-target-alias-set-alias iscsi-tpgroup-alua-set iscsi-tpgroup-create iscsi-tpgroup-destroy iscsi-tpgroup-interface-add iscsi-tpgroup-interface-delete iscsi-tpgroup-list-info

NetApp Manage ONTAP

iscsi-adapter-config-down | [top]

> Configures the specified adapter down. This API is obsolete beginning with ONTAP 7.1 and will always return the error EOPNOTSUPPORTED. There is no equivalent API to replace it.

> Input Name | Range | Type | Description
> iscsi-adapter |  | string | iscsi adapter.

> Errno | Description
> EOPNOTSUPPORTED |  |

> License
> iscsi

iscsi-adapter-config-up | [top]

> Configures the specified adapter up. This API is obsolete beginning with ONTAP 7.1 and will always return the error EOPNOTSUPPORTED. There is no equivalent API to replace it.

> Input Name | Range | Type | Description
> iscsi-adapter |  | string | iscsi adapter.

> Errno | Description
> EOPNOTSUPPORTED |  |

> License
> iscsi

iscsi-adapter-initiators-list-info | [top]

> Get the list of initiators currently connected to any of the portal groups associated with specified adapter. Information returned for each initiator includes the target portal group number to which the initiator is connected, as well as the iSCSI initiator nodename and ISID. If no adapter is specified, information is returned for all initiators connected through any adapter in the system. NOTE: Beginning with ONTAP 7.1 this API is only intended for use by legacy applications that are already coded to this API. New applications should use iscsi-portal-list-info to get the list of iSCSI portals. associated with this filer. Complete removal of this ZAPI may occur in any release after 7.1.

> Input Name | Range | Type | Description
> iscsi-adapter |  | string optional | Adapter to get initiator list for. If no adapter is specified, information is returned for all initiators connected through any iscsi adapter in the system.
> Output Name | Range | Type | Description
> iscsi-adapters |  | iscsi-adapter-initiators-info[] | A list of iscsi adapters containing list of initiators.

> Errno | Description
> EADAPTERNOTFOUND |  |
> EINTERNALERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-adapter-list-info | [top]

> Display the configuration information for iscsi adaptor(s), including the iSCSI portals associated with a virtual adapter. NOTE: Beginning with ONTAP 7.1 this API is only intended for use by legacy applications that are already coded to this API. New applications should use iscsi-portal-list-info to get the list of iSCSI portals. associated with this filer. Complete removal of this ZAPI may occur in any release after 7.1.

> Input Name | Range | Type | Description
> iscsi-adapter |  | string optional | Returns configuration information for adapter if specified. If not specified, then configuration information for all adapters are returned.
> Output Name | Range | Type | Description
> iscsi-config-adapters |  | iscsi-config-adapter-info[] | A list of iscsi adapter configuration information.

> Errno | Description
> EADAPTERNOTFOUND |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-adapter-reset-stats | [top]

> This API is obsolete beginning with ONTAP 7.1 and will always return the error EOPNOTSUPPORTED. For the equivalent functionality use the ZAPI iscsi-reset-stats

> Input Name | Range | Type | Description
> iscsi-adapter |  | string optional | Adapter to reset statistics for.

> Errno | Description
> EOPNOTSUPPORTED |  |

> License
> iscsi

iscsi-adapter-stats-list-info | [top]

> This API is obsolete beginning with ONTAP 7.1 and will always return the error EOPNOTSUPPORTED. For the equivalent functionality use the ZAPI iscsi-stats-list-info The fields returned by iscsi-stats-list-info are very slightly different from those previously returned by iscsi-adapter-stats-list-info

> Input Name | Range | Type | Description
> iscsi-adapter |  | string optional | Adapter to get statistics for.

> Errno | Description
> EOPNOTSUPPORTED |  |

> License
> iscsi

iscsi-auth-generate-chap-password | [top]

> Generate a 128 bit random password that can be used as a CHAP secret.

> Output Name | Range | Type | Description
> secret |  | string | A randomly generated 128 bit password.

> Errno | Description
> EISCSISECPROCESSINGERROR |  |

> License
> iscsi

iscsi-connection-list-info | [top]

> list iscsi connections on filer

> Output Name | Range | Type | Description
> iscsi-connection-list-entries |  | iscsi-connection-list-entry-info[] | List of connection

> Errno | Description
> EAPILICENSE |  |

> License
> iscsi

iscsi-initiator-add-auth | [top]

> Add initiator to the authentication list.

> Input Name | Range | Type | Description
> auth-type |  | string | Authentication type, possible values : CHAP, none, deny.
> initiator |  | string | Name of initiator. i.e. iqn.1987-06.com.initvendor1:appsrv.sn.2346.
> outbound-password |  | string optional encrypted | Outbound CHAP user password. Outbound authentication is optional. If Outbound authentication is not specified, then the initiator can only do inbound traffic.
> outbound-user-name |  | string optional | Outbound CHAP user name. Outbound authentication is optional. If Outbound authentication is not specified, then the initiator can only do inbound traffic.
> password |  | string optional encrypted | Inbound CHAP user password, required for auth-type equals to CHAP.
> user-name |  | string optional | Inbound CHAP user name, required for auth-type equals to CHAP.

> Errno | Description
> EISCSISECINVALIDINPUTERROR |  |
> EISCSISECPROCESSINGERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-initiator-auth-list-info | [top]

> Get authentication information for the specified initiator If no initiator is specified, get authentication infomation for all the known initiators. Password, if present is left out for security purposes.

> Input Name | Range | Type | Description
> initiator |  | string optional | Name of initiator. i.e. iqn.1987-06.com.initvendor1:appsrv.sn.2346. If initiator is not supplied, all initiators are returned.
> Output Name | Range | Type | Description
> iscsi-security-entries |  | iscsi-security-entry-info[] | List of authentication entries.

> Errno | Description
> EISCSISECINVALIDINPUTERROR |  |
> EISCSISECPROCESSINGERROR |  |
> EISCSISECINITNOTFOUNDERROR |  |

> License
> iscsi

iscsi-initiator-delete-auth | [top]

> Delete initiator from the authentication list

> Input Name | Range | Type | Description
> initiator |  | string | Name of initiator. i.e. iqn.1987-06.com.initvendor1:appsrv.sn.2346.

> Errno | Description
> EISCSISECINVALIDINPUTERROR |  |
> EISCSISECINITNOTFOUNDERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-initiator-get-auth | [top]

> Get the authentication info for an initiator, if auth type is CHAP, only the user-name is returned, password is not returned for security purposes.

> Input Name | Range | Type | Description
> initiator |  | string | Name of initiator. i.e. iqn.1987-06.com.initvendor1:appsrv.sn.2346. If initiator is not found, default authentication method is returned
> Output Name | Range | Type | Description
> auth-type |  | string | Authentication type, possible values : CHAP, none, deny.
> outbound-user-name |  | string optional | Outbound CHAP user name, returned only if auth-type is CHAP and outbound authentication is enabled for this initiator.
> user-name |  | string optional | Inbound CHAP user name, returned only if auth-type is CHAP.

> Errno | Description
> EISCSISECINVALIDINPUTERROR |  |
> EISCSISECPROCESSINGERROR |  |

> License
> iscsi

iscsi-initiator-get-default-auth | [top]

> Get the default auth info for iscsi. If the auth type is CHAP, only the username is retuned, and not the password, for security purposes.

> Output Name | Range | Type | Description
> auth-type |  | string | Authentication type, possible values : CHAP, none, deny.
> outbound-user-name |  | string optional | Outbound CHAP user name, returned only if auth-type is CHAP, and outbound authentication is set for initiator.
> user-name |  | string optional | Inbound CHAP user name, returned only if auth-type is CHAP.

> Errno | Description
> EISCSISECINVALIDINPUTERROR |  |
> EISCSISECPROCESSINGERROR |  |
> EISCSISECINITNOTFOUNDERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-initiator-list-info | [top]

> Gives list of initiators logged in

> Output Name | Range | Type | Description
> iscsi-initiator-list-entries |  | iscsi-initiator-list-entry-info[] | List of initiators logged in

> Errno | Description
> EAPILICENSE |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-initiator-modify-chap-params | [top]

> Modify CHAP parameters to an existing per-initiator authentication info whose auth-type equals CHAP.

> Input Name | Range | Type | Description
> initiator |  | string | Name of initiator. i.e. iqn.1987-06.com.initvendor1:appsrv.sn.2346. The per-initiator authentication info must have an auth-type equal to CHAP.
> outbound-password |  | string optional encrypted | Outbound CHAP user password. If Outbound CHAP parameters are specified they will replace existing Outbound CHAP parameters. If no Outbound CHAP parameters were previously specified, then the specified Outbound CHAP parameters will enable mutual CHAP authentication. If no Outbound CHAP parameters are specified and no Outbound CHAP parameters exist, then one-way Inbound CHAP authentication will be continue to be used.
> outbound-user-name |  | string optional | Outbound CHAP user name. If Outbound CHAP parameters are specified they will replace existing Outbound CHAP parameters. If no Outbound CHAP parameters were previously specified, then the specified Outbound CHAP parameters will enable mutual CHAP authentication. If no Outbound CHAP parameters are specified and no Outbound CHAP parameters exist, then one-way Inbound CHAP authentication will be continue to be used.
> password |  | string optional encrypted | Inbound CHAP user password. If Inbound CHAP parameters are specified they will replace the existing Inbound CHAP parameters. If they are not specified, the existing Inbound CHAP parameters will continue to be used.
> remove-outbound |  | boolean optional | Flag which indicates that mutual CHAP authentication is to be converted to one-way CHAP authentication. Outbound CHAP parameters must not be specified when remove-outbound is TRUE.
> user-name |  | string optional | Inbound CHAP user name. If Inbound CHAP parameters are specified they will replace the existing Inbound CHAP parameters. If they are not specified, the existing Inbound CHAP parameters will continue to be used.

> Errno | Description
> EISCSISECINVALIDINPUTERROR |  |
> EISCSISECINVALIDAUTHTYPE |  |
> EISCSISECPROCESSINGERROR |  |

> License
> iscsi

iscsi-initiator-set-default-auth | [top]

> Configure the default authentication method. If an initiator is not configured with a specific authentication method using iscsi-security-add the default authentication method will be applied to it.

> Input Name | Range | Type | Description
> auth-type |  | string | Possible values: CHAP, none, deny.
> outbound-password |  | string optional encrypted | Outbound CHAP user password. Outbound authentication is optional. If Outbound authentication is not specified, then the initiator can only do inbound traffic.
> outbound-user-name |  | string optional | Outbound CHAP user name. Outbound authentication is optional. If Outbound authentication is not specified, then the initiator can only do inbound traffic.
> password |  | string optional encrypted | Inbound CHAP user password, required for auth-type equals to CHAP.
> user-name |  | string optional | Inbound CHAP user name, required for auth-type equals to CHAP.

> Errno | Description
> EISCSISECINVALIDINPUTERROR |  |
> EISCSISECPROCESSINGERROR |  |

> License
> iscsi

iscsi-interface-disable | [top]

> Disables an interface for use by iSCSI

> Input Name | Range | Type | Description
> interface-name |  | string | Name of interface to disable (example, "e4")

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |
> EINVALIDSTATE |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-interface-enable | [top]

> Enables an interface for use by iSCSI

> Input Name | Range | Type | Description
> interface-name |  | string | Name of interface to enable (example, "e4")

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |
> EINVALIDSTATE |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-interface-list-info | [top]

> Gives status of interface for iSCSI

> Input Name | Range | Type | Description
> interface-name |  | string optional | Name of interface (e.g. e4) to report; if not supplied, all interfaces are listed
> Output Name | Range | Type | Description
> iscsi-interface-list-entries |  | iscsi-interface-list-entry-info[] | List of interfaces and enabled/disabled status

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-isns-config | [top]

> Configures the iSNS service.

> Input Name | Range | Type | Description
> isns-ip-addr |  | ip-address | The ip address, in dotted-decimal format, of the iSNS server with which to register. (for example, "192.168.11.12").

> Errno | Description
> ENOTSTARTED |  |
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> License
> iscsi

iscsi-isns-get-info | [top]

> Gets iSNS service configuration.

> Output Name | Range | Type | Description
> is-isns-enabled |  | boolean | "true" if iSNS service is running, "false" otherwise.
> isns-entity-id |  | string | Name of the entity id existing on the iSNS server in which to register.
> isns-ip-addr |  | ip-address | The ip address of the iSNS server in which we register.

> Errno | Description
> ENOTSTARTED |  |
> EAPILICENSE |  |
> EAPIERROR |  |

> License
> iscsi

iscsi-isns-start | [top]

> Start iSNS service. Service will be avaliable once the call returns with success.

> Errno | Description
> EALREADYSTARTED |  |
> EAPILICENSE |  |
> ENOTSTARTED |  |
> EINTERNALERROR |  |

> License
> iscsi

iscsi-isns-stop | [top]

> Stops iSNS service. Service will not be available once the call returns with success.

> Errno | Description
> ENOTSTARTED |  |
> EAPILICENSE |  |
> EINTERNALERROR |  |

> License
> iscsi

iscsi-isns-update | [top]

> Forces iSNS service to update server.

> Errno | Description
> ENOTSTARTED |  |
> EAPILICENSE |  |
> EINTERNALERROR |  |

> License
> iscsi

iscsi-node-get-name | [top]

> Return the current iscsi node name.

> Output Name | Range | Type | Description
> node-name |  | string | Current iscsi node name.

> Errno | Description
> EAPILICENSE |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-node-set-name | [top]

> Set the current iscsi node name.

> Input Name | Range | Type | Description
> node-name |  | string | New iscsi node name; must be <= 128 chars, and conform to iSCSI rules

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-portal-list-info | [top]

> list iscsi portals

> Output Name | Range | Type | Description
> iscsi-portal-list-entries |  | iscsi-portal-list-entry-info[] | List of portals

> Errno | Description
> EAPILICENSE |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-reset-stats | [top]

> zero filer iscsi counters

> Errno | Description
> EAPILICENSE |  |

> License
> iscsi

iscsi-service-start | [top]

> Start iSCSI service. Service will be avaliable once the call returns with success.

> Errno | Description
> EALREADYSTARTED |  |
> EINTERNALERROR |  |
> EREVERTINPROGRESS |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-service-status | [top]

> Get status of the iSCSI service, whether or not it is running.

> Output Name | Range | Type | Description
> is-available |  | boolean | "true" if iSCSI service is running, "false" otherwise.

> Errno | Description
> EINTERNALERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-service-stop | [top]

> Stops iSCSI service. Service will be no available once the call returns with success.

> Errno | Description
> ENOTSTARTED |  |
> EINTERNALERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-session-list-info | [top]

> Gives list of active sessions

> Input Name | Range | Type | Description
> tsih |  | integer optional | target session ID handle for specific session
> Output Name | Range | Type | Description
> iscsi-session-list-entries |  | iscsi-session-list-entry-info[] | List of active sessions

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> License
> iscsi

iscsi-stats-list-info | [top]

> return current filer iscsi statistics

> Output Name | Range | Type | Description
> iscsi-stats |  | iscsi-stats-info[] | statistics for iscsi

> Errno | Description
> EAPILICENSE |  |

> License
> iscsi

iscsi-target-alias-clear-alias | [top]

> Clear the current iscsi target alias

> Errno | Description
> EAPILICENSE |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-target-alias-get-alias | [top]

> Return the current iscsi target alias

> Output Name | Range | Type | Description
> alias-name |  | string optional | Current iscsi target alias if alias-assigned is true; a blank alias is allowed here, though not useful
> is-alias-assigned |  | boolean | True if alias assigned, false otherwise

> Errno | Description
> EAPILICENSE |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-target-alias-set-alias | [top]

> Set the current iscsi target alias

> Input Name | Range | Type | Description
> alias-name |  | string | New iscsi target alias to set; must be 128 bytes or less. Free form format otherwise, although a string of all blanks will be rejected

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-tpgroup-alua-set | [top]

> Change the ALUA parameters on a tpgroup Asymmetric Logical Unit Access (ALUA) management Data ONTAP supports SCSI ALUA functionality for managing multi-pathed SCSI devices. ALUA provides a standardized mechanism for path discovery and prioritization. Devices are identified by target port IDs, which are then grouped into target port groups. Each group has a state which, when configured, enables the host multipathing software to select the appropriate path priorities when accessing a LUN. For iSCSI, ALUA settings are controlled at the target portal group level using the "iscsi-tpgroup-alua-set" ZAPI. A target portal group can be configured to be either "optimized" or "non-optimized"; a host typically uses all the optimized paths before using any non-optimized paths it may find. All target portal groups are optimized by default. There is also an optional "preferred" setting that may be used on a target portal group. Check your host's multi-pathing software documentation to see if it supports ALUA and the preferred setting. ALUA is enabled on Initiator Groups using the "igroup-set-attribute" ZAPI. All LUNs mapped to an ALUA enabled Initiator Group will support the ALUA functionality.

> Input Name | Range | Type | Description
> tpgroup-alua-preferred |  | boolean | If "true", target portal group will be marked as preferred for ALUA enabled Initiator Groups
> tpgroup-alua-state |  | string | Possible values: "optimized", "non-optimized"
> tpgroup-tag |  | integer | portal group

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |
> EINTERNALERROR |  |

> License
> iscsi

iscsi-tpgroup-create | [top]

> Create a new tpgroup

> Input Name | Range | Type | Description
> tpgroup-name |  | string | User-defined name of new target portal group; must be <= 32 bytes, and cannot end with "default" as this might conflict with names of default system portal groups
> tpgroup-tag |  | integer optional | Optional target portal group tag supplied by user; if not supplied, system assigns tag.
> Output Name | Range | Type | Description
> tpgroup-tag |  | integer | filer assigned tag value for newly created portal group

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |
> EINTERNALERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-tpgroup-destroy | [top]

> Destroy a tpgroup

> Input Name | Range | Type | Description
> tpgroup-tag |  | integer | tag of portal group to destroy

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-tpgroup-interface-add | [top]

> Add an interface to a target portal group

> Input Name | Range | Type | Description
> interface-name |  | string | name of network interface being added
> tpgroup-tag |  | integer | portal group tag

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-tpgroup-interface-delete | [top]

> Delete an interface from a target portal group

> Input Name | Range | Type | Description
> interface-name |  | string | name of network interface being deleted
> tpgroup-tag |  | integer | portal group

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

iscsi-tpgroup-list-info | [top]

> List information about target portal groups

> Input Name | Range | Type | Description
> tpgroup-tag |  | integer optional | Portal group being queried; if not supplied, information on all portal groups is returned
> Output Name | Range | Type | Description
> iscsi-tpgroup-list-entries |  | iscsi-tpgroup-list-entry-info[] | List of tpgroups

> Errno | Description
> EAPILICENSE |  |
> EINVALIDINPUTERROR |  |

> Vfiler-enabled
> Yes

> License
> iscsi

Element definition: ip-address | [top]

> One ip address, in dotted-decimal format (for example, "192.168.11.12").

> [none]

Element definition: iscsi-adapter-initiators-info | [top]

> A list of initiators currently connected to the adapter.

> Name | Range | Type | Description
> iscsi-connected-initiators |  | iscsi-connected-initiator-info[] | Information about the connected initiators
> name |  | string | The name this adapter is given.

Element definition: iscsi-config-adapter-info | [top]

> Configuration information about a single iscsi adapter.

> Name | Range | Type | Description
> name |  | string | The name this adapter is given.
> portal-addresses |  | iscsi-portal-address-info[] | A list of portal group address + port that this adapter is listening on.
> state |  | string | State of the adapter, either "online", "offline", "local", "partner", "error". " online" and "offline" is used when the adapter is used for the current host. "local" if the adapter is operating on behalf of the local host, and "partner" if the adapter is operating on behalf of the partner host. "error" is used if some an internal error occurred when tring to load this adapter info.
> status |  | string optional | A short status message explaining the state. i.e. if the adapter is offline, the reason for it, or if its "error" what the error is. This will not be returned if the state of the adapter is "online".

Element definition: iscsi-connection-list-entry-info | [top]

> information about a single connection

> Name | Range | Type | Description
> connection-id |  | integer | connection id
> connection-state |  | string | state of this connection
> has-session |  | boolean | new connection or part of session
> interface-name |  | string | name of network interface hosting this connection
> local-ip-address |  | string | filer IP address
> local-ip-port |  | integer | filer TCP port
> remote-ip-address |  | string | initiator IP address
> remote-ip-port |  | integer | initiator TCP port
> session-id |  | integer | session id, if not new connection

Element definition: iscsi-initiator-list-entry-info | [top]

> Information about a single initiator

> Name | Range | Type | Description
> initiator-aliasname |  | string | User-friendly name assigned to initiator; free form format
> initiator-group-list |  | initiator-group-list-info[] | List of initiator groups that belong to this iSCSI initiator
> initiator-nodename |  | string | Iqn/eui of the initiator, e.g. iqn.1992-08.com.netapp:sn.2272758970
> isid |  | string | Isid for this session selected by initiator; we display as numbers separated by colons, e.g: 40:01:37:00:00:00
> target-session-id |  | integer | iSCSI session identifier assigned by filer; Range: [0..2^16-1]
> tpgroup-tag |  | integer | Tag of target portal group associated with this session

Element definition: iscsi-interface-list-entry-info | [top]

> Information about a single interface

> Name | Range | Type | Description
> interface-name |  | string | Name of interface, e.g. e5
> is-interface-enabled |  | boolean | "true" if interface enabled for iSCSI, "false" otherwise.
> tpgroup-name |  | string | Name of target portal group interface is associated with
> tpgroup-tag |  | integer | Id of target portal group interface is associated with; values are assigned by filer when group is created and caller of this API should supply assigned value.

Element definition: iscsi-portal-list-entry-info | [top]

> information about a single portal

> Name | Range | Type | Description
> interface-name |  | string | name of network interface exporting this portal
> ip-address |  | string | portal IP address
> ip-port |  | integer | portal listening port
> tpgroup-tag |  | integer | tag of portal group this portal is associated with

Element definition: iscsi-security-entry-info | [top]

> Information about a single authenication entry.

> Name | Range | Type | Description
> auth-type |  | string | Authentication type, possible values : CHAP, none, deny.
> initiator |  | string | Name of initiator. i.e. iqn.1987-06.com.initvendor1:appsrv.sn.2346 or "default" if this is a default auth entry.
> outbound-user-name |  | string optional | Outbound CHAP user name, returned only if auth-type is CHAP, and outbound authentication is set for initiator.
> user-name |  | string optional | Inbound CHAP user name, returned only if auth-type is CHAP.

Element definition: iscsi-session-list-entry-info | [top]

> Information about a single session

> Name | Range | Type | Description
> cmd-window-size |  | integer | size of the cmd window
> data-pdu-in-order |  | boolean | true if set
> data-sequence-in-order |  | boolean | true if set
> default-time-to-retain |  | integer | time to retain
> default-time-to-wait |  | integer | time to wait iSCSI setting
> error-recovery-level |  | integer | Possible values: 0,1,or 2
> first-burst-length |  | integer | first burst length value
> immediate-data-enabled |  | boolean | is immediate data enabled for this session
> initial-r2t-enabled |  | boolean | initial R2T enabled or not
> initiator-aliasname |  | string | user-friendly name assigned to initiator
> initiator-nodename |  | string | iqn/eui of the initiator
> iscsi-session-connection-list-entries |  | iscsi-session-connection-list-entry-info[] | List of TCP/IP connections associated with this session
> isid |  | string | Isid for this session selected by initiator; we display as numbers separated by colons, e.g: 40:01:37:00:00:00
> max-burst-length |  | integer | max burst length value
> max-connections |  | integer | maximum number of connections allowed
> max-outstanding-r2t |  | integer | max r2ts at any one time
> session-type |  | string | Possible values; "normal" or "discovery"
> target-session-id |  | integer | iSCSI session identifier assigned by filer; 0 to 64k
> tpgroup-tag |  | integer | tag of target portal group associated with this session

Element definition: iscsi-stats-info | [top]

> Statistics block

> Name | Range | Type | Description
> iscsi-cdb-stats |  | iscsi-cdb-stats-info | Statistics of Command Descriptor Blocks.
> iscsi-error-stats |  | iscsi-error-stats-info | Statistics of errors.
> iscsi-received-stats |  | iscsi-received-stats-info | Statistics of PDUs received.
> iscsi-transmitted-stats |  | iscsi-transmitted-stats-info | Statistics of PDUs transmitted.

Element definition: iscsi-tpgroup-list-entry-info | [top]

> Information about a single portal group

> Name | Range | Type | Description
> interface-list-entries |  | interface-list-entry-info[] | List of interfaces associated with this tpgroup
> tpgroup-alua-preferred |  | boolean optional | Target Portal Group will be marked as preferred for ALUA enabled Initiator Groups
> tpgroup-alua-state |  | string optional | Possible values: "optimized", "non-optimized"
> tpgroup-name |  | string | Portal group name
> tpgroup-tag |  | integer | Portal group tag

Element definition: initiator-group-list-info | [top]

> Initiator group that belongs to this iSCSI initiator

> Name | Range | Type | Description
> initiator-group-name |  | string | Name of initiator group; Maximum length is 96 bytes.

Element definition: interface-list-entry-info | [top]

> Information about a single interface

> Name | Range | Type | Description
> interface-name |  | string | Name of network interface (e5, vif0)

Element definition: iscsi-cdb-stats-info | [top]

> Counts for Command Descriptor Blocks processed

> Name | Range | Type | Description
> data-in-blocks |  | integer | Count of data in blocks.
> data-out-blocks |  | integer | Count of data out blocks.
> error-status |  | integer | Count of errors.
> success-status |  | integer | Count of successes.
> total |  | integer | Total Command Descriptor Blocks processed.

Element definition: iscsi-connected-initiator-info | [top]

> Information about an initiator connected to an iSCSI adapter.

> Name | Range | Type | Description
> initiator-name |  | string | Name of initiator.
> isid |  | string | ISID in form of "xx:xx:xx:xx:xx:xx".
> portal-group-id |  | integer | Target portal group number to which the initiator is connected.

Element definition: iscsi-error-stats-info | [top]

> Counts for iSCSI errors.

> Name | Range | Type | Description
> data-digest |  | integer | Count of digest errors.
> failed-logins |  | integer | Count of failed logins.
> failed-logouts |  | integer | Count of failed logouts.
> failed-task-mgt |  | integer | Count of failed management tasks.
> failed-text-cmd |  | integer | Count of failed text commands.
> hdr-digest |  | integer | Count of digest errors.
> invalid-header |  | integer | Count of PDU discards due to invalid PDU header.
> outside-cmd-sn-window |  | integer | Count of PDU discards due to PDU being outside of command sequence number window.
> protocol |  | integer | Count of protocol errors.
> total |  | integer | Total errors.

Element definition: iscsi-portal-address-info | [top]

> Configuration information about an inet-addres and port pair for a portal group.

> Name | Range | Type | Description
> id |  | integer | ID of this portal group.
> inet-address |  | ip-address | inet-address.
> port |  | integer | The port that is being listened on for that address.

Element definition: iscsi-received-stats-info | [top]

> Counts for PDUs received.

> Name | Range | Type | Description
> data-out |  | integer | Count of data out requests.
> login-req |  | integer | Count of login requests.
> logout-req |  | integer | Count of logout requests.
> nop-out |  | integer | Count of NOP Out.
> scsi-cmd |  | integer | Count of SCSI commands.
> scsi-task-mgt-cmd |  | integer | Count of SCSI task management commands.
> snack |  | integer | Count of SNACK requests.
> text-req |  | integer | Count of text requests.
> total |  | integer | Total PDUs received.
> unknown |  | integer | Count of unknown PDUs.

Element definition: iscsi-session-connection-list-entry-info | [top]

> Information about a single tcp connection

> Name | Range | Type | Description
> authentication-method |  | string | for now, CHAP or none
> connection-id |  | integer | identifies connection within session
> data-digest-enabled |  | boolean | are data digests enabled this connection
> header-digest-enabled |  | boolean | are header digests enabled this connection
> initiator-max-rcv-data-segment-length |  | integer | largest segment initiator will receive
> interface-name |  | string | filer interface carrying connection
> iscsi-sesssion-cmd-list-entries |  | iscsi-sesssion-cmd-list-entry-info[] | List of active commands associated with this session
> local-ip-address |  | string | local interface address
> local-ip-port |  | integer | filer TCP port
> rcv-window-size |  | integer | tcp/ip receive window
> remote-ip-address |  | string | initiator IP address
> remote-ip-port |  | integer | initiator TCP port
> target-max-rcv-data-segment-length |  | integer | largest segment target will receive

Element definition: iscsi-transmitted-stats-info | [top]

> Counts for PDUs transmitted.

> Name | Range | Type | Description
> async-msg |  | integer | Count of asynchronous iSCSI messages.
> data-in |  | integer | Count of data in PDUs.
> login-rsp |  | integer | Count of login responses.
> logout-rsp |  | integer | Count of logout responses.
> nop-in |  | integer | Count of NOP In.
> ready-to-transmit |  | integer | Count of ready to transmit PDUs
> reject |  | integer | Count of reject PDUs.
> scsi-rsp |  | integer | Count of scsi responses.
> scsi-task-mgt-rsp |  | integer | Count of scsi task management responses.
> text-rsp |  | integer | Count of text responses.
> total |  | integer | Total PDUs transmitted.

Element definition: ip-address | [top]

> One ip address, in dotted-decimal format (for example, "192.168.11.12").

> [none]

Element definition: iscsi-sesssion-cmd-list-entry-info | [top]

> information about a particular command

> Name | Range | Type | Description
> cmd-state |  | string | state of command
> cmd-sub-id |  | integer | variety specific sub-id
> cmd-type |  | string | type of cmd being executed