<div dir="ltr">Hello, I am trying to create 4 interfaces in an ONT.<br><br>This line of code is working:<br><br>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.[]", null, {path: 4});<br><br>But it's creating these instances:<br><span style="color:rgb(70,60,0);font-family:"Lucida Sans Unicode","Lucida Grande",Arial,sans-serif;font-size:13px;white-space:nowrap">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.<b>23</b>.WANIPConnection<br></span><span style="color:rgb(70,60,0);font-family:"Lucida Sans Unicode","Lucida Grande",Arial,sans-serif;font-size:13px;white-space:nowrap">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.<b>24</b>.WANIPConnection</span><br><span style="color:rgb(70,60,0);font-family:"Lucida Sans Unicode","Lucida Grande",Arial,sans-serif;font-size:13px;white-space:nowrap">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.<b>25</b>.WANIPConnection</span><div><span style="color:rgb(70,60,0);font-family:"Lucida Sans Unicode","Lucida Grande",Arial,sans-serif;font-size:13px;white-space:nowrap">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.<b>26</b>.WANIPConnection</span></div><div><font color="#463c00" face="Lucida Sans Unicode, Lucida Grande, Arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font color="#463c00" face="Lucida Sans Unicode, Lucida Grande, Arial, sans-serif"><span style="white-space:nowrap">So when I call this script, is not working because the Instances I am trying to add are 1,2,3 and 4</span><br><br><div><span style="white-space:nowrap">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.[Enable:true,"+VendorPrefix+"ServiceList:TR069,NATEnabled:false,X_BROADCOM_COM_VlanMuxID:3333]", {path: 1}, {path:1});</span></div><div><span style="white-space:nowrap">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.[Enable:true,"+VendorPrefix+"ServiceList:INTERNET,NATEnabled:false,X_BROADCOM_COM_VlanMuxID:51]", now,now);</span></div><div><span style="white-space:nowrap">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.[Enable:true,"+VendorPrefix+"ServiceList:VOIP,NATEnabled:false,X_BROADCOM_COM_VlanMuxID:52]", {path: 1}, {path:1});</span></div><div><span style="white-space:nowrap">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANIPConnection.1.[Enable:true,"+VendorPrefix+"ServiceList:Other,NATEnabled:false,X_BROADCOM_COM_VlanMuxID:53]", {path: 1}, {path:1});</span></div></font><div><br></div><div>But these instances aren't in any order. So how should I get the interface numbers in my provision?<br><br>PS. If I write the following, it is not working neither, because of a "9005 Invalid parameter name"(I see in tcpdump, it is trying to addObject  InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.):</div><div><br><div>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[Enable:true,"+VendorPrefix+"ServiceList:TR069,NATEnabled:false,X_BROADCOM_COM_VlanMuxID:3333]", {path: 1}, {path:1});</div><div>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[Enable:true,"+VendorPrefix+"ServiceList:INTERNET,NATEnabled:false,X_BROADCOM_COM_VlanMuxID:51]", {path: 1}, {path:1});</div><div>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[Enable:true,"+VendorPrefix+"ServiceList:VOIP,NATEnabled:false,X_BROADCOM_COM_VlanMuxID:52]", {path: 1}, {path:1});</div><div>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[Enable:true,"+VendorPrefix+"ServiceList:Other,NATEnabled:false,X_BROADCOM_COM_VlanMuxID:53]", {path: 1}, {path:1});</div></div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sergio Fernández Rubio - <a href="https://www.linkedin.com/in/sergiofdz/" target="_blank">https://www.linkedin.com/in/sergiofdz/<br></a></div><div dir="ltr"><div><span>(+34) 687 016 994</span><br>CEO @ ACSdesk<br></div><div><a href="https://acsdesk.com" target="_blank">https://acsdesk.com</a><br></div></div></div></div></div></div></div></div>
</div></div>