ansible-collection-gns3 icon indicating copy to clipboard operation
ansible-collection-gns3 copied to clipboard

Additional Project properties

Open Domoninic opened this issue 2 years ago • 2 comments

Additional project properties for scene_height, scene_width and project_path. project_path is only used if Project name is also specified as it make no sense to put a friendly path on a project identified by a GUID if no value for scene_height and scene_width is specified they are set null so the GNS3 defaults are respected

Domoninic avatar Sep 10 '23 19:09 Domoninic

This seems pretty cool, do you have an example screenshot of a lab with these settings turned on?

davidban77 avatar Sep 11 '23 11:09 davidban77

This seems pretty cool, do you have an example screenshot of a lab with these settings turned on?

Sure: Project Path Project Settings

Created with a play containing: project_name: "{{ project_name }}" project_path: "{{ projects_path }}{{ project_name }}" scene_height: 550 scene_width: 550 where the vars contain : project_name: "GNS3fy_Ansible" projects_path: "/opt/gns3/projects/"

My use case for the path is having a central GNS3 server as a Lab environment for multiple trainees and using their username to differentiate who each project belongs to on the assumption they will all do the same set of labs.

Domoninic avatar Sep 11 '23 17:09 Domoninic