diff --git a/delfin/drivers/hpe/hpe_3par/component_handler.py b/delfin/drivers/hpe/hpe_3par/component_handler.py index 643e4e812..7f848019a 100644 --- a/delfin/drivers/hpe/hpe_3par/component_handler.py +++ b/delfin/drivers/hpe/hpe_3par/component_handler.py @@ -438,6 +438,7 @@ def list_storage_host_initiators(self, storage_id): "storage_id": storage_id, "native_storage_host_initiator_id": name, "wwn": wwn, + 'alias': name, "type": type, "status": constants.InitiatorStatus.ONLINE, "native_storage_host_id": initiator.get('id', diff --git a/delfin/tests/unit/drivers/hpe/hpe_3par/test_hpe_3parstor.py b/delfin/tests/unit/drivers/hpe/hpe_3par/test_hpe_3parstor.py index f24cd9d5f..c0f0517e1 100644 --- a/delfin/tests/unit/drivers/hpe/hpe_3par/test_hpe_3parstor.py +++ b/delfin/tests/unit/drivers/hpe/hpe_3par/test_hpe_3parstor.py @@ -1321,6 +1321,7 @@ def __init__(self): 'storage_id': '12345', 'native_storage_host_initiator_id': '2408244427906812', 'wwn': '2408244427906812', + 'alias': '2408244427906812', 'type': 'fc', 'status': 'online', 'native_storage_host_id': '175'