IscsiClient#

class IscsiClient(iscsi_initiator_name=None, iscsi_initiator_network_id=None, client_secret=None, enabled_authentications=None, attached_targets=None, num_virtual_targets=None, cluster_reference=None, attachment_site=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

A model that represents an iSCSI client that can be associated with a Volume Group as an external attachment.

Parameters:
  • iscsi_initiator_name (max=64 chars) – (iscsi_initiator_name) iSCSI initiator name. Exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified during the attach operation. This field is immutable.

  • iscsi_initiator_network_id – (iscsi_initiator_network_id)

  • client_secret – (client_secret) iSCSI initiator client secret in case of CHAP authentication. This field should not be provided if the authentication type is not set to CHAP.

  • enabled_authentications – (enabled_authentications)

  • attached_targets – (attached_targets)

  • num_virtual_targets – (num_virtual_targets) Number of virtual targets generated for the iSCSI target. This field is immutable.

  • cluster_reference – (cluster_reference) The UUID of the cluster that will host the iSCSI client. This field is read-only.

  • attachment_site – (attachment_site)

property attached_targets#
Type:

list[ TargetParam ]

property attachment_site#
Type:

VolumeGroupAttachmentSite

property client_secret#

iSCSI initiator client secret in case of CHAP authentication. This field should not be provided if the authentication type is not set to CHAP.

Type:

str

property cluster_reference#

The UUID of the cluster that will host the iSCSI client. This field is read-only.

Type:

str

property enabled_authentications#
Type:

AuthenticationType

property iscsi_initiator_name#

iSCSI initiator name. Exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified during the attach operation. This field is immutable.

Type:

str

property iscsi_initiator_network_id#
Type:

IPAddressOrFQDN

property num_virtual_targets#

Number of virtual targets generated for the iSCSI target. This field is immutable.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model