[RFE] Implement vlan transparent for openvswitch ML2 driver

Bug #1604222 reported by Bo Chi
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Wishlist
Unassigned

Bug Description

There's some progress in ovs community to add QinQ support, email discussion: [1]

This bug is to leverages the effort in the ovs community to add QinQ support in order to enable vlan transparent networks when using the openvswitch ML2 driver. This will allow VMs to send out tagged packets, rather than being dropped.

The thought is to use the vlan_transparent property of network, which is added before, but never used in openvswitch ML2 driver.

[1] https://www.mail-archive.com/search?a=1&l=dev%40openvswitch.org&haswords=%22qinq+tunneling%22&x=12&y=11&from=&subject=&datewithin=2m&date=2016-07-13&notwords=&o=newest

Bo Chi (bochi-michael)
Changed in neutron:
assignee: nobody → Bo Chi (bochi-michael)
description: updated
Changed in neutron:
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: rfe
Changed in neutron:
status: Confirmed → Triaged
Changed in neutron:
status: Triaged → In Progress
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :
Changed in neutron:
status: In Progress → Confirmed
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

We'd need to emphasise the upstream dependencies as done similarly in [1]. I think a spec is in order to raise the visibility of this effort across the wider audience.

[1] https://review.openstack.org/#/c/344997/

tags: added: rfe-postponed
removed: rfe
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

We'll reassess this once Ocata opens up.

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

That will give us more time to understand how Open vSwitch is going to provide the required functionality.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: master
Review: https://review.openstack.org/342755
Reason: This review is > 4 weeks without comment and currently blocked by a core reviewer with a -2. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and contacting the reviewer with the -2 on this review to ensure you address their concerns.

Revision history for this message
Trevor McCasland (twm2016) wrote :

Is it ok if I continue working on this by proposing a QinQ driver like Sean suggested in review?

Revision history for this message
sean mooney (sean-k-mooney) wrote :

ovs has now merged the support for QinQ

https://github.com/openvswitch/ovs/commit/f0fb825a3785320430686834741c718ff4f8ebf4
https://github.com/openvswitch/ovs/commit/fed8962aff57f552163ef718cc1b0db582f2295e

this will be released in ovs 2.8 in august prior to the release of pike.

Changed in neutron:
assignee: Bo Chi (bochi-michael) → Trevor McCasland (twm2016)
status: Confirmed → In Progress
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Trevor, you can work on the patch but drivers will need to approve the RFE before we move with it. At this point, it's probably Queens material.

tags: added: rfe
removed: rfe-postponed
Changed in neutron:
status: In Progress → Triaged
Revision history for this message
Kevin Benton (kevinbenton) wrote :

Hi,

I unassigned Trevor because what he is working on (QinQ driver) is not actually related to enabling VLAN transparency in the OVS agent. See comment on https://review.openstack.org/#/c/446047/

So this needs a contributor focused just on VLAN transparency.

Changed in neutron:
assignee: Trevor McCasland (twm2016) → nobody
Revision history for this message
Kevin Benton (kevinbenton) wrote :

Postponing for now until we have someone who can implement this. Considering our switches to use push/pop VLAN more, it may be as simple as detecting that we have a new enough OVS version.

tags: added: rfe-postponed
removed: rfe
Revision history for this message
JD Lester (jdlester8) wrote :

In my case I have a VNF (Customer edge router) that sends double tagged frames to its peering aggregation router. The current implementation drops the double tagged frame at the port the VNF is connected to on br-int because the port is configured by the ML2 OVS driver as an access port for the neutron network's local VLAN ID. I have questions as to how this case would be addressed.

Can OVS push a VLAN on a double tagged frame as a local VLAN then pop it at br-provider? AKA Is two VLANs the maximum number that can be on a frame? I attached a capture of the frame I am referring to.

Does the ML2 OVS driver require local VLAN to provider VLAN mappings for this case? Can the VNF connect directly to br-provider? AKA Is the mapping even necessary and whats the thought behind it? Can br-int be configured to pass provider VLANs to VNFs?

Li Zhouzhou (lizhouzhou)
Changed in neutron:
assignee: nobody → Li Zhouzhou (lizhouzhou)
Revision history for this message
Li Zhouzhou (lizhouzhou) wrote :

I was implement vlan transparent for openvswitch Ml2 driver, which needs ovs-2.8.1.
Now, it's workly in my experiment enviroment.

Li Zhouzhou (lizhouzhou)
Changed in neutron:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/576687

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/623978

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/623980

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/pike)

Change abandoned by Li Zhouzhou (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/623978
Reason: override

Revision history for this message
Slawek Kaplonski (slaweq) wrote : auto-abandon-script

This bug has had a related patch abandoned and has been automatically un-assigned due to inactivity. Please re-assign yourself if you are continuing work or adjust the state as appropriate if it is no longer valid.

Changed in neutron:
assignee: Li Zhouzhou (lizhouzhou) → nobody
status: In Progress → New
tags: added: timeout-abandon
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Slawek Kaplonski (<email address hidden>) on branch: master
Review: https://review.openstack.org/576687
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Kailun Qin (kailun.qin)
Changed in neutron:
assignee: nobody → Kailun Qin (kailun.qin)
Revision history for this message
Slawek Kaplonski (slaweq) wrote : auto-abandon-script

This bug has had a related patch abandoned and has been automatically un-assigned due to inactivity. Please re-assign yourself if you are continuing work or adjust the state as appropriate if it is no longer valid.

Changed in neutron:
assignee: Kailun Qin (kailun.qin) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/pike)

Change abandoned by Slawek Kaplonski (<email address hidden>) on branch: stable/pike
Review: https://review.opendev.org/623980
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Bug closed due to lack of activity, please feel free to reopen if needed.

Changed in neutron:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.