Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[RFE] Support setting VLAN to bridge itself #2769

@Laikulo

Description

@Laikulo

Describe the bug

A clear and concise description of what the bug is.

Nmstate version

nmstatectl 2.2.35

NetworkManager version

1.42.4

Platform

Armbian Bookworm

How reproducible

100% (logical)

Steps to Reproduce

It is not possible to express adding vlans to the self port of a linux-bridge interface.

Nmstate output

  • Expected output:
    N/A
  • Current output:
    N/A

Additional context

While the nm_dbus component supports setting vlans on the self port

pub vlans: Option<Vec<NmSettingBridgeVlanRange>>,

ret.insert("vlans".to_string(), Value::new(vlans_str.join(",")));

The linux-bridge structure lacks a way to configure this, so it is not currently possible to use nmstate to configure a situation where a vlan-aware bridge has vlan interfaces on the host.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions