<html><head></head><body><div dir="auto">Hello Dan,<br><br></div>
<div dir="auto">Thank you for your response.<br><br></div>
<div dir="auto">Also, thanks for the correction on refreshing WLANConnection instances.<br><br></div>
<div dir="auto">"<i>Where aren't you seeing the values at? In the CPE GUI, or GenieACS gui?"</i><br></div>
<div dir="auto">I do not see the values in the CPE GUI. <i>Only the SSID value on the "WLANCommection.2" instance is set on both the CPE GUI and the GenieACS gui</i>. All other values are set on the GenieACS gui, but do not show up on the CPE gui.<br><br></div>
<div dir="auto"><b><i>Additional info:</i></b><i> The CPE vendor supports setting values on the "WANPPPConnection.1" instance only. Using the script in question, the values on this instance are set on the GenieACS gui, </i><b><i>but the values are not seen on the CPE GUI.</i></b><br><br></div>
<div dir="auto"><i>When I set the values using the GenieACS GUI alone(I.e no provision) it works and I see same values on the CPE gui.</i></div>
<div class="gmail_quote" >On 3 Apr 2019, at 20:35, Dan Morphis <<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<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>
<pre class="blue"><hr><br>Users mailing list<br>Users@lists.genieacs.com<br><a href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a><br></pre></blockquote></div></body></html>