Massive firmware update
Dan Morphis
dan at milkcarton.com
Wed Sep 21 11:54:44 EDT 2016
Using the API you can accomplish this. First query the NBI for all CPE with
the version number you would like to upgrade from:
curl -i '
http://localhost:7557/devices?query=%7B%22summary.softwareVersion%22%3A%222.5.0.8%22%7D&projection=_id
'
Using the language of your choice, you can then take the results and push
out the firmware to the CPEs
curl -i 'http://localhost:7557/devices/YOUR_ACS_ID/tasks?timeout=3000&connection_request'
\
-X POST \
--data '{ "name": "download",
"file":"YOUR_FILE_ID","filename":"YOUR_FILE_NAME"}'
On Fri, Sep 16, 2016 at 1:09 AM, Sergio <
sergio.fernandez at electronicamartinez.com> wrote:
> Good morning!
>
> I would like to use GenieACS to update the firmware of a lot of CPEs.
> I was thinking, first, to try to implement it via GenieACS-GUI, but I even
> don't know how to start. Maybe a selectizer in a new tab will fit, but I
> don't know, and I would need guidance.
> The other way I was thinking of, it's via API. But I don't know if it
> would collapse or if it would be more difficult to accomplish.
>
> Hope you could help me with your advice!
>
> Thank you.
>
> Sergio F.
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20160921/42b2d11e/attachment.html>
More information about the Users
mailing list