Skip to content

Commit

Permalink
Add entry point for Dell EMC PMAX, HPE Primera, H3C Unistor Converged…
Browse files Browse the repository at this point in the history
… Fabric, Inspur AS5500/AS5300/AS2600/AS2200
  • Loading branch information
qinwang-murphy committed Nov 17, 2022
1 parent 37c45c6 commit 7b27fa4
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 1 deletion.
Empty file added delfin/drivers/h3c/__init__.py
Empty file.
Empty file.
22 changes: 22 additions & 0 deletions delfin/drivers/h3c/unistor_cf/unistor_cf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2022 The SODA Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from delfin.drivers.hpe.hpe_3par.hpe_3parstor import Hpe3parStorDriver


class H3cUniStorCfDriver(Hpe3parStorDriver):
def get_storage(self, context):
storage_info = super().get_storage(context)
storage_info['vendor'] = 'H3C'
return storage_info
Empty file.
Empty file.
22 changes: 22 additions & 0 deletions delfin/drivers/inspur/as5500/as5500.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2022 The SODA Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from delfin.drivers.ibm.storwize_svc.storwize_svc import StorwizeSVCDriver


class As5500Driver(StorwizeSVCDriver):
def get_storage(self, context):
storage = super().get_storage(context)
storage['vendor'] = 'Inspur'
return storage
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,22 @@
'fujitsu eternus = delfin.drivers.fujitsu.eternus.eternus_stor:EternusDriver',
'dellemc unity = delfin.drivers.dell_emc.unity.unity:UnityStorDriver',
'dellemc vmax = delfin.drivers.dell_emc.vmax.vmax:VMAXStorageDriver',
'dellemc pmax = delfin.drivers.dell_emc.vmax.vmax:VMAXStorageDriver',
'dellemc vnx_block = delfin.drivers.dell_emc.vnx.vnx_block.vnx_block:VnxBlockStorDriver',
'dellemc vplex = delfin.drivers.dell_emc.vplex.vplex_stor:VplexStorageDriver',
'hitachi vsp = delfin.drivers.hitachi.vsp.vsp_stor:HitachiVspDriver',
'hpe 3par = delfin.drivers.hpe.hpe_3par.hpe_3parstor:Hpe3parStorDriver',
'hpe primera = delfin.drivers.hpe.hpe_3par.hpe_3parstor:Hpe3parStorDriver',
'hpe msa = delfin.drivers.hpe.hpe_msa.hpe_msastor:HpeMsaStorDriver',
'huawei oceanstor = delfin.drivers.huawei.oceanstor.oceanstor:OceanStorDriver',
'ibm storwize_svc = delfin.drivers.ibm.storwize_svc.storwize_svc:StorwizeSVCDriver',
'ibm ds8k = delfin.drivers.ibm.ds8k.ds8k:DS8KDriver',
'netapp cmode = delfin.drivers.netapp.dataontap.cluster_mode:NetAppCmodeDriver',
'hitachi hnas = delfin.drivers.hitachi.hnas.hds_nas:HitachiHNasDriver',
'pure flasharray = delfin.drivers.pure.flasharray.pure_flasharray:PureFlashArrayDriver'
'pure flasharray = delfin.drivers.pure.flasharray.pure_flasharray:PureFlashArrayDriver',
'h3c unistor_cf = delfin.drivers.h3c.unistor_cf.unistor_cf:H3cUniStorCfDriver',
# AS5500/AS5300/AS2600/AS2200 use the same driver
'inspur as5500 = delfin.drivers.inspur.as5500.as5500:As5500Driver'
]
},
)

0 comments on commit 7b27fa4

Please sign in to comment.