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