Zaid Thanks in advance for quick response! Removing parameter WANIPConnection (and key) from the object seems continue failing. When an nested object is part of a preset only the father object is created.. and if as the same preset try to create a brother object (no child of the first) seems to fail also. Summarizing only one object (of each type) can be created as preset, is ok? Thanks again!
STECHS - Ing. Agustin Bertamoni Móvil: (+54911) 62183226 Av. Boyacá 372 Piso 4º Oficina 401 (C1406BHF) Buenos Aires, Argentina On Tue, Oct 27, 2015 at 4:02 AM, Zaid Abdulla <[email protected]> wrote: > On Mon, Oct 26, 2015, at 09:20 PM, Agustín Bertamoni wrote: > > Objects: > > { > "_id" : "WANIPConnection", > "WANIPConnection" : "", > "_keys" : [ > "WANIPConnection" > ] > } > > { > "_id" : "ConfigInternetWan", > "Enable" : "true", > "X_HW_SERVICELIST" : "INTERNET", > "X_HW_VLAN" : "101", > "AddressingType" : "DHCP", > "X_HW_VenderClassID" : "gpon_wan", > "_keys" : [ > "Enable" > ] > } > > It correct the preset settings and objects? Thanks in advance! > > > Looking at the first object, the parameter WANIPConnection shouldn't be > there because it's a object and can't contain a value and thus can't be > used as key. > > Note that creating nested object is tricky and doesn't always work using > presets. I would recommend doing that through the API. > > Zaid > > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
