feat: add vm-migration-network setting (#395) (#398)

(cherry picked from commit 4486f71c8f)

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
Co-authored-by: Yiya Chen <yiya.chen@suse.com>
This commit is contained in:
mergify[bot]
2025-07-16 10:22:31 +08:00
committed by GitHub
co-authored by Yiya Chen
parent 53d2e67b4f
commit 7b8592e07d
4 changed files with 291 additions and 1 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ const FEATURE_FLAGS = {
'v1.6.0': [
'vmMachineTypes',
'customSupportBundle',
'csiOnlineExpandValidation'
'csiOnlineExpandValidation',
'vmNetworkMigration'
]
};
+4
View File
@@ -36,6 +36,7 @@ export const HCI_SETTING = {
LONGHORN_V2_DATA_ENGINE_ENABLED: 'longhorn-v2-data-engine-enabled',
ADDITIONAL_GUEST_MEMORY_OVERHEAD_RATIO: 'additional-guest-memory-overhead-ratio',
UPGRADE_CONFIG: 'upgrade-config',
VM_MIGRATION_NETWORK: 'vm-migration-network',
};
export const HCI_ALLOWED_SETTINGS = {
@@ -107,6 +108,9 @@ export const HCI_ALLOWED_SETTINGS = {
featureFlag: 'upgradeConfigSetting',
docPath: 'UPGRADE_CONFIG_URL'
},
[HCI_SETTING.VM_MIGRATION_NETWORK]: {
kind: 'json', from: 'import', canReset: true, featureFlag: 'vmNetworkMigration',
},
};
export const HCI_SINGLE_CLUSTER_ALLOWED_SETTING = {