Skip to content

OCPBUGS-54909: Add multicast snooping #92115

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions modules/configuring-localnet-switched-topology.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,23 @@ spec:
allow-extra-patch-ports: true
options:
stp: false
mcast-snooping-enable: true <4>
port:
- name: eth1 <4>
- name: eth1 <5>
ovn:
bridge-mappings:
- localnet: localnet2 <5>
bridge: ovs-br1 <6>
state: present <7>
- localnet: localnet2 <6>
bridge: ovs-br1 <7>
state: present <8>
----
<1> The name for the configuration object.
<2> A node selector that specifies the nodes to apply the node network configuration policy to.
<3> A new OVS bridge, separate from the default bridge used by OVN-Kubernetes for all cluster traffic.
<4> A network device on the host system to associate with this new OVS bridge.
<5> The name for the additional network from which traffic is forwarded to the OVS bridge. This additional network must match the name of the `spec.config.name` field of the `NetworkAttachmentDefinition` CRD that defines the OVN-Kubernetes additional network.
<6> The name of the OVS bridge on the node. This value is required only if you specify `state: present`.
<7> The state for the mapping. Must be either `present` to add the bridge or `absent` to remove the bridge. The default value is `present`.
<4> The state of multicast snooping. When enabled, multicast snooping prevents network devices from flooding multicast traffic to all members of the network. By default, an OVS bridge does not enable multicast snooping. The default value is`false`.
<5> A network device on the host system to associate with this new OVS bridge.
<6> The name for the additional network from which traffic is forwarded to the OVS bridge. This additional network must match the name of the `spec.config.name` field of the `NetworkAttachmentDefinition` CRD that defines the OVN-Kubernetes additional network.
<7> The name of the OVS bridge on the node. This value is required only if you specify `state: present`.
<8> The state for the mapping. Must be either `present` to add the bridge or `absent` to remove the bridge. The default value is `present`.

This declarative approach is recommended because the NMState Operator applies additional network configuration to all nodes specified by the node selector automatically and transparently.

Expand Down
4 changes: 4 additions & 0 deletions modules/creating-manifest-file-customized-br-ex-bridge.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ interfaces:
enabled: false
dhcp: false
bridge:
options:
mcast-snooping-enable: true
port:
- name: enp2s0 <5>
- name: br-ex
Expand Down Expand Up @@ -179,6 +181,8 @@ spec:
enabled: false
dhcp: false
bridge:
options:
mcast-snooping-enable: true
port:
- name: enp2s0 <6>
- name: br-ex
Expand Down