SEBA-676 Enable multicast server/routing in Mininet

Change-Id: I044179c53a6dde218e1421c1cd9244c3d6ac96b5
diff --git a/mininet/Chart.yaml b/mininet/Chart.yaml
index f21e28d..b06bc8c 100644
--- a/mininet/Chart.yaml
+++ b/mininet/Chart.yaml
@@ -17,4 +17,4 @@
 appVersion: "1.0"
 description: A Helm chart for Mininet
 name: mininet
-version: 0.4.0
+version: 0.4.1
diff --git a/mininet/toposcripts/topo.py b/mininet/toposcripts/topo.py
index a65085d..dc87317 100644
--- a/mininet/toposcripts/topo.py
+++ b/mininet/toposcripts/topo.py
@@ -75,6 +75,12 @@
     h1.cmd( 'ifconfig %s.222.111 172.18.0.10/24' % base)
     h1.cmd( 'dnsmasq --dhcp-range=172.18.0.50,172.18.0.150,12h' )
 
+{{- if .Values.enableMulticast }}
+    info( '*** Start multicast routing on %s and source on %s\n' % (h1.name, h2.name))
+    h1.cmd( 'service pimd start' )
+    h2.cmd( 'mcjoin -s -i h2-eth0 -t 2 >& /tmp/mcjoin.log &')
+{{- end }}
+
     onos.start()
     s1.start( [onos] )
 
diff --git a/mininet/values.yaml b/mininet/values.yaml
index f690227..b583914 100644
--- a/mininet/values.yaml
+++ b/mininet/values.yaml
@@ -50,3 +50,4 @@
 
 onosOpenflowSvc: "onos-openflow.default.svc.cluster.local"
 vlanMatchDepth: 1
+enableMulticast: false