Skip to content

Commit f7a04b7

Browse files
committed
UI: Add cluster arch type to the zone creation wizard
1 parent e57a82a commit f7a04b7

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

ui/src/views/infra/zone/ZoneWizardAddResources.vue

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,14 @@ export default {
192192
placeHolder: 'message.error.cluster.name',
193193
required: true
194194
},
195+
{
196+
title: 'label.arch',
197+
key: 'arch',
198+
placeHolder: 'message.error.cluster.name',
199+
required: false,
200+
select: true,
201+
options: this.archTypes
202+
},
195203
{
196204
title: 'label.vcenter.host',
197205
key: 'vCenterHost',
@@ -846,9 +854,16 @@ export default {
846854
primaryStorageScopes: [],
847855
primaryStorageProtocols: [],
848856
primaryStorageProviders: [],
857+
archTypes: [{
858+
id: 'x86_64',
859+
description: 'AMD 64 bits (x86_64)'
860+
}, {
861+
id: 'aarch64',
862+
description: 'ARM 64 bits (aarch64)'
863+
}],
849864
storageProviders: [],
850865
currentStep: null,
851-
options: ['primaryStorageScope', 'primaryStorageProtocol', 'provider', 'primaryStorageProvider']
866+
options: ['primaryStorageScope', 'primaryStorageProtocol', 'provider', 'primaryStorageProvider', 'archType']
852867
}
853868
},
854869
created () {

ui/src/views/infra/zone/ZoneWizardLaunchZone.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,7 @@ export default {
12831283
if (this.isEdgeZone) {
12841284
clusterName = 'Cluster-' + this.stepData.zoneReturned.name
12851285
}
1286+
params.arch = this.prefillContent?.arch || null
12861287
12871288
if (hypervisor === 'VMware') {
12881289
params.username = this.prefillContent?.vCenterUsername || null

0 commit comments

Comments
 (0)