changed Radisys olt model id as rlt-3200g-w

Change-Id: I6267c73fe6657244a38313e60eeb095aa502e7fc
diff --git a/agent/device/phoenix/mkdebian/debian/changelog b/agent/device/phoenix/mkdebian/debian/changelog
deleted file mode 100644
index 0a6dde0..0000000
--- a/agent/device/phoenix/mkdebian/debian/changelog
+++ /dev/null
@@ -1,7 +0,0 @@
-phoenix (3.4.9.8+radisys-V20210420) stable; urgency=high

-

-    * Based on code from SW-BCM686OLT_3_4_9_8.tgz.

-    * Patches required for BAL to support phoenix 3200g has been merged to

-      PHOENIX_BAL_3.4.9.8_V20210420.patch.

-

- -- Thiyagarajan Subramani <thiyagarajan.subramani@radisys.com>  Tue, 20 APR 2021 09:30:00 +0400

diff --git a/agent/device/phoenix/mkdebian/debian/files b/agent/device/phoenix/mkdebian/debian/files
deleted file mode 100644
index 76bc8b9..0000000
--- a/agent/device/phoenix/mkdebian/debian/files
+++ /dev/null
@@ -1,3 +0,0 @@
-phoenix-dbgsym_3.4.9.8+radisys-V20210420_amd64.deb debug extra
-phoenix_3.4.9.8+radisys-V20210420_amd64.buildinfo misc optional
-phoenix_3.4.9.8+radisys-V20210420_amd64.deb misc optional
diff --git a/agent/device/phoenix/mkdebian/build_phoenix_deb.sh b/agent/device/rlt-3200g-w/mkdebian/build_rlt-3200g-w_deb.sh
similarity index 100%
rename from agent/device/phoenix/mkdebian/build_phoenix_deb.sh
rename to agent/device/rlt-3200g-w/mkdebian/build_rlt-3200g-w_deb.sh
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/changelog b/agent/device/rlt-3200g-w/mkdebian/debian/changelog
new file mode 100644
index 0000000..880c7be
--- /dev/null
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/changelog
@@ -0,0 +1,7 @@
+rlt-3200g-w (3.4.9.8+radisys-V20210420) stable; urgency=high
+
+    * Based on code from SW-BCM686OLT_3_4_9_8.tgz.
+    * Patches required for BAL to support RLT-3200G-W has been merged to
+      PHOENIX_BAL_3.4.9.8_V20210420.patch.
+
+ -- Thiyagarajan Subramani <thiyagarajan.subramani@radisys.com>  Tue, 20 APR 2021 09:30:00 +0400
diff --git a/agent/device/phoenix/mkdebian/debian/compat b/agent/device/rlt-3200g-w/mkdebian/debian/compat
similarity index 99%
rename from agent/device/phoenix/mkdebian/debian/compat
rename to agent/device/rlt-3200g-w/mkdebian/debian/compat
index 3b0923b..ec63514 100644
--- a/agent/device/phoenix/mkdebian/debian/compat
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/compat
@@ -1 +1 @@
-9

+9
diff --git a/agent/device/phoenix/mkdebian/debian/control b/agent/device/rlt-3200g-w/mkdebian/debian/control
similarity index 87%
rename from agent/device/phoenix/mkdebian/debian/control
rename to agent/device/rlt-3200g-w/mkdebian/debian/control
index 744f914..cb41d74 100644
--- a/agent/device/phoenix/mkdebian/debian/control
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/control
@@ -1,13 +1,13 @@
-Source: phoenix

-Section: misc

-Priority: optional

-Maintainer: Thiyagarajan Subramani  <thiyagarajan.subramani@radisys.com>

-Build-Depends: debhelper (>= 4.0.0)

-Standards-Version: 3.6.2

-

-Package: phoenix

-Architecture: amd64

-Depends: ${shlibs:Depends}

-Description: Broadcom OLT drivers,CLI

-  ported from Broadcom SDK-3.4.9.8 package

-

+Source: rlt-3200g-w
+Section: misc
+Priority: optional
+Maintainer: Thiyagarajan Subramani  <thiyagarajan.subramani@radisys.com>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.2
+
+Package: rlt-3200g-w
+Architecture: amd64
+Depends: ${shlibs:Depends}
+Description: Broadcom OLT drivers,CLI
+  ported from Broadcom SDK-3.4.9.8 package
+
diff --git a/agent/device/phoenix/mkdebian/debian/copyright b/agent/device/rlt-3200g-w/mkdebian/debian/copyright
similarity index 99%
rename from agent/device/phoenix/mkdebian/debian/copyright
rename to agent/device/rlt-3200g-w/mkdebian/debian/copyright
index 6e79a98..0e527f0 100644
--- a/agent/device/phoenix/mkdebian/debian/copyright
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/copyright
@@ -1 +1 @@
-(C) Copyright Broadcom Corporation 2003-2016

+(C) Copyright Broadcom Corporation 2003-2016
diff --git a/agent/device/rlt-3200g-w/mkdebian/debian/files b/agent/device/rlt-3200g-w/mkdebian/debian/files
new file mode 100644
index 0000000..c4d603c
--- /dev/null
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/files
@@ -0,0 +1,3 @@
+rlt-3200g-w-dbgsym_3.4.9.8+radisys-V20210420_amd64.deb debug extra
+rlt-3200g-w_3.4.9.8+radisys-V20210420_amd64.buildinfo misc optional
+rlt-3200g-w_3.4.9.8+radisys-V20210420_amd64.deb misc optional
diff --git a/agent/device/phoenix/mkdebian/debian/logrotate.d/openolt b/agent/device/rlt-3200g-w/mkdebian/debian/logrotate.d/openolt
similarity index 99%
rename from agent/device/phoenix/mkdebian/debian/logrotate.d/openolt
rename to agent/device/rlt-3200g-w/mkdebian/debian/logrotate.d/openolt
index aa6ab06..480b59f 100644
--- a/agent/device/phoenix/mkdebian/debian/logrotate.d/openolt
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/logrotate.d/openolt
@@ -1,10 +1,10 @@
-/var/log/dev_mgmt_daemon.log

-/var/log/openolt.log

-{

-  rotate 7

-  daily

-  compress

-  missingok

-  delaycompress

-  copytruncate

-}

+/var/log/dev_mgmt_daemon.log
+/var/log/openolt.log
+{
+  rotate 7
+  daily
+  compress
+  missingok
+  delaycompress
+  copytruncate
+}
diff --git a/agent/device/phoenix/mkdebian/debian/phoenix.install b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.install
similarity index 100%
rename from agent/device/phoenix/mkdebian/debian/phoenix.install
rename to agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.install
diff --git a/agent/device/phoenix/mkdebian/debian/phoenix.postinst b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postinst
old mode 100644
new mode 100755
similarity index 94%
rename from agent/device/phoenix/mkdebian/debian/phoenix.postinst
rename to agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postinst
index ab4a021..25b782f
--- a/agent/device/phoenix/mkdebian/debian/phoenix.postinst
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postinst
@@ -16,14 +16,14 @@
 
 rm -rf /opt/bcm686*
 rm -rf /broadcom
-tar zxf /tmp/release_phoenix_V*.tar.gz -C / 2>&1 > /dev/null
+tar zxf /tmp/release_rlt-3200g-w_V*.tar.gz -C / 2>&1 > /dev/null
 
 mkdir -p /opt/openolt && cp /tmp/watchdog/openolt_dev_mgmt_daemon_process_watchdog /opt/openolt && cp /tmp/watchdog/watchdog.config /opt/openolt
 
 sed -i -e '$i rm -rf \/tmp\/bcm68650_svk_init\/' /etc/rc.local
 [ -f /opt/openolt/openolt_dev_mgmt_daemon_process_watchdog ] && grep -q '\/opt\/openolt\/openolt_dev_mgmt_daemon_process_watchdog' /etc/rc.local || sed -i -e '$i nohup bash \/opt\/openolt\/openolt_dev_mgmt_daemon_process_watchdog &' /etc/rc.local
 
-rm -f /tmp/release_phoenix_V*.tar.gz
+rm -f /tmp/release_rlt-3200g-w_V*.tar.gz
 rm -f /run/bcm686*
 
 
diff --git a/agent/device/phoenix/mkdebian/debian/phoenix.postrm b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postrm
old mode 100644
new mode 100755
similarity index 100%
rename from agent/device/phoenix/mkdebian/debian/phoenix.postrm
rename to agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.postrm
diff --git a/agent/device/phoenix/mkdebian/debian/phoenix.preinst b/agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.preinst
old mode 100644
new mode 100755
similarity index 100%
rename from agent/device/phoenix/mkdebian/debian/phoenix.preinst
rename to agent/device/rlt-3200g-w/mkdebian/debian/rlt-3200g-w.preinst
diff --git a/agent/device/phoenix/mkdebian/debian/rules b/agent/device/rlt-3200g-w/mkdebian/debian/rules
similarity index 96%
rename from agent/device/phoenix/mkdebian/debian/rules
rename to agent/device/rlt-3200g-w/mkdebian/debian/rules
index fc22495..82c1083 100755
--- a/agent/device/phoenix/mkdebian/debian/rules
+++ b/agent/device/rlt-3200g-w/mkdebian/debian/rules
@@ -26,7 +26,7 @@
 
 override_dh_auto_install:
 	mkdir -p $(DEB_DH_INSTALL_SOURCEDIR)/tmp
-	cp -a $(CURDIR)/debian/release_phoenix_V*.tar.gz $(DEB_DH_INSTALL_SOURCEDIR)/tmp
+	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
diff --git a/agent/device/phoenix/update_kernel_options.sh b/agent/device/rlt-3200g-w/update_kernel_options.sh
old mode 100644
new mode 100755
similarity index 100%
rename from agent/device/phoenix/update_kernel_options.sh
rename to agent/device/rlt-3200g-w/update_kernel_options.sh
diff --git a/agent/device/phoenix/vendor.cc b/agent/device/rlt-3200g-w/vendor.cc
similarity index 100%
rename from agent/device/phoenix/vendor.cc
rename to agent/device/rlt-3200g-w/vendor.cc
diff --git a/agent/device/phoenix/vendor.h b/agent/device/rlt-3200g-w/vendor.h
similarity index 95%
rename from agent/device/phoenix/vendor.h
rename to agent/device/rlt-3200g-w/vendor.h
index 3d08310..4c77e73 100644
--- a/agent/device/phoenix/vendor.h
+++ b/agent/device/rlt-3200g-w/vendor.h
@@ -17,8 +17,8 @@
 #ifndef __VENDOR_H__
 #define __VENDOR_H__
 #define VENDOR_ID "Radisys"
-#define RLT3200G
-#define MODEL_ID  "phoenix"
+#define RLT3200GW
+#define MODEL_ID  "rlt-3200g-w"
 #define MAX_SUPPORTED_PON 64
 #define ONU_BIT_TRANSMISSION_DELAY 0.8038585/1000 /* unit: ns to us */
 #define MINIMUM_ONU_RESPONSE_RANGING_TIME 198075 /* hardcore: this is ranging time for the shortest distance, typically 35us */