1 tosca_definitions_version: tosca_simple_yaml_1_0_0
3 template_name: perimeta_ha_sw_a
6 file: CommonGlobalTypesServiceTemplate.yaml
7 - NovaServerGlobalTypes:
8 file: NovaServerGlobalTypesServiceTemplate.yaml
9 - NeutronPortGlobalTypes:
10 file: NeutronPortGlobalTypesServiceTemplate.yaml
11 - NeutronSecurityRulesGlobalTypes:
12 file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
13 - NeutronNetGlobalTypes:
14 file: NeutronNetGlobalTypesServiceTemplate.yaml
15 - CinderVolumeGlobalTypes:
16 file: CinderVolumeGlobalTypesServiceTemplate.yaml
17 - ContrailVirtualNetworkGlobalType:
18 file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
19 - ContrailNetworkRuleGlobalType:
20 file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
21 - AbstractSubstituteGlobalTypes:
22 file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
23 - ContrailV2VirtualMachineInterfaceGlobalType:
24 file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
25 - ContrailComputeGlobalTypes:
26 file: ContrailComputeGlobalTypesServiceTemplate.yaml
27 - ContrailPortGlobalTypes:
28 file: ContrailPortGlobalTypesServiceTemplate.yaml
29 - ContrailAbstractSubstituteGlobalTypes:
30 file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
31 - ContrailV2VirtualNetworkGlobalType:
32 file: ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml
33 - ContrailV2NetworkRuleGlobalType:
34 file: ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml
35 - ContrailV2VLANSubInterfaceGlobalType:
36 file: ContrailV2VLANSubInterfaceGlobalTypeServiceTemplate.yaml
37 - GlobalSubstitutionTypes:
38 file: GlobalSubstitutionTypesServiceTemplate.yaml
40 org.openecomp.resource.vfc.nodes.heat.vm_a:
41 derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
48 description: Unique ID for this VF Module instance
53 description: Service network 2 network UUID
60 description: Prefix length of management network
65 description: Orchestration template configuration for instance.
70 description: List of names of Perimeta VM A instances, indexed by perimeta_instance_index
77 description: List of fixed IP addresses to use as untrusted fixed IPs of B instances.
84 description: HA network id
87 perimeta_param_server_group:
91 description: Server group to use for these VMs - ignored
92 untrusted_vlan_networks:
96 description: List of Contrail VLAN networks to use on the untrusted/access network. The order and number of these must match the VLAN ID list.
103 description: List of security groups to add on management interfaces.
106 perimeta_instance_index:
110 description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
115 description: List of VLAN IDs to use on the untrusted/access network
122 description: Keypair to use for accessing this Perimeta instance
129 description: List of management virtual IP addresses for all instances.
136 description: List of service network 2 virtual IP addresses for all instances.
143 description: VNF ID of this deployment
148 description: Availability zone for A instances.
153 description: Availability zone for B instances. May be the same as A instance.
158 description: List of fixed IP addresses to use as HA IPs of A instances.
165 description: List of service network 2 alternate virtual IP addresses for all instances.
172 description: List of security groups to add on HA interfaces.
179 description: List of fixed IP addresses to use as trusted fixed IPs of A instances.
186 description: Number of VLANs to connect to on the untrusted/access network
191 description: List of system names of Perimeta instances. Name of a specific instance is indexed by perimeta_instance_index
198 description: List of names of Perimeta VM A instances, indexed by perimeta_instance_index
205 description: List of security groups to add on trusted interfaces.
212 description: List of service network 1 virtual IP addresses for all instances.
219 description: Service network 1 network UUID
226 description: List of fixed IP addresses to use as HA IPs of B instances.
233 description: List of fixed IP addresses to use as untrusted alternate fixed IPs of A instances.
240 description: List of fixed IP addresses to use as untrusted alternate fixed IPs of B instances.
247 description: List of fixed IP addresses to use as management IPs of A instances.
254 description: Role of these VMs
259 description: List of fixed IP addresses to use as trusted fixed IPs of B instances.
266 description: Glance image for Perimeta instance
269 mgmt_net_default_gateway:
273 description: IP address of management default gateway
278 description: List of fixed IP addresses to use as untrusted fixed IPs of A instances.
281 untrusted_sec_groups:
285 description: List of security groups to add on untrusted interfaces.
292 description: Management network id
295 perimeta_flavor_name:
299 description: Flavor to use for creating VM instances
314 description: List of fixed IP addresses to use as management IPs of B instances.
318 perimeta_a_untrusted_0_vlan_ports:
319 type: org.openecomp.resource.abstract.nodes.heat.vlan_subinterface_dual
324 get_input: untrusted_vlan_ids
325 service_template_filter:
326 substitute_service_template: vlan_subinterface_dualServiceTemplate.yaml
328 get_input: untrusted_num_vlans
330 parent_interface: perimeta_a_untrusted_0_port
331 virtual_ipv6_address:
334 - get_input: perimeta_instance_index
338 - get_input: perimeta_instance_index
341 - perimeta_a_untrusted_0_port
346 - get_input: perimeta_instance_index
347 subinterface_name_prefix:
349 template: $VM_untrusted_port_vlan_
354 - get_input: perimeta_instance_index
355 subinterface_instance_index:
358 - service_template_filter
363 - get_input: perimeta_instance_index
365 get_input: untrusted_vlan_networks
367 - binding_contrail_vmi_subinterface:
368 capability: tosca.capabilities.network.Bindable
369 node: perimeta_a_untrusted_0_port
370 relationship: tosca.relationships.network.BindsTo
372 type: org.openecomp.resource.vfc.nodes.heat.vm_a
375 get_input: perimeta_flavor_name
377 get_input: perimeta_keypair
379 get_input: availability_zone_0
381 get_input: perimeta_image_name
384 get_input: vf_module_id
395 /opt/MetaSwitch/init/custom.ini:
399 user_data_format: RAW
403 - get_input: perimeta_instance_index
406 get_input: perimeta_param_server_group
409 type: tosca.artifacts.Deployment
410 file: ../Artifacts/custom.ini
411 perimeta_a_mgmt_0_port:
412 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
415 get_input: mgmt_sec_groups
420 - get_input: perimeta_instance_index
421 allowed_address_pairs:
425 - get_input: perimeta_instance_index
428 template: $VM_mgmt_port
433 - get_input: perimeta_instance_index
435 get_input: mgmt_net_id
438 capability: tosca.capabilities.network.Bindable
439 node: perimeta_a_server_0
440 relationship: tosca.relationships.network.BindsTo
441 perimeta_a_ha_0_port:
442 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
445 get_input: ha_sec_groups
450 - get_input: perimeta_instance_index
453 template: $VM_ha_port
458 - get_input: perimeta_instance_index
463 capability: tosca.capabilities.network.Bindable
464 node: perimeta_a_server_0
465 relationship: tosca.relationships.network.BindsTo
466 perimeta_a_trusted_0_port:
467 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
470 get_input: trusted_sec_groups
475 - get_input: perimeta_instance_index
476 allowed_address_pairs:
480 - get_input: perimeta_instance_index
483 template: $VM_trusted_port
488 - get_input: perimeta_instance_index
490 get_input: trusted_net_id
493 capability: tosca.capabilities.network.Bindable
494 node: perimeta_a_server_0
495 relationship: tosca.relationships.network.BindsTo
496 perimeta_a_untrusted_0_port:
497 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
500 get_input: untrusted_sec_groups
505 - get_input: perimeta_instance_index
509 - get_input: perimeta_instance_index
510 allowed_address_pairs:
514 - get_input: perimeta_instance_index
518 - get_input: perimeta_instance_index
521 template: $VM_untrusted_port
526 - get_input: perimeta_instance_index
528 get_input: untrusted_net_id
531 capability: tosca.capabilities.network.Bindable
532 node: perimeta_a_server_0
533 relationship: tosca.relationships.network.BindsTo
535 perimeta_ha_sw_a_group:
536 type: org.openecomp.groups.heat.HeatStack
538 heat_file: ../Artifacts/perimeta_ha_sw_a.yaml
540 HOT template to instantiate a Perimeta 1+1 HA instance with 4vNICs as part of a nested template
542 - perimeta_a_untrusted_0_vlan_ports
543 - perimeta_a_server_0
544 - perimeta_a_mgmt_0_port
545 - perimeta_a_ha_0_port
546 - perimeta_a_trusted_0_port
547 - perimeta_a_untrusted_0_port
550 description: Server group used for these VMs
552 get_input: perimeta_param_server_group
553 substitution_mappings:
554 node_type: org.openecomp.resource.abstract.nodes.heat.perimeta_ha_sw_a
556 scalable_perimeta_a_server_0:
557 - perimeta_a_server_0
559 attachment_perimeta_a_mgmt_0_port:
560 - perimeta_a_mgmt_0_port
562 binding_perimeta_a_server_0:
563 - perimeta_a_server_0
565 host_perimeta_a_server_0:
566 - perimeta_a_server_0
568 attachment_perimeta_a_trusted_0_port:
569 - perimeta_a_trusted_0_port
571 attachment_perimeta_a_untrusted_0_port:
572 - perimeta_a_untrusted_0_port
574 attachment_perimeta_a_ha_0_port:
575 - perimeta_a_ha_0_port
577 binding_perimeta_a_mgmt_0_port:
578 - perimeta_a_mgmt_0_port
580 binding_perimeta_a_trusted_0_port:
581 - perimeta_a_trusted_0_port
583 binding_perimeta_a_untrusted_0_port:
584 - perimeta_a_untrusted_0_port
586 endpoint_perimeta_a_server_0:
587 - perimeta_a_server_0
589 binding_perimeta_a_ha_0_port:
590 - perimeta_a_ha_0_port
592 os_perimeta_a_server_0:
593 - perimeta_a_server_0
596 link_perimeta_a_trusted_0_port:
597 - perimeta_a_trusted_0_port
599 link_perimeta_a_mgmt_0_port:
600 - perimeta_a_mgmt_0_port
602 link_contrail_vmi_subinterface_perimeta_a_untrusted_0_vlan_ports:
603 - perimeta_a_untrusted_0_vlan_ports
604 - link_contrail_vmi_subinterface
605 link_perimeta_a_untrusted_0_port:
606 - perimeta_a_untrusted_0_port
608 link_perimeta_a_ha_0_port:
609 - perimeta_a_ha_0_port
611 local_storage_perimeta_a_server_0:
612 - perimeta_a_server_0