Hi there,

I’m trying to customize the «Firmware Upgrade Image» cmd a bit and failed so 
far.
In https://github.com/genieacs/genieacs/wiki/Provisions you describe the 
following 2 parameters:



-FileName (= Part of the URL)

-Download (= DelaySeconds)

Which in a provision is:

declare("Downloads.[FileType:1 Firmware Upgrade Image]",

        {path: 1}, {path: 1});

declare("Downloads.[FileType:1 Firmware Upgrade Image].FileName",

        {value: 1}, {value: " FW-Image.bin "});

declare("Downloads.[FileType:1 Firmware Upgrade Image].Download",

        {value: 1}, {value: Date.now()});

The resulting CWMP XML is the following:


<FileType>1 Firmware Upgrade Image</FileType>

<URL>http://1.2.3.4:7567/FW-Image.bin</URL>

<Username/>

<Password/>

<FileSize>17302201</FileSize>

<TargetFileName/>

<DelaySeconds>0</DelaySeconds>

<SuccessURL/>

<FailureURL/>

Trying to modify the whole url oder other settings did not work (within a 
provision). Is there any way to describe the full URL (different to the 
FS_IP/FS_HOSTNAME in config.json) the reason behind is that we have different 
interfaces and different devices are using different interfaces to download 
software or connect to CWMP-Service.
Not as important but also related: Is there any way to use and supply Username 
and Password (e.g. if I have the fileserver behind Nginx with authentication.

Thank you
Br
Simon
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to