Release version 1.1.0 of sli/plugins
[ccsdk/sli/plugins.git] / restapi-call-node / provider / src / main / resources / vrf-update.json
1 {
2   "vpn-vame": ${allocate-vpn-resource-notification-input.vpn-data[0].vpn-name},
3   "vpn-id": ${allocate-vpn-resource-notification-input.vpn-data[0].vpn-id},
4   "vrf-details": [
5   ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information_length:
6     {
7       "vrf-export-details": [
8       ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-export-details_length:
9         {
10           "vrf-export": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-export-details[${2}].vrf-export}
11         }
12         }
13       ],
14       "vrf-name": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-name},
15       "vpe-name": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vpe-name},
16       "vrf-import-details": [
17       ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-import-details_length:
18         {
19           "vrf-import": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-import-details[${2}].vrf-import}
20         }
21         }
22       ],
23       "apply-group-template": [
24       ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].apply-group-template_length:
25         {
26           "apply-group": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].apply-group-template[${2}].apply-group}
27         }
28         }
29       ],
30       "community-list": [
31       ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].community-list_length:
32         {
33           "member": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].community-list[${2}].name},
34           "name": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].community-list[${2}].member}
35         }
36         }
37       ],
38       "router-distinguisher": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].router-distinguisher}
39     }
40     }
41   ],
42   "spoke-routes": {
43     "route-target": ${allocate-vpn-resource-notification-input.vpn-data[0].spoke-route-target.route-target}
44   },
45
46    "route-target-details": [
47   ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].route-target-details_length:
48     {
49      "route-target": ${allocate-vpn-resource-notification-input.vpn-data[0].route-target-details[${1}].route-target},
50      "route-target-type": ${allocate-vpn-resource-notification-input.vpn-data[0].route-target-details[${1}].route-target-type}
51     }
52     }
53   ],
54
55   "e2e-vpn-key": ${allocate-vpn-resource-notification-input.vpn-data[0].e2e-vpn-id}
56 }