<div dir="ltr"><div dir="ltr">On Wed, Apr 3, 2019 at 4:52 AM Ebenezer Ejukorlem <<a href="mailto:eejukorlem@ipnxnigeria.net">eejukorlem@ipnxnigeria.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello All,<br>
<br>
I would appreciate some help with this issue.<br>
<br>
When I try to provision a CPE using the provisioning script below, All <br>
parameters values are seen to be correctly set on the genieacs server gui.<br>
However, these settings are not reflected on the CPE. This is despite <br>
calling the "commit();" function and forcing a reboot after the provision.<br>
<br>
Please what am I missing?<br><br></blockquote><div><br></div><div>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().</div><div><br></div><div><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt"><span style="color:rgb(128,128,128);font-style:italic">//Create and Refresh the wlan service objects<br></span>declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.LANDevice.1.WLANConfiguration.*"</span>, <span style="color:rgb(0,0,128);font-weight:bold">null</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">2</span>});
declare(<span style="font-size:9pt;color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.*"</span><span style="font-size:9pt">, {</span><span style="font-size:9pt;color:rgb(102,14,122);font-weight:bold">path</span><span style="font-size:9pt">: </span><span style="font-size:9pt;color:rgb(102,14,122);font-weight:bold">now</span><span style="font-size:9pt">});
</span>declare(<span style="font-size:9pt;color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.*"</span><span style="font-size:9pt">, {</span><span style="font-size:9pt;color:rgb(102,14,122);font-weight:bold">value</span><span style="font-size:9pt">: </span><span style="font-size:9pt;color:rgb(102,14,122);font-weight:bold">now</span><span style="font-size:9pt">});</span></pre><pre style="color:rgb(0,0,0);font-size:9pt"><font face="arial, helvetica, sans-serif">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:</font></pre><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt">declare(<span style="font-size:9pt;color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.LANDevice.*.WLANConfiguration.*.*"</span><span style="font-size:9pt">, {</span><span style="font-size:9pt;color:rgb(102,14,122);font-weight:bold">path</span><span style="font-size:9pt">: </span><span style="font-size:9pt;color:rgb(102,14,122);font-weight:bold;font-style:italic">now, value: now</span><span style="font-size:9pt">});</span><br></pre><pre style="color:rgb(0,0,0);font-size:9pt"><font face="arial, helvetica, sans-serif">That will cause Genie to refresh not just the parameter names, but also the values and will replace all three lines above.</font></pre><pre style="color:rgb(0,0,0);font-size:9pt"><font face="arial, helvetica, sans-serif"><br></font></pre><pre style="color:rgb(0,0,0);font-size:9pt"><font face="arial, helvetica, sans-serif">Where aren't you seeing the values at? In the CPE GUI, or GenieACS gui?</font></pre><pre style="color:rgb(0,0,0);font-size:9pt"><font face="arial, helvetica, sans-serif"><br></font></pre><pre style="color:rgb(0,0,0);font-size:9pt"><font face="arial, helvetica, sans-serif">-dan</font></pre></div></div></div>