...
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
node_templates: vf1: # omitted for brevity vf2: # omitted for brevity Vf3vf3: # omitted for brevity groups: vfs_grp: type: tosca.groups.Root members: [vf1, vf2] policies: scale_vf1: type: onap.policies.scaling.Fixed properties: quantity: 3 targets: [vf2] scale_vfs_grp: type: onap.policies.scaling.Fixed properties: quantity: 2 targets: [vfs_grp] |
The vfs_grp group will be instantiated 2 times. Within each group instance, the vf2 node will be instantiated 3 times. No scaling policies target vf3, so it will be instantiated only once. In total, there will be 2 instances of vf1, 3x2=6 instances of vf2, and 1 instance of vf3.