Skip to content

Commit bb7da1c

Browse files
ZhengYa-0110SongZhen0704
authored andcommitted
feat: add manageone config
1 parent d4f665c commit bb7da1c

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

server/controller/cloud/config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ type FusionComputeConfig struct {
3131

3232
type HuaweiManageOneConfig struct {
3333
DuplicationEnabled bool `default:"false" yaml:"duplication_enabled"` // 支持重复对接
34+
LBSyncEnabled bool `default:"true" yaml:"lb_sync_enabled"`
3435
}
3536

3637
type CloudConfig struct {

server/server.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@ controller:
243243
huawei_manageone:
244244
# 支持重复对接
245245
duplication_enabled: false
246+
# 支持 lb 对接
247+
lb_sync_enabled: true
246248
recorder:
247249
# recorder模块缓存自愈刷新时间间隔,单位:分钟,默认:60 * 24
248250
cache_refresh_interval: 1440

0 commit comments

Comments
 (0)