Presets in GenieACS

Zaid Abdulla zaid at genieacs.com
Fri Jan 27 19:55:21 EST 2017


On Thu, 2017-01-26 at 13:54 +0100, Jose Vela Delgado wrote:
> I would like someone to explain how to configure Presets in the
> GenieACS. For example, I want when a CPE is rebooted it auto-
> downloads an XML configuration file. What do I have to put in the
> fields on the Presets tab?

I'll try to add some documentation in the wiki over the weekend. But
for now this is how you should be able to do it (not tested):

Create a "provision" with the following code:

  declare("Downloads.[FileType:3 Vendor Configuration File]",
    {path: 1}, {path: 1});
  declare("Downloads.[FileType:3 Vendor Configuration File].FileName",
    {value: 1}, {value: "<YOUR CONFIG FILE>"});
  declare("Downloads.[FileType:3 Vendor Configuration File].Download",
    {value: 1}, {value: Date.now()});

Then create a preset that's tied to the event "1_BOOT" and apply the
provision you just created.

Make sure the file is uploaded to GenieACS and that the config option
FS_IP is set to your server's IP address.

Hope that helps.

-- 
Zaid Abdulla <zaid at genieacs.com>


More information about the Users mailing list