Hi,
I'm trying to create a nested WAN object in a preset and seems to not work,
this is the preset and the objects:

Preset:

{
    "_id" : "InitManagement",
    "weight" : 10,
    "precondition" :
"{\"summary.productClass\":\"HG8245H\",\"_tags\":{\"$ne\":\"InitWansDone\"}}",
    "configurations" : [
        {
            "type" : "add_object",
            "name" :
"InternetGatewayDevice.WANDevice.1.WANConnectionDevice",
            "object" : "WANConnectionDevice"
        },
        {
            "type" : "add_object",
            "name" :
"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection",
            "object" : "ConfigInternetWan"
        },
        {
            "type" : "add_tag",
            "tag" : "InitWansDone"
        }
    ]
}


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!

STECHS - Ing. Agustin Bertamoni
Móvil: (+54911) 62183226
Av. Boyacá 372 Piso 4º Oficina 401 (C1406BHF)
Buenos Aires, Argentina
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to