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