Provision not applied to cpe

Dan Morphis dan at milkcarton.com
Wed Apr 3 15:34:45 EDT 2019


On Wed, Apr 3, 2019 at 4:52 AM Ebenezer Ejukorlem <
eejukorlem at ipnxnigeria.net> wrote:

> Hello All,
>
> I would appreciate some help with this issue.
>
> When I try to provision a CPE using the provisioning script below, All
> parameters values are seen to be correctly set on the genieacs server gui.
> However, these settings are not reflected on the CPE. This is despite
> calling the "commit();" function and forcing a reboot after the provision.
>
> Please what am I missing?
>
>
commit() doesn't commit the values to the CPE, it forces GenieACS to commit
the values to the database. And its usually unnecessary to explicitly call
commit().

//Create and Refresh the wlan service objects
declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*", null,
{path: 2});
declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.*",
{path: now});declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.*",
{value: now});

Umm, does your CPE allow you to just create WLANConfiguration
instances? I've never seen one that allows you to do that. What you
probably want is this:

declare("InternetGatewayDevice.LANDevice.*.WLANConfiguration.*.*",
{path: now, value: now});

That will cause Genie to refresh not just the parameter names, but
also the values and will replace all three lines above.


Where aren't you seeing the values at? In the CPE GUI, or GenieACS gui?


-dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20190403/34bc8b69/attachment.html>


More information about the Users mailing list