adding fake ssmtranslate
Change-Id: I943d4329f2b7550e75cb1a31f7d91ec594ec2f02
diff --git a/docker/Dockerfile.onos b/docker/Dockerfile.onos
index 878c602..4974e1e 100644
--- a/docker/Dockerfile.onos
+++ b/docker/Dockerfile.onos
@@ -8,7 +8,7 @@
ENV AUX=$APPS/aux
RUN apt-get update && apt-get install -y git maven unzip
-RUN git config --global http.sslverify false && \
+RUN git config --global http.sslverify false &&\
git clone https://alshabibi@bitbucket.org/alshabibi/onos-apps.git
RUN cd $ONOS/onos-apps/apps && mvn clean install
@@ -19,11 +19,6 @@
RUN sh $ONOS/app-install.sh
-# Disabling vtn,mcast and igmp
-RUN rm $ONOS/apps/org.opencord.mcast/active &&\
- rm $ONOS/apps/org.opencord.igmp/active &&\
- rm $ONOS/apps/org.opencord.vtn/active
-
RUN touch $ONOS/apps/org.onosproject.dhcp/active
COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json
diff --git a/docker/config/igmp.py b/docker/config/igmp.py
index 9c18f84..845e4ae 100644
--- a/docker/config/igmp.py
+++ b/docker/config/igmp.py
@@ -79,7 +79,7 @@
def send_leave(args):
- igmp = IGMPv3(type=IGMP_TYPE_V3_MEMBERSHIP_REPORT, max_resp_code=30, gaddr="224.0.0.22c")
+ igmp = IGMPv3(type=IGMP_TYPE_V3_MEMBERSHIP_REPORT, max_resp_code=30, gaddr="224.0.0.22")
igmp.grps = [IGMPv3gr(rtype=IGMP_V3_GR_TYPE_INCLUDE, mcaddr=args.mcaddr)]
send(igmp)
diff --git a/docker/config/netcfg.json b/docker/config/netcfg.json
index 9e399e8..8cb100b 100644
--- a/docker/config/netcfg.json
+++ b/docker/config/netcfg.json
@@ -1,5 +1,29 @@
{
"apps": {
+ "org.onosproject.igmp": {
+ "ssmTranslate": [
+ {
+ "source": "1.2.3.4",
+ "group": "229.0.0.1"
+ },
+ {
+ "source": "2.3.4.5",
+ "group": "229.0.0.2"
+ },
+ {
+ "source": "1.2.3.4",
+ "group": "229.0.0.3"
+ },
+ {
+ "source": "1.2.3.4",
+ "group": "229.0.0.4"
+ },
+ {
+ "source": "2.3.4.5",
+ "group": "229.0.0.5"
+ }
+ ]
+ },
"org.onosproject.aaa": {
"AAA": {
"radiusIp": "172.25.0.100",