GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.12k stars 433 forks source link

Ability to move node between computes in a project #3260

Open eantowne opened 2 years ago

eantowne commented 2 years ago

In a multi-compute environment, being able to move a node of a project from one compute to another would be very useful.

Example:

Currently, this would require making a backup of the running node's internal configuration, delete the node from the project, then re-add it to the project, but running on compute A or B. Additionally, installation of the appliance may be necessary on the new compute location.

Proposed methodology:

  1. If in a multi-compute environment, UI should enable elements to allow for movement of nodes between computes (Menu option, context-menu), assuming node is powered off.
  2. Upon user action requesting move, compute checks if required appliance with specific version is installed on requested compute.
  3. If not, user is asked if they want to install the appliance to the new compute. If so, installation occurs.
  4. Check for node powered state, and power-off if running (user notification).
  5. Node "copied" to purgatory (holding area so that two of the same nodes do not exist).
  6. Node removed from old compute.
  7. Node added to new compute.
  8. "Purgatory" copy of the node maintained in case something goes wrong, allowing for an "undo" capability.
jean-christophe-manciot commented 2 years ago

This requested feature is definitely needed.

I have a few comments: