vpcs = Node(project_id=project.project_id, name=vpcs_name, template_id=template_id, connector=gns3_server, x=50, y=40)
vpcs.create() # Node is placed at 0,0 instead of at 40,50
###vpcs.update(x=vpcs_x, y=vpcs_y) # Must call update() for the coordinates 40,50 to be correctly applied
When creating a node with specific x,y coordinates using the GNS3 API directly, the node is placed at the given coordinates 40,50:
This code creates a VPCS node using
gns3fy
:Here is a fix (gns3fy.py, lines 1025-1028):