summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-site-hub.json
blob: 1dcedd9b6a44885da42d80f922a8f2ea3b952cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
    "sites": [
        {            
            "name": ${prop.site.name},
            "locations": [
                {
                     "name": ${prop.site.location-name},
                     "address": ${prop.site.location-address},
                     "postcode": ${prop.site.location-postcode}
                }
            ],
           "devices": [${repeat:prop.site.deviceId_length:
                  {
                      "deviceId": ${prop.site.deviceId[${1}]},
                      "locationName": ${prop.site.location-name},
                  },
                }
           ],
            "siteType": ${prop.site.type},
            "role": [${repeat:prop.site.roles_length:
                       ${prop.site.roles[${1}]},
                      }
                    ],               
            "controlPoints": [],            
            "description": "--------role:dsvpn-hub---------------"
        }
    ]
}