@@ -316,7 +316,9 @@ export default {
316
316
}
317
317
if ([' zoneid' , ' domainid' , ' imagestoreid' , ' storageid' , ' state' , ' account' , ' hypervisor' , ' level' ,
318
318
' clusterid' , ' podid' , ' groupid' , ' entitytype' , ' accounttype' , ' systemvmtype' , ' scope' , ' provider' ,
319
- ' type' , ' scope' , ' managementserverid' , ' serviceofferingid' , ' diskofferingid' , ' networkid' , ' usagetype' , ' restartrequired' , ' displaynetwork' ].includes (item)
319
+ ' type' , ' scope' , ' managementserverid' , ' serviceofferingid' ,
320
+ ' diskofferingid' , ' networkid' , ' usagetype' , ' restartrequired' ,
321
+ ' displaynetwork' , ' arch' ].includes (item)
320
322
) {
321
323
type = ' list'
322
324
} else if (item === ' tags' ) {
@@ -451,6 +453,13 @@ export default {
451
453
]
452
454
this .fields [apiKeyAccessIndex].loading = false
453
455
}
456
+
457
+ if (arrayField .includes (' arch' )) {
458
+ const typeIndex = this .fields .findIndex (item => item .name === ' arch' )
459
+ this .fields [typeIndex].loading = true
460
+ this .fields [typeIndex].opts = this .fetchArchitectureTypes ()
461
+ this .fields [typeIndex].loading = false
462
+ }
454
463
},
455
464
async fetchDynamicFieldData (arrayField , searchKeyword ) {
456
465
const promises = []
@@ -682,6 +691,9 @@ export default {
682
691
if (accountIndex > - 1 ) {
683
692
this .fields [accountIndex].loading = false
684
693
}
694
+ if (hypervisorIndex > - 1 ) {
695
+ this .fields [hypervisorIndex].loading = false
696
+ }
685
697
if (imageStoreIndex > - 1 ) {
686
698
this .fields [imageStoreIndex].loading = false
687
699
}
@@ -1322,6 +1334,12 @@ export default {
1322
1334
})
1323
1335
})
1324
1336
},
1337
+ fetchArchitectureTypes () {
1338
+ return [
1339
+ { id: ' x86_64' , name: ' AMD 64 bits (x86_64)' },
1340
+ { id: ' aarch64' , name: ' ARM 64 bits (aarch64)' }
1341
+ ]
1342
+ },
1325
1343
onSearch (value ) {
1326
1344
this .paramsFilter = {}
1327
1345
this .searchQuery = value
0 commit comments