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---------------"
}
]
}
|