1 tosca_definitions_version: tosca_simple_yaml_1_0_0
 
   5 - openecomp_heat_index:
 
   6     file: openecomp-heat/_index.yml
 
   7 - GlobalSubstitutionTypes:
 
   8     file: GlobalSubstitutionTypesServiceTemplate.yaml
 
  15       description: Policy Name
 
  16     st_static_routes_list:
 
  20       description: List of static routes enabled-disabled
 
  25       description: service type
 
  26     st_service_interface_type_list:
 
  30       description: List of interface types
 
  35       description: service mode
 
  36     Cricket_OCS_protected_net_id:
 
  40       description: Name of Cricket OCS network
 
  45       description: Name of OAM network
 
  50       description: Start of dst port
 
  60       description: availability zone
 
  61     service_instance_name:
 
  65       description: Service instance name
 
  70       description: Indicates whether service scaling is enabled
 
  75       description: maximum number of firewall instances for scaling
 
  80       description: Start of src port
 
  85     service_policy_direction:
 
  89       description: Direction of Policy
 
  98       description: Name of service template
 
 107     HSL_direct_net_gateway:
 
 111       description: HSL (Logging) network gateway address
 
 124       description: List of shared ip enabled-disabled
 
 125     Cricket_OCS_direct_net_id:
 
 129       description: Name of Cricket OCS network
 
 134       description: End of src port
 
 139       description: End of dst port
 
 144       description: Name of the image
 
 149       description: Name of HSL (Logging) network
 
 154       description: HSL (Logging) network address (CIDR notation)
 
 157       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
 
 160           get_input: HSL_direct_net_id
 
 164               get_input: HSL_direct_net_cidr
 
 166               get_input: HSL_direct_net_gateway
 
 168       type: org.openecomp.resource.abstract.nodes.heat.OCS-fw3
 
 173           get_input: network_param1
 
 174         service_template_filter:
 
 175           substitute_service_template: OCS-fw3ServiceTemplate.yaml
 
 177           get_input: network_param1
 
 179       type: org.openecomp.resource.abstract.nodes.heat.service_template_2
 
 186           get_input: availability_zone_1
 
 188           get_input: st_image_name
 
 189         service_template_filter:
 
 190           substitute_service_template: OCS-fw2_service_instance3ServiceTemplate.yaml
 
 192             get_input: max_num_fw_instances
 
 194             get_input: st_scaling
 
 200           - get_input: st_static_routes_list
 
 204           - get_input: st_static_routes_list
 
 208           - get_input: st_static_routes_list
 
 211         service_template_name:
 
 213         service_interface_type_list:
 
 215           - get_input: st_service_interface_type_list
 
 219           - get_input: st_service_interface_type_list
 
 223           - get_input: st_service_interface_type_list
 
 226         service_instance_name:
 
 227           get_input: service_instance_name
 
 230             get_input: network_param1
 
 232             get_input: network_param1
 
 234             get_input: network_param2
 
 239           - get_input: st_shared_ip_list
 
 243           - get_input: st_shared_ip_list
 
 247           - get_input: st_shared_ip_list
 
 252           capability: tosca.capabilities.Node
 
 253           node: hsl_direct_net_2
 
 254           relationship: tosca.relationships.DependsOn
 
 256       type: org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules
 
 262                 get_input: start_src_ports
 
 264                 get_input: end_src_ports
 
 271                 get_input: Cricket_OCS_direct_net_id
 
 274                 get_input: start_dst_ports
 
 276                 get_input: end_dst_ports
 
 279                 get_input: Cricket_OCS_protected_net_id
 
 281               get_input: service_policy_direction
 
 283           get_input: service_policy_name
 
 286           capability: tosca.capabilities.Node
 
 287           node: service_instance3
 
 288           relationship: tosca.relationships.DependsOn
 
 290       type: org.openecomp.resource.abstract.nodes.heat.service_template_2
 
 297           get_input: availability_zone_1
 
 299           get_input: st_image_name
 
 300         service_template_filter:
 
 301           substitute_service_template: OCS-fw2_service_instance21ServiceTemplate.yaml
 
 303             get_input: max_num_fw_instances
 
 305             get_input: st_scaling
 
 311           - get_input: st_static_routes_list
 
 315           - get_input: st_static_routes_list
 
 319           - get_input: st_static_routes_list
 
 322         service_template_name:
 
 324         service_interface_type_list:
 
 326           - get_input: st_service_interface_type_list
 
 330           - get_input: st_service_interface_type_list
 
 334           - get_input: st_service_interface_type_list
 
 337         service_instance_name:
 
 338           get_input: service_instance_name
 
 341             get_input: network_param2
 
 343             get_input: network_param1
 
 345             get_input: network_param2
 
 350           - get_input: st_shared_ip_list
 
 354           - get_input: st_shared_ip_list
 
 358           - get_input: st_shared_ip_list
 
 363           capability: tosca.capabilities.Node
 
 364           node: hsl_direct_net_2
 
 365           relationship: tosca.relationships.DependsOn
 
 368       type: org.openecomp.groups.heat.HeatStack
 
 370         heat_file: ../Artifacts/OCS-fw2.yml
 
 372           Based on the following reference for the HOT-DMZ-FW template: Version 3.5 8-10-2015 (Authors: Art Mishurov,am254u & Johhny Chen, jc3066) - HOT-DMZ-FW template that creates two DMZ networks (direct and protected) with a scaled out firewall service between the two.
 
 379   substitution_mappings:
 
 380     node_type: org.openecomp.resource.abstract.nodes.heat.OCS-fw2
 
 382       feature_service_instance21:
 
 385       feature_service_instance3:
 
 388       feature_hsl_direct_net_2:
 
 391       feature_service_policy_2:
 
 394       feature_service_policy_3_test_nested3:
 
 396       - feature_service_policy_3
 
 397       end_point_hsl_direct_net_3_test_nested3:
 
 399       - end_point_hsl_direct_net_3
 
 400       feature_service_instance4_test_nested3:
 
 402       - feature_service_instance4
 
 403       feature_hsl_direct_net_3_test_nested3:
 
 405       - feature_hsl_direct_net_3
 
 406       link_hsl_direct_net_2:
 
 409       link_hsl_direct_net_3_test_nested3:
 
 411       - link_hsl_direct_net_3
 
 412       feature_test_nested3:
 
 415       end_point_hsl_direct_net_2:
 
 418       attachment_hsl_direct_net_3_test_nested3:
 
 420       - attachment_hsl_direct_net_3
 
 421       attachment_hsl_direct_net_2:
 
 425       dependency_service_instance3:
 
 428       network_service_policy_2:
 
 431       link_port_0_service_instance3:
 
 434       dependency_hsl_direct_net_3_test_nested3:
 
 436       - dependency_hsl_direct_net_3
 
 437       link_port_2_service_instance21:
 
 440       link_port_0_service_instance4_test_nested3:
 
 442       - link_port_0_service_instance4
 
 443       dependency_hsl_direct_net_2:
 
 446       link_port_2_service_instance3:
 
 449       link_port_1_service_instance21:
 
 452       dependency_service_policy_3_test_nested3:
 
 454       - dependency_service_policy_3
 
 455       link_port_0_service_instance21:
 
 458       link_port_2_service_instance4_test_nested3:
 
 460       - link_port_2_service_instance4
 
 461       dependency_service_instance21:
 
 464       dependency_test_nested3:
 
 467       dependency_service_instance4_test_nested3:
 
 469       - dependency_service_instance4
 
 470       link_port_1_service_instance3:
 
 473       link_port_1_service_instance4_test_nested3:
 
 475       - link_port_1_service_instance4
 
 476       dependency_service_policy_2:
 
 479       network_service_policy_3_test_nested3:
 
 481       - network_service_policy_3