Radisys OLTs migration to BAL3.10.2.2

Change-Id: I146cbb480158282a940692e785f90317534cb0f5
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/changelog b/agent/device/rlt-3200g-w/mkdebian/debian/changelog
index 05e36b0..791278e 100644
--- a/agent/device/rlt-3200g-w/mkdebian/debian/changelog
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/changelog
@@ -1,7 +1,7 @@
-rlt-3200g-w (3.4.9.9+radisys-V20210727) stable; urgency=high
+rlt-3200g-w (3.10.2.2+radisys-V20211129) stable; urgency=high
 
-    * Based on code from SW-BCM686OLT_3_4_9_9.tgz.
+    * Based on code from SW-BCM686OLT_3_10_2_2.tgz.
     * Patches required for BAL to support RLT-3200G-W has been merged to
-      PHOENIX_BAL_3.4.9.9_V20210727.patch.
+      RADISYS_BAL_3.10.2.2_V20211129.patch.
 
- -- Naresh Kumar Palanisamy <nakumar@radisys.com>  Tue, 27 JUL 2021 09:30:00 +0400
+ -- Thiyagarajan Subramani <tsubrama@radisys.com>  Wed, 23 FEB 2022 09:30:00 +0400
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/control b/agent/device/rlt-3200g-w/mkdebian/debian/control
index 7a9bbc6..8e50a2b 100644
--- a/agent/device/rlt-3200g-w/mkdebian/debian/control
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/control
@@ -9,5 +9,5 @@
 Architecture: amd64
 Depends: ${shlibs:Depends}
 Description: Broadcom OLT drivers,CLI
-  ported from Broadcom SDK-3.4.9.9 package
+  ported from Broadcom SDK-3.10.2.2 package
 
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/files b/agent/device/rlt-3200g-w/mkdebian/debian/files
index 1e54526..c343b3a 100644
--- a/agent/device/rlt-3200g-w/mkdebian/debian/files
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/files
@@ -1,3 +1,3 @@
-rlt-3200g-w-dbgsym_3.4.9.9+radisys-V20210727_amd64.deb debug extra
-rlt-3200g-w_3.4.9.9+radisys-V20210727_amd64.buildinfo misc optional
-rlt-3200g-w_3.4.9.9+radisys-V20210727_amd64.deb misc optional
+rlt-3200g-w-dbgsym_3.10.2.2+radisys-V20211129_amd64.deb debug extra
+rlt-3200g-w_3.10.2.2+radisys-V20211129_amd64.buildinfo misc optional
+rlt-3200g-w_3.10.2.2+radisys-V20211129_amd64.deb misc optional
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postinst b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postinst
index 25b782f..cc39740 100755
--- a/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postinst
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postinst
@@ -30,7 +30,7 @@
 mv /tmp/openolt /broadcom
 mv /tmp/libz.so.1 /usr/local/lib
 mv /tmp/libstdc++.so.6 /usr/local/lib
-mv /tmp/libbal_host_api.so /usr/local/lib
+mv /tmp/libbal_host_api-oss.so /usr/local/lib
 
 cp /tmp/logrotate.d/openolt /etc/logrotate.d
 chmod +x /opt/openolt/openolt_dev_mgmt_daemon_process_watchdog
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postrm b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postrm
index fd44b74..ab6c3b5 100755
--- a/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postrm
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postrm
@@ -44,7 +44,7 @@
 
 rm -rf /run/bcm68650
 rm -rf /usr/local/lib/libz.so.1
-rm -rf /usr/local/lib/libbal_host_api.so
+rm -rf /usr/local/lib/libbal_host_api-oss.so
 rm -rf /usr/local/lib/libstdc++.so.6
 rm -f /etc/init.d/openolt
 rm -f /etc/init.d/dev_mgmt_daemon
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.preinst b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.preinst
index fd44b74..ab6c3b5 100755
--- a/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.preinst
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.preinst
@@ -44,7 +44,7 @@
 
 rm -rf /run/bcm68650
 rm -rf /usr/local/lib/libz.so.1
-rm -rf /usr/local/lib/libbal_host_api.so
+rm -rf /usr/local/lib/libbal_host_api-oss.so
 rm -rf /usr/local/lib/libstdc++.so.6
 rm -f /etc/init.d/openolt
 rm -f /etc/init.d/dev_mgmt_daemon
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/rules b/agent/device/rlt-3200g-w/mkdebian/debian/rules
index 82c1083..235f4e2 100755
--- a/agent/device/rlt-3200g-w/mkdebian/debian/rules
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/rules
@@ -29,7 +29,7 @@
 	cp -a $(CURDIR)/debian/release_rlt-3200g-w_V*.tar.gz $(DEB_DH_INSTALL_SOURCEDIR)/tmp
 	cp -a $(CURDIR)/debian/libz.so.1 $(DEB_DH_INSTALL_SOURCEDIR)/tmp
 	cp -a $(CURDIR)/debian/libstdc++.so.6 $(DEB_DH_INSTALL_SOURCEDIR)/tmp
-	cp -a $(CURDIR)/debian/libbal_host_api.so $(DEB_DH_INSTALL_SOURCEDIR)/tmp
+	cp -a $(CURDIR)/debian/libbal_host_api-oss.so $(DEB_DH_INSTALL_SOURCEDIR)/tmp
 	cp -a $(CURDIR)/debian/openolt $(DEB_DH_INSTALL_SOURCEDIR)/tmp
 	cp -a $(CURDIR)/debian/init.d $(DEB_DH_INSTALL_SOURCEDIR)/tmp
 	cp -a $(CURDIR)/debian/logrotate.d $(DEB_DH_INSTALL_SOURCEDIR)/tmp