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

Cannot change default VLAN for an access port for builtin Ethernet switch (GNS3 3.0.0 alpha 4) #3528

Closed
cristian-ciobanu opened this issue Oct 20, 2023 · 1 comment
Labels

Comments

@cristian-ciobanu
Copy link

cristian-ciobanu commented Oct 20, 2023

Describe the bug
Cannot change default VLAN of an access port for builtin Ethernet switch (GNS3 3.0.0 alpha 4)

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

OS: ArchLinux
GNS3 version: 3.0.0 alpha 4
GNS3 server and GUI are running on same machine (bare metal)
Python version: 3.11 (Pydantic 2.0.3)
To Reproduce
Steps to reproduce the behavior:

  1. Drag a builtin Ethernet switch from All devices list on the topology and then right click on the device and choose Configure
  2. Select one existing access port and change default VLAN 1 to a different VLAN (100 for example) in the VLAN field
  3. Click Add and the Apply to update the modification.
  4. A popup error is being displayed with HTTP error 422 received.

I compared it version 2.2.x and I see the Ethertype field is prefilled with value 0x8100 in version 3.0.0 and and 2.2.x there is no value for Ethertype specified for each port.

Screenshots or videos

gns3_switch_vlan_01
gns3_switch_vlan_02

Additional context
I see the validation for the ports on the builtin switch is being done here https://github.com/GNS3/gns3-server/blob/3.0/gns3server/schemas/compute/ethernet_switch_nodes.py

@grossmj
Copy link
Member

grossmj commented Oct 23, 2023

Thanks, this should be fixed now.

@grossmj grossmj closed this as completed Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants