Bug 2084363 - [RFE] [CNV] Support setting vlan-protocol in bridge options
Summary: [RFE] [CNV] Support setting vlan-protocol in bridge options
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: Ben Nemec
QA Contact: Aleksandra Malykhin
URL:
Whiteboard:
Depends On: 2084474 2084478
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-12 00:20 UTC by Germano Veit Michel
Modified: 2023-01-04 20:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2084478 (view as bug list)
Environment:
Last Closed: 2023-01-04 20:46:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-4618 0 None None None 2022-05-12 08:35:22 UTC
Red Hat Knowledge Base (Solution) 6957685 0 None None None 2022-05-12 00:50:14 UTC

Internal Links: 2084478

Description Germano Veit Michel 2022-05-12 00:20:28 UTC
Description of problem:

To make use of 802.3ad S-tag and C-tags, the linux bridge requires the option vlan-protocol set to 802.1ad, so it can add S-tags of ethertype 0x88A8 and does the correct forwarding. If this is set to 802.1Q (default, 0x8100), the bridge will drop the guest tagged frames as it tries to deliver locally (not supported).

Currently, for this to work, the user needs to manually edit the bridge on each node:

# nmcli con mod br1 bridge.vlan-protocol 802.1ad
# nmcli con down br1
# nmcli con up br1

Its this setting that ends up changed with that.
# cat /sys/class/net/br1/bridge/vlan_protocol 

This is probably a kubernetes-nmstate RFE, and depending if you want to set that manually like was done with vlan-filtering via script a while ago (I think?), an nmstate RFE too. But I'll leave these decisions to you to open the child RFE if you need.

Comment 2 Petr Horáček 2022-05-26 09:46:47 UTC
Setting the target to future as this is waiting for an RFE on nmstate

Comment 3 Petr Horáček 2022-07-21 08:24:10 UTC
Support for vlan-protocol will be added to nmstate in 9.1, so circa in OpenShift 4.14.

Moving to the standalone operator to continue the tracking there.


Note You need to log in before you can comment on or make changes to this bug.