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