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: Change Image for Configured Devices #1068

Open
uktricky opened this issue Feb 20, 2016 · 6 comments
Open

REQ: Change Image for Configured Devices #1068

uktricky opened this issue Feb 20, 2016 · 6 comments
Assignees
Milestone

Comments

@uktricky
Copy link

Open a "Project"
Detect if running devices or not - stop if running.
Have a dialog box that would show all the "configured" images in use
Allow selection (change to) a new image which would then update the .GNS3 file

Ideally to be able to select which devices you'd want to move images on or select all
Images would need to be pre-configured in Preferences so that GNS3 knows about them

Would allow switching from one image to another if a new one comes out or you want to get additional stability by reverting back to a previous image.

@julien-duponchelle
Copy link
Contributor

The problem with changing the images is that could require to wipe all files for this device to properly work (for qemu for example).

Due to that I think it's usefull only for dynamips and IOU since we can reuse the startup config after erasing all stuff like NVRAM.

@uktricky
Copy link
Author

Was thinking more of the IOU images to be honest but agree with view

@danieldemers
Copy link

Currently I feel IOU/Dynamips is the main use of GNS3 and was the core reason GNS3 came into being from my point of view. I feel the ability to do this would be a major plus to allowing the sharing of projects. Many issues when I share labs with others who primarily are studying for certs I imagine but it breaks because we are using different images.

@julien-duponchelle
Copy link
Contributor

Actually if you don't have the image GNS3 will ask you for the missing image. But it's possible that sometimes images for the same hardware are not compatible. This why erasing the NVRAM could improve the export.

I don't know the number but ASA and Juniper are also an important usage.

@grossmj grossmj added this to the 1.4.6 milestone Mar 10, 2016
@grossmj grossmj self-assigned this Mar 10, 2016
@grossmj
Copy link
Member

grossmj commented Mar 24, 2016

This creates some problems on the implementation side. We will consider it after 2.0

@grossmj grossmj modified the milestones: 2.1, 1.4.6 Mar 24, 2016
@grossmj grossmj modified the milestones: TBD, 2.1 May 27, 2016
@n3oxmind
Copy link

@uktricky , I wrote a script will list current project(s) images and replace any one of them on the fly. I wrote that because i found my self testing and replacing IOU images a lot.
here is an example:
First list the project images
gns3hack --list-images
"i86bi-linux-l3-adventerprisek9-15.5.2T.bin"
"i86bi_linux_l2-advipservicesk9-ms.nov3_2015_high_iron.bin"
"i86bi_linux_l2-advipservicesk9-ms.nov3_2015_high_iron.bin"
"i86bi_linux_l2-advipservicesk9-ms.nov3_2015_high_iron.bin"
"i86bi_linux_l2-advipservicesk9-ms.nov3_2015_high_iron.bin"
"i86bi_linux_l2-advipservicesk9-ms.nov3_2015_high_iron.bin"

Second replace the project images
gns3hack -i "i86bi-linux-l3-adventerprisek9-15.5.2T.bin" "YOUR_NEW_IMG"

here is a link to my script gns3hack

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

5 participants