diff --git a/delfin/drivers/h3c/__init__.py b/delfin/drivers/h3c/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/delfin/drivers/h3c/unistor_cf/__init__.py b/delfin/drivers/h3c/unistor_cf/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/delfin/drivers/h3c/unistor_cf/unistor_cf.py b/delfin/drivers/h3c/unistor_cf/unistor_cf.py new file mode 100644 index 000000000..55c87d99d --- /dev/null +++ b/delfin/drivers/h3c/unistor_cf/unistor_cf.py @@ -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 diff --git a/delfin/drivers/inspur/__init__.py b/delfin/drivers/inspur/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/delfin/drivers/inspur/as5500/__init__.py b/delfin/drivers/inspur/as5500/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/delfin/drivers/inspur/as5500/as5500.py b/delfin/drivers/inspur/as5500/as5500.py new file mode 100644 index 000000000..b60f722e5 --- /dev/null +++ b/delfin/drivers/inspur/as5500/as5500.py @@ -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 diff --git a/setup.py b/setup.py index ba8b5a571..472ae59d8 100644 --- a/setup.py +++ b/setup.py @@ -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' ] }, )