Skip to content

Commit

Permalink
Merge pull request #1124 from ioito/automated-cherry-pick-of-#1123-up…
Browse files Browse the repository at this point in the history
…stream-release-3.12

Automated cherry pick of #1123: fix(zettakit): add zettakit const
  • Loading branch information
ioito authored Nov 22, 2024
2 parents 75997d7 + 4958a46 commit 54d8474
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apis/compute/cloudaccount_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const (
CLOUD_PROVIDER_VOLCENGINE = "VolcEngine"
CLOUD_PROVIDER_ORACLE = "OracleCloud"
CLOUD_PROVIDER_SANGFOR = "SangFor"
CLOUD_PROVIDER_ZETTAKIT = "ZettaKit"

CLOUD_PROVIDER_GENERICS3 = "S3"
CLOUD_PROVIDER_CEPH = "Ceph"
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/compute/guest_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const (
HYPERVISOR_VOLCENGINE = "volcengine"
HYPERVISOR_ORACLE = "oracle"
HYPERVISOR_SANGFOR = "sangfor"
HYPERVISOR_ZETTAKIT = "zettakit"
)

const (
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/compute/host_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const (
HOST_TYPE_VOLCENGINE = "volcengine"
HOST_TYPE_ORACLE = "oracle"
HOST_TYPE_SANGFOR = "sangfor"
HOST_TYPE_ZETTAKIT = "zettakit"

// # possible status
HOST_ONLINE = "online"
Expand Down
3 changes: 3 additions & 0 deletions pkg/apis/compute/storage_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ const (
STORAGE_BAIDU_ENHANCED_SSD_PL1 = "enhanced_ssd_pl1" // 增强型SSD_PL1
STORAGE_BAIDU_ENHANCED_SSD_PL2 = "enhanced_ssd_pl2" // 增强型SSD_PL2
STORAGE_BAIDU_ENHANCED_SSD_PL3 = "enhanced_ssd_pl3" // 增强型SSD_PL2

// ZettaKit
STORAGE_ZETTAKIT_NORMAL = "normal"
)

const (
Expand Down

0 comments on commit 54d8474

Please sign in to comment.