RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2084474 - [RFE] [RHEL] Support configuring bridge.vlan-protocol
Summary: [RFE] [RHEL] Support configuring bridge.vlan-protocol
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nmstate
Version: 9.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Gris Ge
QA Contact: Mingyu Shi
Jaroslav Klech
URL:
Whiteboard:
: 2084478 (view as bug list)
Depends On:
Blocks: 2084363 2084478
TreeView+ depends on / blocked
 
Reported: 2022-05-12 08:36 UTC by Germano Veit Michel
Modified: 2023-01-10 03:48 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
.Support for the 802.ad `vlan-protocol` option in `nmstate` The `nmstate` API now supports creating the `linux-bridge` interfaces using the 802.ad `vlan-protocol` option. This feature enables the configuration of Service-Tag VLANs. The following example illustrates usage of this functionality in a `yaml` configuration file. ---- --- interfaces: - name: br0 type: linux-bridge state: up bridge: options: vlan-protocol: 802.1ad port: - name: eth1 vlan: mode: trunk trunk-tags: - id: 500 ----
Clone Of:
Environment:
Last Closed: 2022-11-15 10:00:45 UTC
Type: Bug
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:37:32 UTC
Red Hat Issue Tracker RHELPLAN-121817 0 None None None 2022-05-12 08:49:18 UTC
Red Hat Knowledge Base (Solution) 6957685 0 None None None 2022-06-21 11:38:06 UTC
Red Hat Product Errata RHBA-2022:7991 0 None None None 2022-11-15 10:01:03 UTC

Description Germano Veit Michel 2022-05-12 08:36:25 UTC
Description of problem:

This is a request to add the following setting to RHEL nmstate:

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

Which ends up here:
/sys/class/net/br1/bridge/vlan_protocol 

It is important to enable the use of vlan stacking (802.1ad) where an S-Tag is pushed by the hypervisor and each Guest can have its own C-Tags.

To be consumed in OpenShift Virtualization by BZ2084363

Comment 3 sfaye 2022-06-16 08:06:06 UTC
*** Bug 2084478 has been marked as a duplicate of this bug. ***

Comment 4 Gris Ge 2022-06-21 04:18:05 UTC
Patch posted to https://github.com/nmstate/nmstate/pull/1938

Adding support of linux bridge VLAN protocol: 802.1q(default) and 802.1ad.

Example yaml:

```yaml
---
interfaces:
  - name: br0
    type: linux-bridge
    state: up
    bridge:
      options:
        vlan-protocol: 802.1ad
      port:
        - name: eth1
          vlan:
            mode: trunk
            trunk-tags:
            - id: 500
```

Comment 8 Fernando F. Mancera 2022-06-29 13:38:02 UTC
I have tested this manually.

Comment 11 Mingyu Shi 2022-08-05 03:27:37 UTC
Verified with:
nmstate-2.1.3-1.el9.x86_64
NetworkManager-1.39.10-1.el9.x86_64

Comment 15 errata-xmlrpc 2022-11-15 10:00:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7991


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