-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
Product / Portfolio Work
-
False
-
False
-
-
- Add "Migrate" action for virtual machines -> navigate to multicloud/infrastructure/virtualmachines/ {id}/migrate
- add a new route at VirtualMachines opening an empty or simple modal
- action shouldn't be enabled when the VM is being migrated
- action should RBACed (like rbacCreate(PlanDefinition), being PlanDefinition the new TS for Plan, see discussion at https://www.figma.com/design/0ydoeszh7xITK5l3f4XyNC?node-id=581-431817#1300356253. See rbac example at https://github.com/stolostron/console/blob/789532235206013d54e77458227f913e4f82496d/frontend/src/routes/AccessControlManagement/AccessControlManagementTable.tsx#L31)
- new statuses for "Migrating + Migrated" should be implemented.
keep in mind, the new route will open the table, but taking {id}
from the URL and then show/open migration modal