Merge "IBM Flashsystem: Add missing items to common"
This commit is contained in:
commit
4beb06902e
@ -104,6 +104,9 @@ class FlashSystemDriver(san.SanDriver,
|
||||
self._context = None
|
||||
self._system_name = None
|
||||
self._system_id = None
|
||||
self._check_lock_interval = 5
|
||||
self._vdisk_copy_in_progress = set()
|
||||
self._vdisk_copy_lock = None
|
||||
|
||||
def _ssh(self, ssh_cmd, check_exit_code=True):
|
||||
try:
|
||||
@ -149,6 +152,9 @@ class FlashSystemDriver(san.SanDriver,
|
||||
map[idx].append(t_wwpn)
|
||||
return map
|
||||
|
||||
def _check_vdisk_params(self, params):
|
||||
raise NotImplementedError()
|
||||
|
||||
def _connector_to_hostname_prefix(self, connector):
|
||||
"""Translate connector info to storage system host name.
|
||||
|
||||
@ -279,6 +285,9 @@ class FlashSystemDriver(san.SanDriver,
|
||||
self._unset_vdisk_copy_in_progress(
|
||||
[src_vdisk_name, dest_vdisk_name])
|
||||
|
||||
def _create_host(self, connector):
|
||||
raise NotImplementedError()
|
||||
|
||||
def _create_vdisk(self, name, size, unit, opts):
|
||||
"""Create a new vdisk."""
|
||||
|
||||
@ -390,6 +399,9 @@ class FlashSystemDriver(san.SanDriver,
|
||||
|
||||
return attributes
|
||||
|
||||
def _find_host_exhaustive(self, connector, hosts):
|
||||
raise NotImplementedError()
|
||||
|
||||
def _get_hdr_dic(self, header, row, delim):
|
||||
"""Return CLI row data as a dictionary indexed by names from header.
|
||||
|
||||
@ -542,6 +554,10 @@ class FlashSystemDriver(san.SanDriver,
|
||||
|
||||
return self._execute_command_and_parse_attributes(ssh_cmd)
|
||||
|
||||
def _get_vdisk_map_properties(
|
||||
self, connector, lun_id, vdisk_name, vdisk_id, vdisk_params):
|
||||
raise NotImplementedError()
|
||||
|
||||
def _get_vdiskhost_mappings(self, vdisk_name):
|
||||
"""Return the defined storage mappings for a vdisk."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user