metadata:
template_name: Main
imports:
- ContrailComputeGlobalTypes:
- file: ContrailComputeGlobalTypesServiceTemplate.yaml
- CinderVolumeGlobalTypes:
- file: CinderVolumeGlobalTypesServiceTemplate.yaml
- ContrailVirtualNetworkGlobalType:
- file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
- AbstractSubstituteGlobalTypes:
- file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailPortGlobalTypes:
- file: ContrailPortGlobalTypesServiceTemplate.yaml
- GlobalSubstitutionTypes:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
file: GlobalSubstitutionTypesServiceTemplate.yaml
- NeutronPortGlobalTypes:
- file: NeutronPortGlobalTypesServiceTemplate.yaml
- NeutronNetGlobalTypes:
- file: NeutronNetGlobalTypesServiceTemplate.yaml
- CommonGlobalTypes:
- file: CommonGlobalTypesServiceTemplate.yaml
- ContrailAbstractSubstituteGlobalTypes:
- file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailNetworkRuleGlobalType:
- file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
- NeutronSecurityRulesGlobalTypes:
- file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
- NovaServerGlobalTypes:
- file: NovaServerGlobalTypesServiceTemplate.yaml
- ContrailV2VirtualMachineInterfaceGlobalType:
- file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
topology_template:
inputs:
oam_net_ips:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ metadata:
+ get_attribute:
+ - server_pcm_001
+ - server_pcm_id
availabilityzone_name:
get_input: availabilityzone_name
pcm_image_name:
get_input: availabilityzone_name
oam_net_gw:
get_input: oam_net_gw
+ user_data_format:
+ get_attribute:
+ - server_pcm_002
+ - pcm_vol
pcm_vol:
get_input:
- pcm_volumes
get_input: oam_net_mask
oam_net_name:
get_input: oam_net_name
+ packet_mirror_network:
+ type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
+ properties:
+ network_name:
+ get_input: cps_net_name
+ requirements:
+ - dependency:
+ capability: tosca.capabilities.Node
+ node: server_pcm_001
+ relationship: tosca.relationships.DependsOn
server_pcm_003:
type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
directives:
cps_net_mask:
get_input: cps_net_mask
groups:
- hot-nimbus-pcm_v0.4_2:
+ hot-nimbus-pcm_v0.4_group:
type: org.openecomp.groups.heat.HeatStack
properties:
- heat_file: ../Artifacts/hot-nimbus-pcm_v0.4_2.yaml
+ heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
description: heat template that creates PCRF Cluman stack
members:
- - server_pcm_003
- hot-nimbus-pcm_v0.4:
+ - server_pcm_002
+ - server_pcm_001
+ - packet_mirror_network
+ hot-nimbus-pcm_v0.4_2_group:
type: org.openecomp.groups.heat.HeatStack
properties:
- heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
+ heat_file: ../Artifacts/hot-nimbus-pcm_v0.4_2.yaml
description: heat template that creates PCRF Cluman stack
members:
- - server_pcm_002
- - server_pcm_001
\ No newline at end of file
+ - server_pcm_003
+ outputs:
+ output_attr_1:
+ value:
+ get_attribute:
+ - server_pcm_001
+ - pcm_vol
+ output_attr_2:
+ value:
+ get_attribute:
+ - server_pcm_002
+ - oam_net_ip
\ No newline at end of file