<div dir="ltr">I'm trying to ensure a WANPPPConnection instance exists. Per the docs I should be able to use this:<div><div><font face="monospace, monospace">log('Creating WANPPPInstance (if necessary)');</font></div><div><font face="monospace, monospace">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*", null, {path: 1});</font><br><div><br></div><div>However, when I have that in my script, dozens of instances get created, and then the script faults with:</div><div><font face="monospace, monospace">Channel has faulted; channel="Provision" retries=0 faultCode="endless_cycle" faultMessage="The provision seems to be repeating indefinitely"</font> </div><div><br></div><div><span class="gmail-long-text gmail-param-path" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:"lucida sans unicode","lucida grande",arial,sans-serif;vertical-align:baseline;white-space:nowrap;max-width:22em;overflow:hidden;text-overflow:ellipsis;color:rgb(70,60,0)">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnectionNumberOfEntries</span><span style="color:rgb(0,47,47);font-family:"lucida sans unicode","lucida grande",arial,sans-serif;font-size:13px"> </span><span class="gmail-long-text gmail-param-value" title="as of less than 5 seconds ago" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:"lucida sans unicode","lucida grande",arial,sans-serif;vertical-align:bottom;white-space:nowrap;max-width:22em;overflow:hidden;text-overflow:ellipsis;display:inline-block;color:rgb(0,47,47)">61</span><br></div><div><br></div><div>Those 60 instances (1 pre-existing) were created before I could kill the cwmp process :)</div><div>Here is a snippet from the log:</div><div><br></div><div><div><font face="monospace, monospace">2017-03-09T22:56:17.484Z [INFO] 172.27.240.90 3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Creating WANPPPInstance (if necessary)</font></div><div><font face="monospace, monospace">2017-03-09T22:56:17.497Z [INFO] 172.27.240.90 3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request; acsRequestId="15ab5497fed100" acsRequestName="AddObject"</font></div><div><font face="monospace, monospace">2017-03-09T22:56:17.583Z [INFO] 172.27.240.90 3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request; acsRequestId="15ab5497fed101" acsRequestName="GetParameterNames"</font></div><div><font face="monospace, monospace">2017-03-09T22:56:17.666Z [INFO] 172.27.240.90 3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request; acsRequestId="15ab5497fed102" acsRequestName="AddObject"</font></div><div><font face="monospace, monospace">2017-03-09T22:56:17.757Z [INFO] 172.27.240.90 3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request; acsRequestId="15ab5497fed103" acsRequestName="GetParameterNames"</font></div><div><font face="monospace, monospace">...</font></div></div><div><br></div></div></div></div>