-
Notifications
You must be signed in to change notification settings - Fork 498
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
Added OpenvSwitch fake bridge support #102
Conversation
…ctl add-br BRIDGE PARENT VLAN)
Hi, can you please add a bit of rationale to this PR? Why do you want to have an integration bridge? thanks!! |
I have this ovs configuration:
As you can see ovs-br-int is "fake bridge" which is bridge with tag (vlan) support, if you attach vnet to his bridge, it is really will be attached to parent bridge ovs-br-agg not to ovs-br-int, and after this tag will be also added to this vnet. As result of this behavior of ovs without my pull request deployment of new instances or migration of already exiting instances will fail with error on adding / removed flows with ovs-ofctl because fake bridge is not real bridge and flows which must be set on it must be set on parent real bridge instead of this. This pull request adding search for parent real bridge for ovs-ofctl commands. |
Sorry to bother you a bit more :) So the BRIDGE in your vnet template is ovs-br-int then, and not ovs-br-agg? You mention this is to add vlan support, however, the OVS already handles vlan support, doesn't it? What extra functionality are you obtaining by using a fake bridge in the vnet template and not the parent bridge? (I'm all in favour of merging this PR, but I want to understand it first) |
Sorry for long wait for an answer.
yes
Yes you are right. Maybe this PR may be also useful for some custom ovs configuration for certain situations (maybe for STP or other settings which must be other than on physical-bounded ovs bridge). Anyway we are already using this code in our production systems which are running under One 5.0 and 4.14 (I also have backport of this PR for it). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. The OpenNebula Dev Team |
This issue has been automatically closed due to lack of activity/feedback. Please reopen if you have further input or need to bump this. The OpenNebula Dev Team |
(cherry picked from commit 0c7b053)
(cherry picked from commit 0c7b053)
Added OpenvSwitch fake bridge support.
Fake bridge - bridge which created by ovs-vsctl add-br BRIDGE PARENT VLAN