org.storaged.Storaged.Manager.ISCSI.Initiator

org.storaged.Storaged.Manager.ISCSI.Initiator — iSCSI add-on to the manager singleton

Methods

GetInitiatorName          (OUT s        result);
SetInitiatorName          (IN  s        name,
                           IN  a{sv}    options);
DiscoverSendTargetsNoAuth (IN  s        address,
                           IN  q        port,
                           IN  a{sv}    options,
                           OUT a(sisis) nodes,
                           OUT i        nodes_cnt);
DiscoverSendTargetsChap   (IN  s        address,
                           IN  q        port,
                           IN  s        username,
                           IN  s        password,
                           IN  s        reverse_username,
                           IN  s        reverse_password,
                           IN  a{sv}    options,
                           OUT a(sisis) nodes,
                           OUT i        nodes_cnt);
DiscoverFirmware          (IN  a{sv}    options,
                           OUT a(sisis) nodes,
                           OUT i        nodes_cnt);
Login                     (IN  s        name,
                           IN  i        tpgt,
                           IN  s        address,
                           IN  i        port,
                           IN  s        iface,
                           IN  a{sv}    options);
Logout                    (IN  s        name,
                           IN  i        tpgt,
                           IN  s        address,
                           IN  i        port,
                           IN  s        iface,
                           IN  a{sv}    options);

Description

Additional interface with iSCSI specifics for top-level manager singleton object located at the object path /org/storaged/Storaged/Manager.

Since 2.0.1

Method Details

The GetInitiatorName() method

GetInitiatorName (OUT s result);

since 2.0.1

Returns a iSCSI initiator name.

OUT s result:

The iSCSI initiator name.

Since 2.0.1


The SetInitiatorName() method

SetInitiatorName (IN  s     name,
                  IN  a{sv} options);

since 2.1.3

Sets a new iSCSI initiator name.

No additional options are currently defined.

IN s name:

The new iSCSI initiator name.

IN a{sv} options:

Additional options.

Since 2.0.1


The DiscoverSendTargetsNoAuth() method

DiscoverSendTargetsNoAuth (IN  s        address,
                           IN  q        port,
                           IN  a{sv}    options,
                           OUT a(sisis) nodes,
                           OUT i        nodes_cnt);

since 2.1.3

Performs targets' discovery with no authentication data.

No additional options are currently defined.

IN s address:

Hostname or IP-address to connect to.

IN q port:

Port to connect to, or 0 for the default port.

IN a{sv} options:

Additional options.

OUT a(sisis) nodes:

Discovered nodes.

OUT i nodes_cnt:

The number of found nodes.

Since 2.0.1


The DiscoverSendTargetsChap() method

DiscoverSendTargetsChap (IN  s        address,
                         IN  q        port,
                         IN  s        username,
                         IN  s        password,
                         IN  s        reverse_username,
                         IN  s        reverse_password,
                         IN  a{sv}    options,
                         OUT a(sisis) nodes,
                         OUT i        nodes_cnt);

since 2.1.3

Performs targets' discovery with CHAP authentication method.

No additional options are currently defined.

IN s address:

Hostname or IP-address to connect to.

IN q port:

Port to connect to, or 0 for the default port.

IN s username:

Authentication username.

IN s password:

Authentication password.

IN s reverse_username:

Reverse authentication username. May be empty in which case only forward authentication will be done.

IN s reverse_password:

Reverse authentication password.

IN a{sv} options:

Additional options.

OUT a(sisis) nodes:

Discovered nodes.

OUT i nodes_cnt:

The number of found nodes.

Since 2.0.1


The DiscoverFirmware() method

DiscoverFirmware (IN  a{sv}    options,
                  OUT a(sisis) nodes,
                  OUT i        nodes_cnt);

since 2.1.3

Performs targets' discovery using firmware (ppc or ibft).

No additional options are currently defined.

IN a{sv} options:

Additional options.

OUT a(sisis) nodes:

Structure containing discovered targets (name, tpgt, address, port, iface).

OUT i nodes_cnt:

The number of found nodes.

Since 2.0.1


The Login() method

Login (IN  s     name,
       IN  i     tpgt,
       IN  s     address,
       IN  i     port,
       IN  s     iface,
       IN  a{sv} options);

since 2.1.3

Login to the iSCSI node described by the given node properties.

No additional options are currently defined.

IN s name:

iSCSI iqn for the node.

IN i tpgt:

Portal group number.

IN s address:

Portal hostname or IP-address.

IN i port:

Portal port number.

IN s iface:

Interface to connect through.

IN a{sv} options:

Additional options.

Since 2.0.1


The Logout() method

Logout (IN  s     name,
        IN  i     tpgt,
        IN  s     address,
        IN  i     port,
        IN  s     iface,
        IN  a{sv} options);

since 2.1.3

Logout of the iSCSI node described by the given node properties.

No additional options are currently defined.

IN s name:

iSCSI iqn for the node.

IN i tpgt:

Portal group number.

IN s address:

Portal hostname or IP-address.

IN i port:

Portal port number.

IN s iface:

Interface to logout.

IN a{sv} options:

Additional options.

Since 2.0.1