heat_template_version: 2015-04-30 #FIRSTNET - FW -FGI// Contrail 3.0 Version 2 Template #AUTHORS: Rajesh Anne (ja702x) description: > HOT template to create SecurityGroup//ServerGroup//ServiceTemplate: ##################### parameters: ##################### ## GLOBAL//Basic Parameters ## OPENECOMP VNF//VM Parameters vnf_name: type: string description: Unique name for this VF instance # For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC domain: type: string description: domain for the ServiceTemplate # For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC vnf_id: type: string description: Unique ID for this VF instance # For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC vf_module_id: type: string description: Unique ID for this VF Module instance # For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC vf_module_name: type: string description: Unique name for this VF Module instance # For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC ## GLOBAL//Network Parameters sgi_protected_interface_type: type: string description: service_interface_type for ServiceInstance sgi_direct_interface_type: type: string description: service_interface_type for ServiceInstance oam_protected_net_fqdn: type: string description: fq_name for the VirtualNetwork sgi_protected_net_dummy: type: string description: name for the VirtualNetwork sgi_protected_net_dummy1: type: string description: name for the VirtualNetwork sgi_protected_net_dummy_fqdn: type: string description: fq_name for the VirtualNetwork sgi_direct_net_fqdn: type: string description: fq_name for the VirtualNetwork nimbus_hsl_net_fqdn: type: string description: fq_name for the VirtualNetwork oam_protected_interface_type: type: string description: service_interface_type for ServiceInstance nimbus_hsl_interface_type: type: string description: service_interface_type for ServiceInstance ## PT//PortTuple Parameters cgi_fw_pt_vlan_VM1_name_fqdn: type: json description: fqdn of the ServiceInstance in PortTuple Resource cgi_fw_pt_vlan_VM2_name_fqdn: type: json description: fqdn of the ServiceInstance in PortTuple Resource ## ST//ServiceTemplate Parameters cgi_fw_st_version: type: number description: version for the ServiceTemplate constraints: - range: { min: 0, max: 99 } description: Must be a number between 0 and 99 cgi_fw_st_mode: type: string description: service_mode for the ServiceTemplate cgi_fw_st_type: type: string description: service_type for the ServiceTemplate cgi_fw_st_virtualization_type: type: string description: service_virtualization_type for the ServiceTemplate ## VMI//VirtualMachineInterface ECMP Parameters cgi_fw_vmi_ecmp_configured: type: boolean description: hashing_configured for the VirtualMachineInterface cgi_fw_vmi_ecmp_src_ip: type: boolean description: source_ip for the VirtualMachineInterface cgi_fw_vmi_ecmp_dst_ip: type: boolean description: destination_ip for the VirtualMachineInterface cgi_fw_vmi_ecmp_ip_protocol: type: boolean description: ip_protocol for the VirtualMachineInterface cgi_fw_vmi_ecmp_src_port: type: boolean description: source_port for the VirtualMachineInterface cgi_fw_vmi_ecmp_dst_port: type: boolean description: destination_port for the VirtualMachineInterface ## II//InstanceIp sgi_direct_family_v6: type: string description: IP Family Address for InstanceIp sgi_direct_subnet_id: type: string description: Subnet UUID for InstanceIp sgi_direct_ipv6_subnet_id: type: string description: Subnet UUID for InstanceIp ## VM//NovaServer Parameters cgi_fw_image_name: type: string description: image_name for the ServiceInstance VM cgi_fw_flavor_name: type: string description: flavor for the ServiceInstance VM availability_zone_0: type: string description: availability_zone for the ServiceInstance availability_zone_1: type: string description: availability_zone for the ServiceInstance cgi_fw_names: type: comma_delimited_list label: Firewall VM Name description: Comma Delimited List of Names for ServiceInstance VMs cgi_fw_oam_protected_ips: type: comma_delimited_list description: the ips of the management network for CGI FW contrail_vmi_subinterface: type: string port_name: type: string subinterface_name_prefix: type: string ##################### resources: ##################### template_VMInt_INT1_VLC: type: OS::Heat::ResourceGroup properties: count: 3 resource_def: type: firstnet_fgi_frwl.yml properties: virtual_machine_interface_properties: { virtual_machine_interface_properties_service_interface_type: { get_param: contrail_vmi_subinterface }, }