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

Export Portable Project always exports devices as local #3554

Closed
Pcrossley69 opened this issue Jan 4, 2024 · 1 comment · Fixed by #3591 or GNS3/gns3-server#2393
Closed

Export Portable Project always exports devices as local #3554

Pcrossley69 opened this issue Jan 4, 2024 · 1 comment · Fixed by #3591 or GNS3/gns3-server#2393
Labels

Comments

@Pcrossley69
Copy link

Describe the bug
When exporting a portable project a zipped GNS3 project fie is created.
This contains a projec.gns3 file that describes the project.

Nodes in this file contain descriptions that include information of the form:
"nodes": [{"compute_id": "local",

This is true even if the project is being exported from a vm.

Consequently whenever I export a portable project, I have to do a global search and replace in this file replacing
"compute_id": "local" with "compute_id": "vm"

It seems to me that the default action should be to set the compute_id to match where you export from
At the very least docker containers should default to vm as they won't run locally.

Another possibility would be to offer a choice when the export starts "vm" or "local"

GNS3 version and operating system (please complete the following information):

  • OS: Windows 10 22H2
  • GNS3 version 2.2.44.1
  • Any use of the GNS3 VM or remote server: VNWARE vm

To Reproduce
Steps to reproduce the behavior:

  1. Open a project
  2. Dont start anything
  3. Use File->Export Portable Project
  4. Use File Import Portable project to import with a new name
  5. Any items that were on the vm will try to load to the local server !
@grossmj
Copy link
Member

grossmj commented Jul 6, 2024

I have added the option "Keep the original compute IDs" in Export Portable Project. That should solve your issue.

@grossmj grossmj closed this as completed Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants