Allow renaming cluster, host, and storage (#608)

* Allow renaming cluster, host, and storage

CloudStack PR: https://github.com/apache/cloudstack/pull/4165

* change clustername.label to Cluster Name

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Gabriel Beims Bräscher 2020-08-26 06:35:05 -03:00 committed by Rohit Yadav
parent c8255adeed
commit 419387ac7a
4 changed files with 10 additions and 3 deletions

View File

@ -58,6 +58,13 @@ export default {
popup: true,
component: () => import('@/views/infra/ClusterAdd.vue')
},
{
api: 'updateCluster',
icon: 'edit',
label: 'label.edit',
dataView: true,
args: ['clustername']
},
{
api: 'updateCluster',
icon: 'play-circle',

View File

@ -59,7 +59,7 @@ export default {
icon: 'edit',
label: 'label.edit',
dataView: true,
args: ['hosttags', 'oscategoryid'],
args: ['name', 'hosttags', 'oscategoryid'],
mapping: {
oscategoryid: {
api: 'listOsCategories'

View File

@ -61,7 +61,7 @@ export default {
icon: 'edit',
label: 'label.edit',
dataView: true,
args: ['tags', 'capacitybytes', 'capacityiops']
args: ['name', 'tags', 'capacitybytes', 'capacityiops']
},
{
api: 'enableStorageMaintenance',

View File

@ -549,7 +549,7 @@
"label.cluster.name": "Cluster Name",
"label.cluster.size": "Cluster size",
"label.clusterid": "Cluster",
"label.clustername": "Cluster",
"label.clustername": "Cluster Name",
"label.clusternamelabel": "Cluster Name",
"label.clusters": "Clusters",
"label.clustertype": "Cluster Type",