27. Multiple Node Instances (Experimental)
tosca_definitions_version: tosca_simple_yaml_1_3
topology_template:
inputs:
numberOfSites:
type: integer
node_templates:
sdwan:
type: VPN
site:
type: VPNSite
occurrences: [1, UNBOUNDED]
instance_count: { get_input: numberOfSites }
requirements:
- vpn: sdwan
Allow multiple node instances to be
created from the same node
template.
– For services with a variable number of
nodes of the same type.
• E.g. ONAP CCVPN use case
Grammar extensions
– ‘occurrences’ keyword to specify how
many instances are allowed
– ‘instance_count’ keyword to specify
desired number of instances at
deployment time