-
Notifications
You must be signed in to change notification settings - Fork 95
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
ovs: ability to set VLAN tag on port #56
Comments
I wasn't even aware of this option until now. To clarify, can you not accomplish the same thing by pushing/popping VLANs with flows? |
In some scenario, we use the |
I think I would prefer to add this alongside the other "ovs-vsctl set" methods in this structure: https://github.com/digitalocean/go-openvswitch/blob/master/ovs/vswitch.go#L182 for consistency, rather than adding more parameters to AddPort immediately. PRs are welcome. |
Please have a look. #57 |
Hello everyone in this thread, I'm currently attempting to add a new network interface card to a bridge and apply a VLAN tag to it, similar to separating it directly from the Ethernet interface, as shown below:
I've noticed that the AddPort function doesn't support additional parameters, and I referred to the following sources for guidance: #56 (comment) and #57 PR (by @chenyunchen). However, according to the official documentation, ovs-vsctl add-port does support additional features such as GRE, DPDK, erspan, etc. I'm interested in finding out if @mdlayher is willing to add more parameters to the AddPort function or if I could help implement these additional features, as it appears that they cannot be implemented through ovs-vsctl. On a side note, my Open vSwitch version is as follows:
Thank you, and please feel free to share any additional ideas or thoughts. |
I haven't worked for DigitalOcean in several years now. Best of luck. |
Hi.
I want to use the vSwitch client to add the port with the vlan tag.
I saw the original AddPort method only accept the interface name but no more options.
go-openvswitch/ovs/vswitch.go
Lines 54 to 57 in 813765f
Thanks.
The text was updated successfully, but these errors were encountered: