EasyMesh Agent upgrade

You are here:
< All Topics
Document Date and version2022.05.23
Tested on ONT HALNy HL-4GXV-FSupported on Version: V2.1.24 or above
Revision1
Let us know how to improve below document on: support@halny.com

How to run

  • Prepare server available for EasyMesh controller from VLAN internet.
  • Put software into the server.
  • Configure EasyMesh Controller and Agents.
  • Configure EasyMesh upgrade at the Controller in the one of the 3 following methods.

1. Web configuration

  • Go to the APP > EasyMesh > Upgrade.
  • Choose one of the server type.
  • Fill in all information as in example below.
  • Model Name needs to be the same as the model name on the sticker from the bottom of the device.
  • Firmware Version has to contain “V” at the start. Digits have to be separated by dot as in example V3.1.24.
  • File Name has to be the same as the file name at the server. The file name needs to contain a file extension.
  • Server Type – possible to choose one of four server types: FTP/FTPS/HTTP/HTTPS.
  • Server IP, Server Login, and Server Password have to be filled in for correct data access. IP.IP.IP.IP has to be replaced by digits.

2. XML configuration

In the XML file for V3.1.24 or above the EasyMesh Agent Upgrade occur in the management section.

Bellow are attach EasyMesh Agen Upgrade nodes:

<MESH_AGENT_UPGRADE>
	<AGENT_TYPE_1>
		<MODEL_NAME>HL-4GXV-F</MODEL_NAME>
		<FILE_NAME>G_ONU_HL-4GXV-F_V3-1-24_001-enc.bin</FILE_NAME>
		<FIRMWARE_VERSION>V3.1.24</FIRMWARE_VERSION>
		<SERVER_TYPE>FTP</SERVER_TYPE>
		<SERVER_IP>IP.IP.IP.IP</SERVER_IP>
		<SERVER_LOGIN>FTP_login</SERVER_LOGIN>
		<SERVER_PASSWORD>FTP_password</SERVER_PASSWORD>
		<REBOOT_TIME>NOW</REBOOT_TIME>
	</AGENT_TYPE_1>
	<AGENT_TYPE_2>
		<MODEL_NAME>HLE-3GM</MODEL_NAME>
		<FILE_NAME>G_ONU_HLE-3GM_V3-1-24_001-enc.bin</FILE_NAME>
		<FIRMWARE_VERSION>V3.1.24</FIRMWARE_VERSION>
		<SERVER_TYPE>FTP</SERVER_TYPE>
		<SERVER_IP>IP.IP.IP.IP</SERVER_IP>
		<SERVER_LOGIN>FTP_login</SERVER_LOGIN>
		<SERVER_PASSWORD>FTP_password</SERVER_PASSWORD>
		<REBOOT_TIME>NOW</REBOOT_TIME>
	</AGENT_TYPE_2>
</MESH_AGENT_UPGRADE>
  • MODEL_NAME needs to be the same as the model name on the sticker from the bottom of the device.
  • FIRMWARE_VERSION has to contain “V” at the start. Digits have to be separated by dot as in example V3.1.24.
  • FILE_NAME has to be the same as the file name at the server. The file name needs to contain a file extension.
  • SERVER_TYPEpossible to choose one of four server types: FTP/FTPS/HTTP/HTTPS.
  • SERVER_IP, SERVER_LOGIN, and SERVER_PASSWORD have to be filled in for correct data access. IP.IP.IP.IP has to be replaced by digits.

3. RestAPI configuration

URL to use: http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/model_name
where IP_2.IP_2.IP_2.IP_2 is ONT’s ip-host 1 address.

IP.IP.IP.IP is the address IP of the server with software.

Configuration by curl

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_1_model_name":"HL-4GXV-F"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/model_name" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_1_firmware_version":"V3.1.24"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/firmware_version" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_1_server_type":"ftp"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/server_type" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_1_server_ip":"IP.IP.IP.IP"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/server_ip" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_1_server_login":"FTP_login"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/server_login" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_1_server_password":"FTP_password"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/server_password" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_1_file_name":"G_ONU_HL-4GXV-F_V3-1-24_001-enc.bin"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/file_name" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_1_reboot_time":"NOW"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/1/reboot_time" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"apply":"yes"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/apply" --connect-timeout 2


curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_2_model_name":"HLE-3GM"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/2/model_name" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_2_firmware_version":"V3.1.24"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/2/firmware_version" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_2_server_type":"ftp"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/2/server_type" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_2_server_ip":"IP.IP.IP.IP"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/2/server_ip" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_2_server_login":"FTP_login"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/2/server_login" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_2_server_password":"FTP_password"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/2/server_password" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_2_file_name":"G_ONU_HLE-3GM_V3-1-24_001-enc.bin"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/2/file_name" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"meshagentupgrade_2_reboot_time":"NOW"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/2/reboot_time" --connect-timeout 2

curl -H 'Content-Type: application/json' -d '{"apply":"yes"}' "http://IP_2.IP_2.IP_2.IP_2:48625/api/v1/meshagentupgrade/apply" --connect-timeout 2

Table of Contents