-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unable to create vlan or vlantemplate with vlan ID 0 #5
Comments
Thanks for reporting this, and looking into it! |
I looked into this issue, and here are my findings: Removing the For example, in enterprise.go the Here is an example of what I just described:
Output
We could put the I will explore two options:
The first option is easier to implement but require to change many project implementation. What are your thoughts about these options ? |
I would argue that any project is using vspk go successfully given that they aren't able to create an untagged VLAN. @pdellaert any progress with this as we are on a verge of 6.0? |
@hellt , sorry... No, since Remy left, the subject has been very silent and i'm lacking the expertise to solve this issue myself. |
When creating a vlan or vlantemplate with VLAN ID 0, the program throws the error below:
Both vlan and vlantemplate are configured to omit the VLAN ID if empty. Golang interprets int(0) as empty, and thus the value is not passed to the API.
I am going to open an issue and work on a pull request on monolithe to fix this across all rest objects.
The text was updated successfully, but these errors were encountered: