Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQ - Duplicate a device (including Config) #1065

Closed
uktricky opened this issue Feb 19, 2016 · 7 comments
Closed

REQ - Duplicate a device (including Config) #1065

uktricky opened this issue Feb 19, 2016 · 7 comments
Assignees
Milestone

Comments

@uktricky
Copy link

Within GNS3 be able to right click on a device and select duplicate (like we do for text boxes etc) would force the name of the device to change but would copy the device and config. Obviously we'd need to amend config once the device was started as required.

Even better would be to highlight an area of Topology in GNS3 and be able to "Copy" and then "Paste" either into existing or New Project?

@julien-duponchelle
Copy link
Contributor

@grossmj grossmj self-assigned this May 23, 2016
@grossmj
Copy link
Member

grossmj commented Jun 2, 2016

I think the duplication should be done on GUI side... what do you think @noplay?

@julien-duponchelle
Copy link
Contributor

julien-duponchelle commented Jun 2, 2016

I think it's not easy and could only be done on server side because require direct access to the disk.

And each emulator need a specific implementation. By the way duplicate for text & co will also need to be backported for 2.0 when this elements will be server side.

Dynamips

  • copy the config files
  • fix the name in the config

VPCS

  • copy the config files
  • fix the name in the config

IOU

  • copy the config files
  • fix the name in the config

Qemu

  • copy the disk
  • relocate the disk
  • change the mac address

Docker

  • duplicate the container
  • copy the files

VirtualBox / VMware

  • create a linked clone or copy the vm or disallow?

@grossmj grossmj modified the milestones: 2.1, 2.0 Jun 16, 2016
@grossmj grossmj removed their assignment Jan 19, 2017
@julien-duponchelle
Copy link
Contributor

Note for some appliance duplicate will create a trouble because crypto key like the ssh fingerprint will be the same.

@grossmj
Copy link
Member

grossmj commented May 12, 2017

I think we can have a warning about that so users are aware of it.

julien-duponchelle added a commit that referenced this issue Jul 20, 2017
julien-duponchelle added a commit that referenced this issue Jul 20, 2017
julien-duponchelle added a commit to GNS3/gns3-server that referenced this issue Jul 20, 2017
@julien-duponchelle
Copy link
Contributor

julien-duponchelle commented Jul 24, 2017

Current status:

  • VPCS
  • Dynamips router
  • Ethernet switch
  • Qemu
  • IOU
  • Docker
  • Atm switch
  • Frame relay
  • Ethernet Hub
  • VMware
  • VirtualBox

julien-duponchelle added a commit to GNS3/gns3-server that referenced this issue Jul 25, 2017
julien-duponchelle added a commit to GNS3/gns3-server that referenced this issue Jul 25, 2017
@julien-duponchelle
Copy link
Contributor

For VMware and VirtualBox we can't support duplicate because without linked clone it's not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants