<div dir="ltr">Awesome! What other keys are there? There is obviously also .value<div><br></div><div>I tried:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>log('Keys: ' + Object.keys(p).join(', '));</div></blockquote><div><br></div><div>and nothing is output to the log.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 20, 2017 at 2:29 PM, Zaid Abdulla <span dir="ltr"><<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>></span> wrote:<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-20 at 14:22 -0800, Dan Morphis wrote:<br>
> In a provisioning script, is there anyway to get the instance ID that<br>
> was created? Use case is for some models of CPEs we deploy, I need to<br>
> set the .Interface to be<br>
> 'InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.2.<wbr>WANIPConnect<br>
> ion.3' (or whatever the instance ID is. Other models I can get away<br>
> with 'atm1.1'<br>
<br>
</span>The object(s) returned from declare() should have a path property:<br>
<br>
    let p = declare(...);<br>
    log(p.path);<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>