Merge "PowerStore Driver - New format of connection properties for NVMeOF connector"
This commit is contained in:
commit
771cdede49
@ -1175,13 +1175,12 @@ class NVMEoFAdapter(CommonAdapter):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
portals, nqn = self._get_nvme_targets()
|
portals, nqn = self._get_nvme_targets()
|
||||||
|
target_portals = [(portal, 4420, "tcp") for portal in portals]
|
||||||
return {
|
return {
|
||||||
"driver_volume_type": self.driver_volume_type,
|
"driver_volume_type": self.driver_volume_type,
|
||||||
"data": {
|
"data": {
|
||||||
"target_portal": portals[0],
|
"portals": target_portals,
|
||||||
"nqn": nqn,
|
"target_nqn": nqn,
|
||||||
"target_port": 4420,
|
|
||||||
"transport_type": "tcp",
|
|
||||||
"volume_nguid": volume_identifier,
|
"volume_nguid": volume_identifier,
|
||||||
"discard": True,
|
"discard": True,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user