Merge "Fix supported connectors for Power platform"
This commit is contained in:
commit
0f1a14beba
@ -177,6 +177,18 @@ _connector_mapping_linux_ppc64 = {
|
|||||||
initiator.FIBRE_CHANNEL:
|
initiator.FIBRE_CHANNEL:
|
||||||
('os_brick.initiator.connectors.fibre_channel_ppc64.'
|
('os_brick.initiator.connectors.fibre_channel_ppc64.'
|
||||||
'FibreChannelConnectorPPC64'),
|
'FibreChannelConnectorPPC64'),
|
||||||
|
initiator.DRBD:
|
||||||
|
'os_brick.initiator.connectors.drbd.DRBDConnector',
|
||||||
|
initiator.NFS:
|
||||||
|
'os_brick.initiator.connectors.remotefs.RemoteFsConnector',
|
||||||
|
initiator.ISCSI:
|
||||||
|
'os_brick.initiator.connectors.iscsi.ISCSIConnector',
|
||||||
|
initiator.LOCAL:
|
||||||
|
'os_brick.initiator.connectors.local.LocalConnector',
|
||||||
|
initiator.RBD:
|
||||||
|
'os_brick.initiator.connectors.rbd.RBDConnector',
|
||||||
|
initiator.GPFS:
|
||||||
|
'os_brick.initiator.connectors.gpfs.GPFSConnector',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Mapping for the windows connectors
|
# Mapping for the windows connectors
|
||||||
|
@ -182,6 +182,10 @@ class ConnectorTestCase(test_base.TestCase):
|
|||||||
obj = connector.InitiatorConnector.factory('iscsi', None)
|
obj = connector.InitiatorConnector.factory('iscsi', None)
|
||||||
self.assertEqual("ISCSIConnector", obj.__class__.__name__)
|
self.assertEqual("ISCSIConnector", obj.__class__.__name__)
|
||||||
|
|
||||||
|
obj = connector.InitiatorConnector.factory('iscsi', None,
|
||||||
|
arch='ppc64le')
|
||||||
|
self.assertEqual("ISCSIConnector", obj.__class__.__name__)
|
||||||
|
|
||||||
obj = connector.InitiatorConnector.factory('fibre_channel', None,
|
obj = connector.InitiatorConnector.factory('fibre_channel', None,
|
||||||
arch='x86_64')
|
arch='x86_64')
|
||||||
self.assertEqual("FibreChannelConnector", obj.__class__.__name__)
|
self.assertEqual("FibreChannelConnector", obj.__class__.__name__)
|
||||||
|
Loading…
Reference in New Issue
Block a user