Another script where model instances aren't being populated

Dan Morphis dan at milkcarton.com
Thu Mar 16 23:21:31 EDT 2017


>
>
> That's expected, actually. The simulator looks for existing instances
> to decide what child parameters to add to the new instance. If there
> aren't any then it creates the instance with no child parameters.
>
> Sure, but then shouldn't the lines below the one that adds the instance
populate the parameters?

   1. declare("InternetGatewayDevice.Layer3Forwarding.Forwarding.*", null, {
   path: 1});          declare(
   "InternetGatewayDevice.Layer3Forwarding.Forwarding.*.DestIPAddress", {
   value: now}, {value: '192.168.7.80'});
   2.           declare(
   "InternetGatewayDevice.Layer3Forwarding.Forwarding.*.GatewayIPAddress", {
   value: now}, {value: '172.27.240.1'});
   3.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170316/351c3a83/attachment-0001.html>


More information about the Users mailing list