Merge "PowerStore Driver - New format of connection properties for NVMeOF connector"

This commit is contained in:
Zuul 2022-09-21 13:26:09 +00:00 committed by Gerrit Code Review
commit 771cdede49
1 changed files with 3 additions and 4 deletions

View File

@ -1175,13 +1175,12 @@ class NVMEoFAdapter(CommonAdapter):
"""
portals, nqn = self._get_nvme_targets()
target_portals = [(portal, 4420, "tcp") for portal in portals]
return {
"driver_volume_type": self.driver_volume_type,
"data": {
"target_portal": portals[0],
"nqn": nqn,
"target_port": 4420,
"transport_type": "tcp",
"portals": target_portals,
"target_nqn": nqn,
"volume_nguid": volume_identifier,
"discard": True,
},