Thank you very much, Dan!!
Only one question: How do you get the File ID of the uploaded file? II
think I should query it somehow, and then passing it to the last command
you wrote.
Thank you!
El 21/09/16 a las 17:54, Dan Morphis escribió:
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
<[email protected]
<mailto:[email protected]>> 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
[email protected] <mailto:[email protected]>
http://lists.genieacs.com/mailman/listinfo/users
<http://lists.genieacs.com/mailman/listinfo/users>
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users