The cinder.volume.drivers.hitachi.vsp_utils Module

Utility module for Hitachi VSP Driver.

MSG

alias of VSPMsg

class VSPMsg(error_info)

Bases: enum.Enum

messages for Hitachi VSP Driver.

output_log(**kwargs)

Output the message to the log file and return the message.

build_initiator_target_map(connector, target_wwns, lookup_service)

Return a dictionary mapping server-wwns and lists of storage-wwns.

check_ignore_error(ignore_error, stderr)

Return True if ignore_error is in stderr, False otherwise.

check_opt_value(conf, names)

Check if the parameter names and values are valid.

check_opts(conf, opts)

Check if the specified configuration is valid.

check_timeout(start_time, timeout)

Return True if the specified time has passed, False otherwise.

execute(*cmd, **kwargs)

Run the specified command and return its results.

get_ldev(obj)

Get the LDEV number from the given object and return it as integer.

get_volume_metadata(volume)

Return a dictionary of the metadata of the specified volume.

import_object(conf, driver_info, db)

Import a class and return an instance of it.

mask_password(cmd)

Return a string in which the password is masked.

output_log(msg_enum, **kwargs)

Output the specified message to the log file and return the message.

output_opt_info(conf, names)

Output parameter names and values to the log file.

output_opts(conf, opts)

Output parameter names and values to the log file.

output_start_end_log(func)

Output the log of the start and the end of the method.

output_storage_cli_info(name, version)

Output storage CLI info to the log file.

require_target_existed(targets)

Check if the target list includes one or more members.

update_conn_info(conn_info, connector, lookup_service)

Set wwn mapping list to the connection info.

Previous topic

The cinder.volume.drivers.hitachi.vsp_iscsi Module

Next topic

The cinder.volume.drivers.hpe.hpe_3par_common Module

This Page