aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-vpn-topology.json
blob: 6d22cb9efddf8e6c32d308e33496fcd73eb93911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "vpnId": ${prop.vpn1Id},
    "areas": [
        {
            "name": "area1",
            "areaType": "leaf",
            "topologyType": ${prop.topology},
            "siteAttachements": [${repeat:prop.siteAttachement_length:
                    {"siteId": [${repeat:prop.siteAttachement[${1}].siteId_length:
                                ${prop.siteAttachement[${1}].siteId[${2}]},}
                               ],
                     "role": ${prop.siteAttachement[${1}].role},
                     "workMode": "with-interconnection",
                     "sitePriority": "active",
                     "borders": null
                    },
                 }
            ]
        }
    ]
}