[ovs-dev] [PATCH 07/18] ovsschema: Added mcast_snooping_enable switch
Flavio Leitner
fbl at redhat.com
Fri Apr 11 21:34:12 UTC 2014
Add a switch to enable or disable multicast snooping on
the bridge. This feature is disabled by default.
Acked-by: Thomas Graf <tgraf at redhat.com>
Acked-by: Daniel Borkmann <dborkman at redhat.com>
Signed-off-by: Flavio Leitner <fbl at redhat.com>
---
tests/ovs-vsctl.at | 2 ++
vswitchd/vswitch.ovsschema | 6 ++++--
vswitchd/vswitch.xml | 12 ++++++++++++
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/tests/ovs-vsctl.at b/tests/ovs-vsctl.at
index 440bf1a..600491f 100644
--- a/tests/ovs-vsctl.at
+++ b/tests/ovs-vsctl.at
@@ -639,6 +639,7 @@ fail_mode : []
flood_vlans : []
flow_tables : {}
ipfix : []
+mcast_snooping_enable: false
mirrors : []
name : "br0"
netflow : []
@@ -1131,6 +1132,7 @@ fail_mode : []
flood_vlans : []
flow_tables : {}
ipfix : []
+mcast_snooping_enable: false
mirrors : []
name : "br0"
netflow : []
diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema
index 3fb45d1..376e3a2 100644
--- a/vswitchd/vswitch.ovsschema
+++ b/vswitchd/vswitch.ovsschema
@@ -1,6 +1,6 @@
{"name": "Open_vSwitch",
- "version": "7.5.0",
- "cksum": "1448369194 20560",
+ "version": "7.6.0",
+ "cksum": "1882499329 20623",
"tables": {
"Open_vSwitch": {
"columns": {
@@ -54,6 +54,8 @@
"ephemeral": true},
"stp_enable": {
"type": "boolean"},
+ "mcast_snooping_enable": {
+ "type": "boolean"},
"ports": {
"type": {"key": {"type": "uuid",
"refTable": "Port"},
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 78594e7..9d1d7ad 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -633,6 +633,18 @@
</column>
</group>
+ <group title="Multicast Snooping Configuration">
+ Multicast snooping (RFC 4541) monitors the Internet Group Management
+ Protocol (IGMP) traffic between hosts and multicast routers. The
+ switch uses what IGMP snooping learns to forward multicast traffic
+ only to interfaces that are connected to interested receivers.
+
+ <column name="mcast_snooping_enable">
+ Enable multicast snooping on the bridge. By default, this feature
+ is disabled on bridges.
+ </column>
+ </group>
+
<group title="Other Features">
<column name="datapath_type">
Name of datapath provider. The kernel datapath has
--
1.9.0
More information about the dev
mailing list