summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-site-zte-add.json
blob: 1e50e76f39cb80a0351fae2234bccd7e6f0a8753 (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
31
32
33
34
{
    "sites": [
        {
            "id": "",
            "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": [${repeat:prop.site.controlpoints_length:
                                ${prop.site.controlpoints[${1}]},
                                }
                             ],            
            "description": "--------role:dsvpn-hub---------------"
        }
    ]
}