Top |
org.freedesktop.UDisks2.Manager.ISCSI.Initiatororg.freedesktop.UDisks2.Manager.ISCSI.Initiator — iSCSI add-on to the manager singleton |
GetFirmwareInitiatorName (OUT s result); GetInitiatorName (OUT s result); SetInitiatorName (IN s name, IN a{sv} options); DiscoverSendTargets (IN s address, IN q port, 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);
Additional interface with iSCSI specifics for top-level manager
singleton object located at the object path
/org/freedesktop/UDisks2/Manager
.
Since 2.0.1
GetFirmwareInitiatorName (OUT s result);
Returns the iSCSI firmware initiator name.
|
The iSCSI firmware initiator name. |
Since 2.4.0
GetInitiatorName (OUT s result);
Returns a iSCSI initiator name.
|
The iSCSI initiator name. |
Since 2.0.1
SetInitiatorName (IN s name, IN a{sv} options);
Sets a new iSCSI initiator name.
No additional options are currently defined.
|
The new iSCSI initiator name. |
|
Additional options. |
Since 2.1.3
DiscoverSendTargets (IN s address, IN q port, IN a{sv} options, OUT a(sisis) nodes, OUT i nodes_cnt);
Performs targets' discovery with no authentication data.
If the option username
is provided, then
the username
and password
will be used for CHAP authentication.
If the option reverse-username
is provided,
the the reverse-username
and
reverse-password
will be used for CHAP
authentication.
|
Hostname or IP-address to connect to. |
|
Port to connect to, or 0 for the default port. |
|
Additional options. |
|
Discovered nodes. |
|
The number of found nodes. |
Since 2.3.1
DiscoverFirmware (IN a{sv} options, OUT a(sisis) nodes, OUT i nodes_cnt);
Performs targets' discovery using firmware (ppc or ibft).
No additional options are currently defined.
|
Additional options. |
|
Structure containing discovered targets (name, tpgt, address, port, iface). |
|
The number of found nodes. |
Since 2.1.3
Login (IN s name, IN i tpgt, IN s address, IN i port, IN s iface, IN a{sv} options);
Login to the iSCSI node described by the given node properties.
If the option username
is provided, then
the username
and password
will be used for CHAP authentication.
If the option reverse-username
is provided,
the the reverse-username
and
reverse-password
will be used for CHAP
authentication.
All the additional options are transformed into the interface
parameters. For example, if an automatic node startup is desired, the
node.startup
needs to be set to
'automatic' (default value is
'manual').
|
iSCSI iqn for the node. |
|
Portal group number. |
|
Portal hostname or IP-address. |
|
Portal port number. |
|
Interface to connect through. |
|
Additional options. |
Since 2.1.3
Logout (IN s name, IN i tpgt, IN s address, IN i port, IN s iface, IN a{sv} options);
Logout of the iSCSI node described by the given node properties.
All the additional options are transformed into the interface
parameters. For example, if an automatic node startup is not desired,
the node.startup
needs to be set to
'manual'.
|
iSCSI iqn for the node. |
|
Portal group number. |
|
Portal hostname or IP-address. |
|
Portal port number. |
|
Interface to logout. |
|
Additional options. |
Since 2.1.3