The cinder.volume.drivers.hitachi.hbsd_snm2 Module

class HBSDSNM2(conf)

Bases: cinder.volume.drivers.hitachi.hbsd_basiclib.HBSDBasicLib

add_used_hlun(command, port, gid, used_list, ldev)
comm_add_hbawwn(port, gid, wwn)
comm_add_hostgrp(port, gid, host_grp_name)
comm_add_hostgrp_iscsi(port, gid, target_alias, target_iqn)
comm_add_initiator(port, gid, host_iqn)
comm_add_ldev(pool_id, ldev, capacity, is_vvol)
comm_add_lun(command, hostgroups, ldev, is_once=False)
comm_create_pair(pvol, svol, is_vvol)
comm_del_hostgrp(port, gid, host_grp_name)
comm_delete_ldev(ldev, is_vvol)
comm_delete_lun(hostgroups, ldev)
comm_delete_lun_core(command, hostgroups, lun)
comm_delete_lun_iscsi(hostgroups, ldev)
comm_extend_ldev(ldev, old_size, new_size)
comm_get_dp_pool(pool_id)
comm_get_hostgroup_info(hgs, wwns, target_ports, login=True)
comm_get_hostgroup_info_iscsi(hgs, host_iqn, target_ports)
comm_get_iscsi_ip(port)
comm_get_target_iqn(port, gid)
comm_pairevtwait(pvol, svol, is_vvol, status, timeout, interval)
comm_set_hostgrp_reportportal(port, target_alias)
comm_set_target_wwns(target_ports)
create_lock_file()
delete_chap_user(port)
delete_iscsi_target(port, _target_no, target_alias)
delete_pair(pvol, svol, is_vvol)
exec_hsnm(command, args, printflag=True, noretry=False, timeout=10, interval=1)
get_comm_version()
get_gid_from_targetiqn(target_iqn, target_alias, port)
get_hgname_gid(port, host_grp_name)
get_hostgroup_from_wwns(hostgroups, port, wwns, buf, login)
get_hostgroup_luns(port, gid)
get_ldev_size_in_gigabyte(ldev, existing_ref)
get_paired_info(ldev, only_flag=False)
get_unused_gid(group_range, port)
get_unused_gid_iscsi(group_range, port)
get_unused_ldev(ldev_range)
is_detected(port, wwn)
pairoperate(opr, pvol, svol, is_vvol, args=None)
set_chap_authention(port, gid)
trans_status_hsnm2raid(str)