diff --git a/cinder/volume/drivers/dell_emc/unity/adapter.py b/cinder/volume/drivers/dell_emc/unity/adapter.py index 14763c198..e48f7a558 100644 --- a/cinder/volume/drivers/dell_emc/unity/adapter.py +++ b/cinder/volume/drivers/dell_emc/unity/adapter.py @@ -437,7 +437,9 @@ class CommonAdapter(object): .. code-block:: none existing_ref:{ + 'source-id': + } or @@ -445,7 +447,9 @@ class CommonAdapter(object): .. code-block:: none existing_ref:{ + 'source-name': + } """ lun = self._get_referenced_lun(existing_ref) diff --git a/cinder/volume/drivers/dell_emc/unity/utils.py b/cinder/volume/drivers/dell_emc/unity/utils.py index ba10ade28..90a8bebf2 100644 --- a/cinder/volume/drivers/dell_emc/unity/utils.py +++ b/cinder/volume/drivers/dell_emc/unity/utils.py @@ -144,13 +144,16 @@ def convert_to_itor_tgt_map(zone_mapping): :param zone_mapping: mapping is the data from the zone lookup service with below format + { : { 'initiator_port_wwn_list': ('200000051e55a100', '200000051e55a121'..) 'target_port_wwn_list': ('100000051e55a100', '100000051e55a121'..) + } + } """ target_wwns = []