<div dir="ltr">This is all <a href="https://github.com/genieacs/genieacs/wiki/GenieACS-Auth-Config#acs-to-cpe">documented on the wiki</a>...<div><br></div><div>-dan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 18, 2019 at 2:21 PM Matthew Forbes <<a href="mailto:m.forbes@kyrio.com">m.forbes@kyrio.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_3568345355819787052WordSection1">
<p class="MsoNormal">I’m very close.  I can send a POST and the device updates on the next inform, but I would like it to update immediately.  I get an HTTP 202 error showing incorrect connection request credentials.  How do I set the connection request credentials? 
 I know what they are and I get a 200 ok when I use the other command you gave me.  I just need to get a 200 ok for the POST.  Thanks for your help.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Users <<a href="mailto:users-bounces@lists.genieacs.com" target="_blank">users-bounces@lists.genieacs.com</a>> <b>On Behalf Of
</b>Dan Morphis<br>
<b>Sent:</b> Friday, January 18, 2019 3:33 PM<br>
<b>To:</b> Community support for GenieACS users <<a href="mailto:users@lists.genieacs.com" target="_blank">users@lists.genieacs.com</a>><br>
<b>Subject:</b> Re: provisioning script not working<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:1pt solid rgb(156,0,6);padding:2pt;margin-bottom:2pt">
<p class="MsoNormal" style="line-height:12pt;background:rgb(255,199,206)"><b><span style="font-size:10pt;color:rgb(156,0,6)">CableLabs WARNING:</span></b><span style="font-size:10pt;color:black"> The sender of this email could not be validated and may not match the
 person in the "From" field.<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal">I'd read through the documentation on the wiki again. This is all outlined in there. Do not hard-code instance ids, you can never be assured they will always be the same.<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Jan 18, 2019 at 1:41 AM sisir tiwari <<a href="mailto:sisir@vianet.com.np" target="_blank">sisir@vianet.com.np</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am  having issue with  provisioning script to create new pppoe connection.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">My script is as follows:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">const now = Date.now();</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANPPPConnection.*.*", {path: Date.now()});</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.X_CT-COM_WANGponLinkConfig", {path: Date.now()});</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANPPPConnection", null, {path: 1});</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANPPPConnection.[ConnectionType:IP_Routed,X_D0542D_ServiceList:INTERNET,TransportType:PPPoE,Username:hello12,Password:hello12,NATEnabled:true]",
 {path: 1}, {path: 1});</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANPPPConnection.1.Enable", {value: now}, {value: true});</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.X_CT-COM_WANGponLinkConfig.Enable", {value: now}, {value: true});</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.X_CT-COM_WANGponLinkConfig.VLANIDMark", {value: now}, {value: "1234"});</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)">commit();
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,112,192)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">This only refreshes the
</span><span style="color:rgb(0,112,192)">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*
</span><span style="color:black">tree but doesn’t set the parameters value.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">I guess this is due to full chain doesn’t exist in GenieACS's cache of the device object model.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">So how could I create new pppoe connection as below since I already have three WANConnectionDevice as “InternetGatewayDevice.WANDevice.1.WANConnectionDevice.(1,2,3).WANIPConnection.1.*”</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANPPPConnection.1.Enable</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANPPPConnection.1.Username
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:black">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANPPPConnection.1.Password</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Best Regards,<u></u><u></u></p>
<p class="MsoNormal" style="line-height:105%">
<b><span lang="EN-GB" style="color:red;letter-spacing:1.7pt">SISIR TIWARI</span></b><u></u><u></u></p>
<p class="MsoNormal" style="line-height:105%">
<b><span lang="EN-GB" style="font-size:10pt;line-height:105%;font-family:"Baskerville Old Face",serif;color:rgb(118,113,113)">(NOC)</span></b><u></u><u></u></p>
<p class="MsoNormal" style="line-height:105%">
<span style="color:rgb(47,84,150)"><img border="0" width="338" height="3" style="width: 3.5166in; height: 0.0333in;" id="gmail-m_3568345355819787052gmail-m_2661156880242964490Picture_x0020_1" src="cid:168720ccf774cff311" alt="cid:image003.png@01D34DA2.ED69F020"></span><u></u><u></u></p>
<p class="MsoNormal" style="line-height:105%">
<span style="font-size:10.5pt;line-height:105%;color:red;background:white">T:</span><span style="color:rgb(47,84,150)">
</span><span lang="EN-GB" style="color:rgb(47,84,150)">(+977) 01 4217555 </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:red">A</span><span lang="EN-GB" style="color:rgb(47,84,150)">: Jawalakhel, Lalitpur</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:red">W:</span><span lang="EN-GB" style="color:rgb(47,84,150)">
<a href="http://www.vianet.com.np/" target="_blank">www.vianet.com.np</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(149,150,153)"><img border="0" width="225" height="61" style="width: 2.3416in; height: 0.6333in;" id="gmail-m_3568345355819787052gmail-m_2661156880242964490Picture_x0020_14" src="cid:168720ccf775b16b22" alt="cid:image003.png@01D34CCB.90EDC510"></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:8pt;font-family:"Arial Narrow",sans-serif;color:red"> </span><u></u><u></u></p>
<p class="MsoNormal"><a href="https://www.facebook.com/vianetnepal/" target="_blank"><span style="color:rgb(5,99,193);text-decoration:none"><img border="0" width="50" height="50" style="width: 0.525in; height: 0.525in;" id="gmail-m_3568345355819787052gmail-m_2661156880242964490Picture_x0020_3" src="cid:168720ccf77692e333" alt="fb"></span></a><a href="https://twitter.com/VianetFTTH" target="_blank"><span style="color:rgb(5,99,193);text-decoration:none"><img border="0" width="50" height="50" style="width: 0.525in; height: 0.525in;" id="gmail-m_3568345355819787052gmail-m_2661156880242964490Picture_x0020_4" src="cid:168720ccf777745b44" alt="twitter"></span></a><a href="https://www.instagram.com/vianetftth/" target="_blank"><span style="color:rgb(5,99,193);text-decoration:none"><img border="0" width="50" height="50" style="width: 0.525in; height: 0.525in;" id="gmail-m_3568345355819787052gmail-m_2661156880242964490Picture_x0020_5" src="cid:168720ccf77855d355" alt="insa"></span></a><a href="https://www.youtube.com/channel/UCkw5lCX7AE2ujAhJici0TIQ/videos" target="_blank"><span style="color:rgb(5,99,193);text-decoration:none"><img border="0" width="50" height="50" style="width: 0.525in; height: 0.525in;" id="gmail-m_3568345355819787052gmail-m_2661156880242964490Picture_x0020_6" src="cid:168720ccf779374b66" alt="youtube"></span></a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
</blockquote></div>