When there’s a new target cloud environment to run the application on, the network designer is simply creates a new network template B that corresponds to the new environmental conditions and provide it to the application designer which packs it into the application CSAR. Figure8: Service template with network template B The node templates for these three networks would be defined as follows: node_templates: frontend: type: tosca.nodes.Compute properties: # omitted for brevity backend: type: properties: # omitted for brevity database: type: properties: # omitted for brevity oam_network: type: tosca.nodes.network.Network properties: # omitted for brevity admin_network: type: tosca.nodes.network.Network properties: # omitted for brevity data_network: type: tosca.nodes.network.Network properties: # omitted for brevity # ports definition fe_oam_net_port: type: tosca.nodes.network.Port properties: is_default: true ip_range_start: { get_input: fe_oam_net_ip_range_start } ip_range_end: { get_input: fe_oam_net_ip_range_end } requirements: - link: oam_network
When there’s a new target cloud environment to run the application on, the network designer is simply creates a new network template B that corresponds to the new environmental conditions and provide it to the application designer which packs it into the application CSAR. Figure8: Service template with network template B The node templates for these three networks would be defined as follows: node_templates: frontend: type: tosca.nodes.Compute properties: # omitted for brevity backend: type: properties: # omitted for brevity database: type: properties: # omitted for brevity oam_network: type: tosca.nodes.network.Network properties: # omitted for brevity admin_network: type: tosca.nodes.network.Network properties: # omitted for brevity data_network: type: tosca.nodes.network.Network properties: # omitted for brevity # ports definition fe_oam_net_port: type: tosca.nodes.network.Port properties: is_default: true ip_range_start: { get_input: fe_oam_net_ip_range_start } ip_range_end: { get_input: fe_oam_net_ip_range_end } requirements: - link: oam_network