<div dir="ltr">Hello, <br><br>I've been trying to create a provisioning flow in order to start by only leaving 1 WAN Interface, with a fixed VLAN (that is pre-setted: for example, a VLAN with id 100 for TR069), and removing the rest of the WAN interfaces. After that is completed, I would add 2 or 3 WAN interfaces with other VLANs (for example, VLAN 200 for INTERNET, VLAN 300 for VoIP, VLAN 400 for IPTV... etc)<br><br>I would like to know the exact condition to make it work without pain. Like:<br><br><div>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.[]", null, {path: 1});</div><div>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1." + VendorPrefix + "WANGponLinkConfig.VLANIDMark", null, {value: "100"});</div><br>(It works)<br><br>But now, how do I add another VLAN? Because the next code isn't working for me:<div><br>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.[]", null, {path: 2});<br>declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2." + VendorPrefix + "WANGponLinkConfig.VLANIDMark", null, {value: "200"});<br><br>Anyway, my CPE creates a WANConnectionDevice.5. .... and I don't know why.<br><br>Thank you so much! Sorry for "reopening" the thread, but I think the answer to Angel would be one of the keys to solve my issue.<br><br><br><br><br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="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>
<br><div class="gmail_quote">2017-03-06 20:05 GMT+01:00 Zaid Abdulla <span dir="ltr"><<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2017-03-06 at 17:08 +0100, Àngel Wifibytes wrote:<br>
> I'm trying to delete an instance of an object. In this case, I have a<br>
> device with 3 WANConnectionDevice preconfigurated.<br>
<br>
</span>This should help (v1.1 only): <a href="https://github.com/zaidka/genieacs/wiki/P
rovisions#creatingdeleting-object-instances" rel="noreferrer" target="_blank">https://github.com/zaidka/<wbr>genieacs/wiki/P<br>
rovisions#creatingdeleting-<wbr>object-instances</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Zaid Abdulla <<a href="mailto:zaid@genieacs.com">zaid@genieacs.com</a>><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div>