1 tosca_definitions_version: tosca_simple_yaml_1_0_0
 
   3   template_name: VSR_CPM_base_template_nested
 
   5 - openecomp_heat_index:
 
   6     file: openecomp-heat/_index.yml
 
   7 - GlobalSubstitutionTypes:
 
   8     file: GlobalSubstitutionTypesServiceTemplate.yaml
 
  10   org.openecomp.resource.vfc.nodes.heat.vm:
 
  11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
 
  18       description: VNF Module ID
 
  23       description: Network used by the Management interface
 
  28       description: Fixed IP that will be used by the primary Management Interface
 
  33       description: The slot value assigned to the module eg A and B
 
  38       description: Network used by the Control Fabric interface
 
  43       description: Security group to be used
 
  48       description: Fixed IP that will be used by the secondary Management Interface
 
  53       description: Subnet used by the Management interface
 
  54     ctrl_fabric_subnet_id:
 
  58       description: Subnet used by the Control Fabric interface
 
  63       description: Id of the HEAT project
 
  73       description: Parameters to be passed to the VM at boot up as key-value pairs
 
  78       description: Id of the HEAT stack
 
  83       description: Availability zone where this component should be instantiated
 
  88       description: Image to be used for the instance
 
  93       description: Flavor of the VNF to be used
 
  98       description: MTU size in bytes
 
 103       description: Name of the HEAT stack
 
 108       description: Name of the VNF
 
 111       type: org.openecomp.resource.vfc.nodes.heat.vm
 
 114           get_input: cpm_flavor_name
 
 116           get_input: availability_zone_0
 
 118           get_input: cpm_image_name
 
 121             get_input: vf_module_id
 
 125         user_data_format: RAW
 
 129       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
 
 135           floating_ip_count_required:
 
 138         - get_input: security_group
 
 141             get_input: mgt_subnet_id
 
 143             get_input: cpm_mgt_ip
 
 147         allowed_address_pairs:
 
 149             get_input: cpm_mgt_cidr
 
 150         network_role_tag: mgt
 
 152           get_input: mgt_net_id
 
 155           capability: tosca.capabilities.network.Bindable
 
 157           relationship: tosca.relationships.network.BindsTo
 
 158     cpm_ctrl_fabric_0_port:
 
 159       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
 
 165           floating_ip_count_required:
 
 168         - get_input: security_group
 
 171             get_input: ctrl_fabric_subnet_id
 
 177           - opt_name: interface-mtu
 
 180         network_role_tag: ctrl_fabric
 
 182           get_input: ctrl_fabric_net_id
 
 185           capability: tosca.capabilities.network.Bindable
 
 187           relationship: tosca.relationships.network.BindsTo
 
 189     VSR_CPM_base_template_nested_group:
 
 190       type: org.openecomp.groups.heat.HeatStack
 
 192         heat_file: ../Artifacts/VSR_CPM_base_template_nested.yaml
 
 196       - cpm_ctrl_fabric_0_port
 
 197   substitution_mappings:
 
 198     node_type: org.openecomp.resource.abstract.nodes.heat.VSR_CPM_base_template_nested
 
 200       disk.device.read.bytes.rate_CPM:
 
 202       - disk.device.read.bytes.rate
 
 203       network.incoming.packets_cpm_ctrl_fabric_0_port:
 
 204       - cpm_ctrl_fabric_0_port
 
 205       - network.incoming.packets
 
 209       disk.device.write.bytes.rate_CPM:
 
 211       - disk.device.write.bytes.rate
 
 215       disk.device.usage_CPM:
 
 218       network.outpoing.packets_cpm_ctrl_fabric_0_port:
 
 219       - cpm_ctrl_fabric_0_port
 
 220       - network.outpoing.packets
 
 224       disk.device.allocation_CPM:
 
 226       - disk.device.allocation
 
 227       disk.read.bytes.rate_CPM:
 
 229       - disk.read.bytes.rate
 
 233       disk.write.requests_CPM:
 
 235       - disk.write.requests
 
 236       disk.read.requests_CPM:
 
 239       network.outgoing.bytes_cpm_ctrl_fabric_0_port:
 
 240       - cpm_ctrl_fabric_0_port
 
 241       - network.outgoing.bytes
 
 242       disk.write.bytes_CPM:
 
 248       disk.device.capacity_CPM:
 
 250       - disk.device.capacity
 
 251       network.outgoing.bytes.rate_cpm_ctrl_fabric_0_port:
 
 252       - cpm_ctrl_fabric_0_port
 
 253       - network.outgoing.bytes.rate
 
 257       network.incoming.packets.rate_cpm_mgt_0_port:
 
 259       - network.incoming.packets.rate
 
 260       disk.device.latency_CPM:
 
 262       - disk.device.latency
 
 266       disk.device.read.bytes_CPM:
 
 268       - disk.device.read.bytes
 
 269       disk.device.write.requests.rate_CPM:
 
 271       - disk.device.write.requests.rate
 
 272       network.outgoing.packets.rate_cpm_mgt_0_port:
 
 274       - network.outgoing.packets.rate
 
 275       network.incoming.bytes_cpm_ctrl_fabric_0_port:
 
 276       - cpm_ctrl_fabric_0_port
 
 277       - network.incoming.bytes
 
 281       binding_cpm_mgt_0_port:
 
 287       network.incoming.bytes.rate_cpm_ctrl_fabric_0_port:
 
 288       - cpm_ctrl_fabric_0_port
 
 289       - network.incoming.bytes.rate
 
 290       disk.device.read.requests_CPM:
 
 292       - disk.device.read.requests
 
 293       disk.device.write.bytes_CPM:
 
 295       - disk.device.write.bytes
 
 296       network.outgoing.packets.rate_cpm_ctrl_fabric_0_port:
 
 297       - cpm_ctrl_fabric_0_port
 
 298       - network.outgoing.packets.rate
 
 311       network.outpoing.packets_cpm_mgt_0_port:
 
 313       - network.outpoing.packets
 
 314       network.incoming.packets_cpm_mgt_0_port:
 
 316       - network.incoming.packets
 
 317       feature_cpm_ctrl_fabric_0_port:
 
 318       - cpm_ctrl_fabric_0_port
 
 323       binding_cpm_ctrl_fabric_0_port:
 
 324       - cpm_ctrl_fabric_0_port
 
 326       network.outgoing.bytes.rate_cpm_mgt_0_port:
 
 328       - network.outgoing.bytes.rate
 
 329       disk.device.write.requests_CPM:
 
 331       - disk.device.write.requests
 
 335       disk.device.iops_CPM:
 
 341       disk.ephemeral.size_CPM:
 
 343       - disk.ephemeral.size
 
 347       network.incoming.bytes.rate_cpm_mgt_0_port:
 
 349       - network.incoming.bytes.rate
 
 350       attachment_cpm_mgt_0_port:
 
 353       attachment_cpm_ctrl_fabric_0_port:
 
 354       - cpm_ctrl_fabric_0_port
 
 356       disk.write.bytes.rate_CPM:
 
 358       - disk.write.bytes.rate
 
 359       network.incoming.bytes_cpm_mgt_0_port:
 
 361       - network.incoming.bytes
 
 365       feature_cpm_mgt_0_port:
 
 368       disk.write.requests.rate_CPM:
 
 370       - disk.write.requests.rate
 
 377       network.incoming.packets.rate_cpm_ctrl_fabric_0_port:
 
 378       - cpm_ctrl_fabric_0_port
 
 379       - network.incoming.packets.rate
 
 383       network.outgoing.bytes_cpm_mgt_0_port:
 
 385       - network.outgoing.bytes
 
 386       disk.device.read.requests.rate_CPM:
 
 388       - disk.device.read.requests.rate
 
 393       dependency_cpm_ctrl_fabric_0_port:
 
 394       - cpm_ctrl_fabric_0_port
 
 399       dependency_cpm_mgt_0_port:
 
 405       link_cpm_ctrl_fabric_0_port:
 
 406       - cpm_ctrl_fabric_0_port