Awesome! What other keys are there? There is obviously also .value

I tried:

log('Keys: ' + Object.keys(p).join(', '));


and nothing is output to the log.


On Mon, Mar 20, 2017 at 2:29 PM, Zaid Abdulla <[email protected]> wrote:

> On Mon, 2017-03-20 at 14:22 -0800, Dan Morphis wrote:
> > In a provisioning script, is there anyway to get the instance ID that
> > was created? Use case is for some models of CPEs we deploy, I need to
> > set the .Interface to be
> > 'InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnect
> > ion.3' (or whatever the instance ID is. Other models I can get away
> > with 'atm1.1'
>
> The object(s) returned from declare() should have a path property:
>
>     let p = declare(...);
>     log(p.path);
>
> --
> Zaid Abdulla <[email protected]>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.genieacs.com/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to