1 tosca_definitions_version: tosca_simple_yaml_1_0_0
 
   3   template_name: nested_pattern4
 
   5 - openecomp_heat_index:
 
   6     file: openecomp-heat/_index.yml
 
   7 - GlobalSubstitutionTypes:
 
   8     file: GlobalSubstitutionTypesServiceTemplate.yaml
 
  10   org.openecomp.resource.vfc.compute.nodes.heat.vdbe:
 
  11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
 
  18       description: Unique ID for this VF module inst
 
  19     port_vdbe_0_untr_vmi_1_network_role_tag:
 
  26       description: Reverse Path Filtering enable or disable for the control virtual network
 
  27     control_int_net_forwarding_mode:
 
  31       description: forwarding mode of the control virtual network
 
  36       description: Unique name for this VF instance
 
  41       description: IPV4 address of the secondary vDBE VM on the VAN untrusted network
 
  42     vdbe_aap_untrusted_ip_prefix_len:
 
  46       description: ip prefix length for the primary vDBE VM on the VAN untrusted network
 
  47     port_vdbe_0_untr_vmi_1_vlan_requirements:
 
  51         type: org.openecomp.datatypes.network.VlanRequirements
 
  56       description: Number of vDBE subinterface virtual Networks
 
  65       description: Unique name for this VF module inst
 
  70       description: Address mode for the vDBE cluster IP
 
  71     control_int_net_shared:
 
  75       description: control virtual network shared
 
  76     vdbe_untrusted_v6_ip_1:
 
  80       description: IPV6 address of the secondary vDBE VM on the VAN untrusted network
 
  81     vdbe_untrusted_vmac_address:
 
  85       description: Virtual MAC of the primary vDBE VM on the VAN untrusted network
 
  86     control_int_net_flood_unknown_unicast:
 
  90       description: forwarding mode of the control virtual network
 
  91     vdbe_aap_sec_untrusted_ip_prefix:
 
  95       description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
 
 100       description: Unique ID for this VF inst
 
 101     port_vdbe_0_untr_vmi_1_order:
 
 108       description: VM Name for this vdbe node 1
 
 113       description: The availability zone of secondary node1 vDBE vm in the local HA pair.
 
 114     port_vdbe_0_untr_vmi_1_mac_requirements:
 
 115       type: org.openecomp.datatypes.network.MacRequirements
 
 117     untrusted_vn_networks:
 
 121       description: List of subinterface virtual networks
 
 128       description: Image to use for vDBE
 
 133       description: Name of NSDNet network from which the management IP addresses will be allocated
 
 134     vdbe_aap_sec_untrusted_ip_prefix_len:
 
 138       description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
 
 139     vdbe_aap_untrusted_v6_ip_prefix:
 
 143       description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
 
 144     vdbe_aap_untrusted_v6_ip_prefix_len:
 
 148       description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
 
 153       description: List of subinterface vlan tags
 
 156     port_vdbe_0_untr_vmi_1_subnetpoolid:
 
 163       description: Flavor to use for vDBE
 
 164     port_vdbe_0_untr_vmi_1_ip_requirements:
 
 168         type: org.openecomp.datatypes.network.IpRequirements
 
 173       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
 
 178       description: Name of public untrusted network into which this vDBE HA cluster is deployed
 
 183       description: VDBE device Name for this vdbe VNF
 
 184     port_vdbe_0_untr_vmi_1_network_role:
 
 187     vdbe_aap_untrusted_ip_prefix:
 
 191       description: ip prefix for primary vDBE VM on the VAN untrusted network
 
 192     port_vdbe_0_untr_vmi_1_exCP_naming:
 
 193       type: org.openecomp.datatypes.Naming
 
 197       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
 
 200           get_input: port_vdbe_0_untr_vmi_1_subnetpoolid
 
 202           get_input: port_vdbe_0_untr_vmi_1_ip_requirements
 
 204           get_input: port_vdbe_0_untr_vmi_1_network_role
 
 206           get_input: port_vdbe_0_untr_vmi_1_mac_requirements
 
 207         subinterface_indicator: true
 
 210             template: VM_NAMEDBE001p1n004
 
 213                 get_input: vdbe_device_name
 
 215                 get_input: vdbe_name_1
 
 217           get_input: port_vdbe_0_untr_vmi_1_exCP_naming
 
 218         virtual_network_refs:
 
 221           get_input: port_vdbe_0_untr_vmi_1_vlan_requirements
 
 222         virtual_machine_interface_allowed_address_pairs:
 
 223           allowed_address_pair:
 
 225               get_input: aap_address_mode
 
 228                 get_input: vdbe_aap_untrusted_ip_prefix
 
 230                 get_input: vdbe_aap_untrusted_ip_prefix_len
 
 232               get_input: vdbe_untrusted_vmac_address
 
 234               get_input: aap_address_mode
 
 237                 get_input: vdbe_aap_sec_untrusted_ip_prefix
 
 239                 get_input: vdbe_aap_sec_untrusted_ip_prefix_len
 
 241               get_input: vdbe_hw_untr_mac_1
 
 243               get_input: aap_address_mode
 
 246                 get_input: vdbe_aap_untrusted_v6_ip_prefix
 
 248                 get_input: vdbe_aap_untrusted_v6_ip_prefix_len
 
 250               get_input: vdbe_untrusted_vmac_address
 
 252           get_input: port_vdbe_0_untr_vmi_1_network_role_tag
 
 253         virtual_machine_interface_mac_addresses:
 
 254         - get_input: vdbe_hw_untr_mac_1
 
 256           get_input: port_vdbe_0_untr_vmi_1_order
 
 259           capability: tosca.capabilities.network.Linkable
 
 260           node: control_int_net
 
 261           relationship: tosca.relationships.network.LinksTo
 
 263           capability: tosca.capabilities.network.Bindable
 
 265           relationship: tosca.relationships.network.BindsTo
 
 267       type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe
 
 270           get_input: vdbe_flavor_name
 
 272           get_input: availability_zone_1
 
 274           get_input: vdbe_image_name
 
 277             get_input: vf_module_id
 
 283           get_input: vdbe_name_1
 
 284     vdbe_untr_1_subports:
 
 285       type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested_vlan
 
 289         aap_untrusted_ip_prefix:
 
 290           get_input: vdbe_aap_untrusted_ip_prefix
 
 291         aap_sec_untrusted_ip_prefix:
 
 292           get_input: vdbe_aap_sec_untrusted_ip_prefix
 
 293         vdbe_subport_network: control_int_net
 
 295           get_input: vdbe_untrusted_v6_ip_1
 
 299           - service_template_filter
 
 302           get_input: vdbe_untrusted_ip_1
 
 303         subinterfaces_name_prefix:
 
 305             template: VM_NAMEDBE001p1n004
 
 308                 get_input: vdbe_device_name
 
 310                 get_input: vdbe_name_1
 
 312           get_input: aap_address_mode
 
 313         service_template_filter:
 
 314           substitute_service_template: nested_vlanServiceTemplate.yaml
 
 316             get_input: untrusted_num_vn
 
 318         aap_untrusted_v6_ip_prefix:
 
 319           get_input: vdbe_aap_untrusted_v6_ip_prefix
 
 320         parent_interface: vdbe_0_untr_vmi_1
 
 322           get_input: vdbe_hw_untr_mac_1
 
 324           get_input: untrusted_vlan_tags
 
 325         aap_sec_untrusted_ip_prefix_len:
 
 326           get_input: vdbe_aap_sec_untrusted_ip_prefix_len
 
 328           get_input: vdbe_untrusted_vmac_address
 
 329         aap_untrusted_v6_ip_prefix_len:
 
 330           get_input: vdbe_aap_untrusted_v6_ip_prefix_len
 
 331         aap_untrusted_ip_prefix_len:
 
 332           get_input: vdbe_aap_untrusted_ip_prefix_len
 
 334       - subinterface_link_vdbe_0_subint_untr_vmi_1:
 
 335           capability: tosca.capabilities.network.Linkable
 
 336           node: control_int_net
 
 337           relationship: tosca.relationships.network.LinksTo
 
 338       - binding_vdbe_0_subint_untr_vmi_1:
 
 339           capability: tosca.capabilities.network.Bindable
 
 340           node: vdbe_0_untr_vmi_1
 
 341           relationship: tosca.relationships.network.BindsTo
 
 343           capability: tosca.capabilities.Node
 
 344           node: control_int_net
 
 345           relationship: tosca.relationships.DependsOn
 
 347       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
 
 351             template: VNF_NAME_control_net
 
 356     nested_pattern4_group:
 
 357       type: org.openecomp.groups.heat.HeatStack
 
 359         heat_file: ../Artifacts/nested_pattern4.yml
 
 361           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
 
 365       - vdbe_untr_1_subports
 
 367   substitution_mappings:
 
 368     node_type: org.openecomp.resource.abstract.nodes.heat.vdbe
 
 370       disk.latency_vdbe_node_1:
 
 376       instance_vdbe_node_1:
 
 379       network.outgoing.bytes_vdbe_0_untr_vmi_1:
 
 381       - network.outgoing.bytes
 
 382       disk.device.read.requests_vdbe_node_1:
 
 384       - disk.device.read.requests
 
 385       disk.device.usage_vdbe_node_1:
 
 388       binding_vdbe_0_untr_vmi_1:
 
 391       forwarder_vdbe_0_untr_vmi_1:
 
 394       disk.write.bytes_vdbe_node_1:
 
 397       disk.device.write.bytes_vdbe_node_1:
 
 399       - disk.device.write.bytes
 
 400       disk.allocation_vdbe_node_1:
 
 406       cpu_util_vdbe_node_1:
 
 409       disk.device.read.bytes_vdbe_node_1:
 
 411       - disk.device.read.bytes
 
 412       network.incoming.bytes.rate_vdbe_0_untr_vmi_1:
 
 414       - network.incoming.bytes.rate
 
 415       disk.device.read.bytes.rate_vdbe_node_1:
 
 417       - disk.device.read.bytes.rate
 
 418       disk.device.allocation_vdbe_node_1:
 
 420       - disk.device.allocation
 
 421       disk.write.requests.rate_vdbe_node_1:
 
 423       - disk.write.requests.rate
 
 424       disk.root.size_vdbe_node_1:
 
 427       disk.device.iops_vdbe_node_1:
 
 430       disk.device.write.requests_vdbe_node_1:
 
 432       - disk.device.write.requests
 
 433       disk.write.requests_vdbe_node_1:
 
 435       - disk.write.requests
 
 439       disk.ephemeral.size_vdbe_node_1:
 
 441       - disk.ephemeral.size
 
 442       feature_vdbe_0_untr_vmi_1:
 
 445       feature_vdbe_untr_1_subports:
 
 446       - vdbe_untr_1_subports
 
 448       network.incoming.packets_vdbe_0_untr_vmi_1:
 
 450       - network.incoming.packets
 
 451       disk.device.latency_vdbe_node_1:
 
 453       - disk.device.latency
 
 454       disk.capacity_vdbe_node_1:
 
 457       disk.device.capacity_vdbe_node_1:
 
 459       - disk.device.capacity
 
 460       network.outgoing.packets.rate_vdbe_0_untr_vmi_1:
 
 462       - network.outgoing.packets.rate
 
 463       link_control_int_net:
 
 466       end_point_control_int_net:
 
 469       disk.usage_vdbe_node_1:
 
 472       disk.read.bytes_vdbe_node_1:
 
 475       disk.device.read.requests.rate_vdbe_node_1:
 
 477       - disk.device.read.requests.rate
 
 481       feature_control_int_net:
 
 484       network.incoming.bytes_vdbe_0_untr_vmi_1:
 
 486       - network.incoming.bytes
 
 487       cpu.delta_vdbe_node_1:
 
 490       scalable_vdbe_node_1:
 
 493       disk.iops_vdbe_node_1:
 
 496       network.incoming.packets.rate_vdbe_0_untr_vmi_1:
 
 498       - network.incoming.packets.rate
 
 502       memory.resident_vdbe_node_1:
 
 505       endpoint_vdbe_node_1:
 
 508       network.outgoing.bytes.rate_vdbe_0_untr_vmi_1:
 
 510       - network.outgoing.bytes.rate
 
 514       feature_vdbe_0_subint_untr_vmi_1_vdbe_untr_1_subports:
 
 515       - vdbe_untr_1_subports
 
 516       - feature_vdbe_0_subint_untr_vmi_1
 
 517       disk.read.bytes.rate_vdbe_node_1:
 
 519       - disk.read.bytes.rate
 
 520       disk.device.write.bytes.rate_vdbe_node_1:
 
 522       - disk.device.write.bytes.rate
 
 523       network.outpoing.packets_vdbe_0_untr_vmi_1:
 
 525       - network.outpoing.packets
 
 526       attachment_control_int_net:
 
 532       disk.device.write.requests.rate_vdbe_node_1:
 
 534       - disk.device.write.requests.rate
 
 535       disk.read.requests_vdbe_node_1:
 
 538       disk.write.bytes.rate_vdbe_node_1:
 
 540       - disk.write.bytes.rate
 
 541       memory.usage_vdbe_node_1:
 
 545       dependency_vdbe_0_untr_vmi_1:
 
 548       dependency_vdbe_node_1:
 
 551       local_storage_vdbe_node_1:
 
 554       dependency_vdbe_0_subint_untr_vmi_1_vdbe_untr_1_subports:
 
 555       - vdbe_untr_1_subports
 
 556       - dependency_vdbe_0_subint_untr_vmi_1
 
 557       dependency_control_int_net:
 
 560       dependency_vdbe_untr_1_subports:
 
 561       - vdbe_untr_1_subports