integration test issues fix for sdwan and sotn
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sdwan-site-spoke.json
1 {
2     "sites": [
3         {
4             "id": "",
5             "name": ${prop.site.name},
6             "locations": [
7                 {
8                      "name": ${prop.site.location-name},
9                      "address": ${prop.site.location-address},
10                      "postcode": ${prop.site.location-postcode}
11                 }
12             ],
13            "devices": [${repeat:prop.site.deviceId_length:
14                   {
15                       "deviceId": ${prop.site.deviceId[${1}]},
16                       "locationName": ${prop.site.location-name},
17                   },
18                 }
19            ],
20             "siteType": ${prop.site.type},
21             "role": [${repeat:prop.site.roles_length:
22                        ${prop.site.roles[${1}]},
23                       }
24                     ],               
25             "controlPoints": [${repeat:prop.site.controlpoints_length:
26                                 ${prop.site.controlpoints[${1}]},
27                                 }
28                              ],            
29             "description": "--------role:dsvpn-hub---------------"
30         }
31     ]
32 }
33
34