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);
DiscoverSendTargetsNoAuth (IN  s        address,
                           IN  q        port,
                           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,
                           OUT a(sisis) nodes,
                           OUT i        nodes_cnt);
DiscoverFirmware          (OUT a(sisis) nodes,
                           OUT i        nodes_cnt);
Login                     (IN  s        name,
                           IN  i        tpgt,
                           IN  s        address,
                           IN  i        port,
                           IN  s        iface);
Logout                    (IN  s        name,
                           IN  i        tpgt,
                           IN  s        address,
                           IN  i        port,
                           IN  s        iface);

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);

since 2.0.1

Sets a new iSCSI initiator name.

IN s name:

The new iSCSI initiator name.

Since 2.0.1


The DiscoverSendTargetsNoAuth() method

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

since 2.0.1

Performs targets' discovery with no authentication data.

IN s address:

Hostname or IP-address to connect to.

IN q port:

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

OUT a(sisis) nodes:

Discovered nodes.

OUT i nodes_cnt:

The number of found nodes will be returned.

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,
                         OUT a(sisis) nodes,
                         OUT i        nodes_cnt);

since 2.0.1

Performs targets' discovery with CHAP authentication method.

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.

OUT a(sisis) nodes:

Discovered nodes.

OUT i nodes_cnt:

The number of found nodes will be returned.

Since 2.0.1


The DiscoverFirmware() method

DiscoverFirmware (OUT a(sisis) nodes,
                  OUT i        nodes_cnt);

since 2.0.1

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

OUT a(sisis) nodes:

OUT i nodes_cnt:

Since 2.0.1


The Login() method

Login (IN  s name,
       IN  i tpgt,
       IN  s address,
       IN  i port,
       IN  s iface);

since 2.0.1

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

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.

Since 2.0.1


The Logout() method

Logout (IN  s name,
        IN  i tpgt,
        IN  s address,
        IN  i port,
        IN  s iface);

since 2.0.1

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

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.

Since 2.0.1