[rdkb][common][app][Add igmpproxy config file]
[Description]
Add igmpproxy config file
[Release-log]
N/A
Change-Id: I85865d9ba6757d67f6d0f0bfd185196e07f52d68
diff --git a/recipes-networking/igmpproxy/files/igmpproxy.conf b/recipes-networking/igmpproxy/files/igmpproxy.conf
new file mode 100644
index 0000000..5f3455e
--- /dev/null
+++ b/recipes-networking/igmpproxy/files/igmpproxy.conf
@@ -0,0 +1,47 @@
+########################################################
+#
+# Example configuration file for the IgmpProxy
+# --------------------------------------------
+#
+# The configuration file must define one upstream
+# interface, and one or more downstream interfaces.
+#
+# If multicast traffic originates outside the
+# upstream subnet, the "altnet" option can be
+# used in order to define legal multicast sources.
+# (Se example...)
+#
+# The "quickleave" should be used to avoid saturation
+# of the upstream link. The option should only
+# be used if it's absolutely nessecary to
+# accurately imitate just one Client.
+#
+########################################################
+
+##------------------------------------------------------
+## Enable Quickleave mode (Sends Leave instantly)
+##------------------------------------------------------
+quickleave
+
+
+##------------------------------------------------------
+## Configuration for eth0 (Upstream Interface)
+##------------------------------------------------------
+phyint erouter0 upstream ratelimit 0 threshold 1
+ altnet 10.0.0.0/8
+ altnet 192.168.0.0/24
+
+
+##------------------------------------------------------
+## Configuration for eth1 (Downstream Interface)
+##------------------------------------------------------
+phyint brlan0 downstream ratelimit 0 threshold 1
+ altnet 10.0.0.0/8
+
+
+##------------------------------------------------------
+## Configuration for eth2 (Disabled Interface)
+##------------------------------------------------------
+#phyint eth2 disabled
+
+
diff --git a/recipes-networking/igmpproxy/igmpproxy_%.bbappend b/recipes-networking/igmpproxy/igmpproxy_%.bbappend
new file mode 100644
index 0000000..110469a
--- /dev/null
+++ b/recipes-networking/igmpproxy/igmpproxy_%.bbappend
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI_append = "file://igmpproxy.conf \
+ "
+
+do_install_append () {
+ install -p ${S}/../igmpproxy.conf ${D}/etc/
+}
+
+FILES_${PN} += "/etc/*"