Create nested WAN object in preset

Agustín Bertamoni abertamoni at stechs.com.ar
Mon Oct 26 14:20:08 EDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20151026/126192a3/attachment.html>


More information about the Users mailing list