You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/configuring-localnet-switched-topology.adoc
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -90,21 +90,23 @@ spec:
90
90
allow-extra-patch-ports: true
91
91
options:
92
92
stp: false
93
+
mcast-snooping-enable: true <4>
93
94
port:
94
-
- name: eth1 <4>
95
+
- name: eth1 <5>
95
96
ovn:
96
97
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>
100
101
----
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`.
108
110
+
109
111
The following JSON example configures a localnet secondary network that is named `localnet2`:
0 commit comments