aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-vpn-topology.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-vpn-topology.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-vpn-topology.json11
1 files changed, 6 insertions, 5 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-vpn-topology.json b/platform-logic/restapi-templates/src/main/json/sdwan-vpn-topology.json
index 6d22cb9e..89da9a28 100644
--- a/platform-logic/restapi-templates/src/main/json/sdwan-vpn-topology.json
+++ b/platform-logic/restapi-templates/src/main/json/sdwan-vpn-topology.json
@@ -3,13 +3,14 @@
"areas": [
{
"name": "area1",
- "areaType": "leaf",
+ "areaType": "backbone",
"topologyType": ${prop.topology},
- "siteAttachements": [${repeat:prop.siteAttachement_length:
- {"siteId": [${repeat:prop.siteAttachement[${1}].siteId_length:
- ${prop.siteAttachement[${1}].siteId[${2}]},}
+ "siteAttachments": [${repeat:prop.siteAttachements_length:
+ {"siteId": ${prop.siteAttachements[${1}].siteId},
+ "role": [${repeat:prop.siteAttachements[${1}].roles_length:
+ ${prop.siteAttachements[${1}].roles[${2}]},
+ }
],
- "role": ${prop.siteAttachement[${1}].role},
"workMode": "with-interconnection",
"sitePriority": "active",
"borders": null