Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit cc0bf03

Browse files
Allow renaming cluster, host, and storage
CloudStack PR: apache/cloudstack#4165
1 parent 70760d5 commit cc0bf03

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

src/config/section/infra/clusters.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@ export default {
5858
popup: true,
5959
component: () => import('@/views/infra/ClusterAdd.vue')
6060
},
61+
{
62+
api: 'updateCluster',
63+
icon: 'edit',
64+
label: 'label.edit',
65+
dataView: true,
66+
listView: true,
67+
popup: true,
68+
args: ['name']
69+
},
70+
{
71+
api: 'updatePod',
72+
icon: 'edit',
73+
label: 'label.edit',
74+
dataView: true,
75+
args: ['name', 'netmask', 'gateway']
76+
},
6177
{
6278
api: 'updateCluster',
6379
icon: 'play-circle',

src/config/section/infra/hosts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default {
5959
icon: 'edit',
6060
label: 'label.edit',
6161
dataView: true,
62-
args: ['hosttags', 'oscategoryid'],
62+
args: ['name', 'hosttags', 'oscategoryid'],
6363
mapping: {
6464
oscategoryid: {
6565
api: 'listOsCategories'

src/config/section/infra/primaryStorages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default {
6161
icon: 'edit',
6262
label: 'label.edit',
6363
dataView: true,
64-
args: ['tags', 'capacitybytes', 'capacityiops']
64+
args: ['name', 'tags', 'capacitybytes', 'capacityiops']
6565
},
6666
{
6767
api: 'enableStorageMaintenance',

0 commit comments

Comments
 (0)