The cinder.volume.drivers.netapp.dataontap.client.client_base Module

class Client(**kwargs)

Bases: object

add_igroup_initiator(igroup, initiator)

Adds initiators to the specified igroup.

check_is_naelement(elem)

Checks if object is instance of NaElement.

create_igroup(igroup, igroup_type='iscsi', os_type='default')

Creates igroup with specified args.

create_lun(volume_name, lun_name, size, metadata, qos_policy_group=None)

Issues API request for creating LUN on volume.

destroy_lun(path, force=True)

Destroys the LUN at the path.

do_direct_resize(path, new_size_bytes, force=True)

Resize the LUN.

get_connection()
get_fc_target_wwpns()

Gets the FC target details.

get_igroup_by_initiators(initiator_list)

Get igroups exactly matching a set of initiators.

get_iscsi_service_details()

Returns iscsi iqn.

get_iscsi_target_details()

Gets the iSCSI target portal details.

get_lun_by_args(**args)

Retrieves LUNs with specified args.

get_lun_geometry(path)

Gets the LUN geometry.

get_lun_list()

Gets the list of LUNs on filer.

get_ontapi_version(cached=True)

Gets the supported ontapi version.

get_volume_options(volume_name)

Get the value for the volume option.

has_luns_mapped_to_initiators(initiator_list)

Checks whether any LUNs are mapped to the given initiator(s).

map_lun(path, igroup_name, lun_id=None)

Maps LUN to the initiator and returns LUN id assigned.

move_lun(path, new_path)

Moves the LUN at path to new path.

provide_ems(requester, netapp_backend, app_version, server_type='cluster')

Provide ems with volume stats for the requester.

Parameters:server_type – cluster or 7mode.
send_request(api_name, api_args=None, enable_tunneling=True)

Sends request to Ontapi.

unmap_lun(path, igroup_name)

Unmaps a LUN from given initiator.

Previous topic

The cinder.volume.drivers.netapp.dataontap.client.client_7mode Module

Next topic

The cinder.volume.drivers.netapp.dataontap.client.client_cmode Module

This Page