mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: add action syncStoragePool (#5098)
Added action in UI for syncStoragePool API for DatastoreCluster type primary storages. Fixes #5086 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
12b2e80d82
commit
9dd0acf8c9
@ -2063,6 +2063,7 @@
|
||||
"label.supportsstrechedl2subnet": "Supports Streched L2 Subnet",
|
||||
"label.suspend.project": "Suspend Project",
|
||||
"label.switch.type": "Switch Type",
|
||||
"label.sync.storage": "Sync Storage Pool",
|
||||
"label.system.capacity": "System Capacity",
|
||||
"label.system.offering": "System Offering",
|
||||
"label.system.offering.for.router": "System Offering for Router",
|
||||
@ -2627,6 +2628,7 @@
|
||||
"message.confirm.start.lb.vm": "Please confirm you want to start LB VM",
|
||||
"message.confirm.stop.kubernetes.cluster": "Please confirm that you want to stop this Kubernetes cluster.",
|
||||
"message.confirm.stop.lb.vm": "Please confirm you want to stop LB VM",
|
||||
"message.confirm.sync.storage": "Please confirm you want to sync the storage pool",
|
||||
"message.confirm.upgrade.router.newer.template": "Please confirm that you want to upgrade router to use newer template",
|
||||
"message.confirm.upgrade.routers.account.newtemplate": "Please confirm that you want to upgrade all routers in this account to use newer template",
|
||||
"message.confirm.upgrade.routers.cluster.newtemplate": "Please confirm that you want to upgrade all routers in this cluster to use newer template",
|
||||
|
||||
@ -81,6 +81,14 @@ export default {
|
||||
defaultArgs: { enabled: true },
|
||||
show: (record) => { return record.state === 'Disabled' }
|
||||
},
|
||||
{
|
||||
api: 'syncStoragePool',
|
||||
icon: 'sync',
|
||||
label: 'label.sync.storage',
|
||||
message: 'message.confirm.sync.storage',
|
||||
dataView: true,
|
||||
show: (record) => { return record.state === 'Up' && record.type === 'DatastoreCluster' }
|
||||
},
|
||||
{
|
||||
api: 'enableStorageMaintenance',
|
||||
icon: 'plus-square',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user