<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div id="sig22609205"><div class="signature">On Thu, Jul 2, 2015, at 07:29 PM, Dan Morphis wrote:<br></div>
</div>
<blockquote type="cite"><div dir="ltr"><div>I looked over the code between lines 502 and 531, and if I understand correctly what is going on at between 510 and 528 is to allow auto-upgrading of the firmware of the CPE. Hopefully Ziad can chime in here. But on line 529 is where the file gets set as a download task for the CPE if no other conditions are matched.<br></div>
</div>
</blockquote><div> </div>
<div>Right. Some CPEs can check for firmware upgrades either automatically or by presenting an option to the user. That portion of the code checks if it needs to push a new version by comparing the device current software version and what's defined in the presets. I suppose it's possible to implement something similar for configuration files, but it's more complicated because the config files may not always be versioned. And not all devices I've came across seem to expose a parameter to indicate config file version number.<br></div>
<div> </div>
<div>Like you suggested in your other email, presets are the way to go for static configuration and the API for any dynamic configuration.<br></div>
<div> </div>
<div>Zaid<br></div>
</body>
</html>