Skip to content

Commit b12b4ad

Browse files
committed
OCPBUGS-54909: Add multicast snooping
- https://issues.redhat.com/browse/OCPBUGS-54909
1 parent c8635e9 commit b12b4ad

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

modules/configuring-localnet-switched-topology.adoc

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,23 @@ spec:
9090
allow-extra-patch-ports: true
9191
options:
9292
stp: false
93+
mcast-snooping-enable: true <4>
9394
port:
94-
- name: eth1 <4>
95+
- name: eth1 <5>
9596
ovn:
9697
bridge-mappings:
97-
- localnet: localnet2 <5>
98-
bridge: ovs-br1 <6>
99-
state: present <7>
98+
- localnet: localnet2 <6>
99+
bridge: ovs-br1 <7>
100+
state: present <8>
100101
----
101-
<1> The name for the configuration object.
102-
<2> A node selector that specifies the nodes to apply the node network configuration policy to.
103-
<3> A new OVS bridge, separate from the default bridge used by OVN-Kubernetes for all cluster traffic.
104-
<4> A network device on the host system to associate with this new OVS bridge.
105-
<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.
106-
<6> The name of the OVS bridge on the node. This value is required only if you specify `state: present`.
107-
<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`.
102+
<1> Specifies the name of the configuration object.
103+
<2> Specifies a node selector that identifies the nodes to which the node network configuration policy applies.
104+
<3> Specifies a new OVS bridge that operates separately from the default bridge used by OVN-Kubernetes for cluster traffic.
105+
<4> Specifies whether to enable multicast snooping. When enabled, multicast snooping prevents network devices from flooding multicast traffic to all network members. By default, an OVS bridge does not enable multicast snooping. The default value is `false`.
106+
<5> Specifies the network device on the host system to associate with the new OVS bridge.
107+
<6> Specifies the name of the additional network that forwards traffic to the OVS bridge. This name must match the value of the `spec.config.name` field in the `NetworkAttachmentDefinition` CRD that defines the OVN-Kubernetes additional network.
108+
<7> Specifies the name of the OVS bridge on the node. The value is required only when `state: present` is set.
109+
<8> Specifies the state of the mapping. Valid values are `present` to add the bridge or `absent` to remove the bridge. The default value is `present`.
108110
+
109111
The following JSON example configures a localnet secondary network that is named `localnet2`:
110112
+

modules/creating-manifest-file-customized-br-ex-bridge.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ interfaces:
8585
enabled: false
8686
dhcp: false
8787
bridge:
88+
options:
89+
mcast-snooping-enable: true
8890
port:
8991
- name: enp2s0 <5>
9092
- name: br-ex
@@ -179,6 +181,8 @@ spec:
179181
enabled: false
180182
dhcp: false
181183
bridge:
184+
options:
185+
mcast-snooping-enable: true
182186
port:
183187
- name: enp2s0 <6>
184188
- name: br-ex

0 commit comments

Comments
 (0)