fix(region): support cnware (#23388)

This commit is contained in:
屈轩
2025-09-26 14:44:37 +08:00
committed by GitHub
parent 524c676797
commit 4a2aa7eb5d
26 changed files with 575 additions and 12 deletions
+1 -1
View File
@@ -1900,7 +1900,7 @@ sigs.k8s.io/structured-merge-diff/v4/value
# sigs.k8s.io/yaml v1.2.0
## explicit; go 1.12
sigs.k8s.io/yaml
# yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20250926020310-3d004271191d
# yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20250926060627-f3514bd9ae0e
## explicit; go 1.24
yunion.io/x/cloudmux/pkg/apis
yunion.io/x/cloudmux/pkg/apis/billing
+1
View File
@@ -50,6 +50,7 @@ const (
CLOUD_PROVIDER_ZETTAKIT = "ZettaKit"
CLOUD_PROVIDER_UIS = "UIS"
CLOUD_PROVIDER_CAS = "CAS"
CLOUD_PROVIDER_CNWARE = "CNware"
CLOUD_PROVIDER_GENERICS3 = "S3"
CLOUD_PROVIDER_CEPH = "Ceph"
+1
View File
@@ -83,6 +83,7 @@ const (
HYPERVISOR_ZETTAKIT = "zettakit"
HYPERVISOR_UIS = "uis"
HYPERVISOR_CAS = "cas"
HYPERVISOR_CNWARE = "cnware"
)
const (
+1
View File
@@ -52,6 +52,7 @@ const (
HOST_TYPE_ZETTAKIT = "zettakit"
HOST_TYPE_UIS = "uis"
HOST_TYPE_CAS = "cas"
HOST_TYPE_CNWARE = "cnware"
// # possible status
HOST_ONLINE = "online"
+8
View File
@@ -132,6 +132,14 @@ const (
STORAGE_BAIDU_ENHANCED_SSD_PL2 = "enhanced_ssd_pl2" // 增强型SSD_PL2
STORAGE_BAIDU_ENHANCED_SSD_PL3 = "enhanced_ssd_pl3" // 增强型SSD_PL2
// cnware storage type
STORAGE_CNWARE_FC_SAN = "fc-san"
STORAGE_CNWARE_IP_SAN = "ip-scan"
STORAGE_CNWARE_NAS = "nas"
STORAGE_CNWARE_CEPH = "ceph"
STORAGE_CNWARE_LOCAL = "local"
STORAGE_CNWARE_NVME = "nvme"
// ZettaKit
STORAGE_ZETTAKIT_NORMAL = "normal"
)