1 tosca_definitions_version: tosca_simple_yaml_1_0_0
3 template_name: perimeta_ha_swmu_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 service network 3 virtual IP addresses for all instances.
84 description: List of fixed IP addresses to use as untrusted fixed IPs of B instances.
91 description: HA network id
94 perimeta_param_server_group:
98 description: Server group to use for these VMs - ignored
99 untrusted_vlan_networks:
103 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.
110 description: List of security groups to add on management interfaces.
113 perimeta_instance_index:
117 description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
122 description: List of VLAN IDs to use on the untrusted/access network
129 description: Service network 3 network UUID
134 description: Keypair to use for accessing this Perimeta instance
141 description: List of management virtual IP addresses for all instances.
148 description: List of service network 2 virtual IP addresses for all instances.
155 description: VNF ID of this deployment
160 description: Availability zone for A instances.
165 description: Availability zone for B instances. May be the same as A instance.
170 description: List of fixed IP addresses to use as serv3 fixed IPs of A instances.
177 description: Service network unused port network UUID
182 description: List of fixed IP addresses to use as HA IPs of A instances.
189 description: List of service network 2 alternate virtual IP addresses for all instances.
196 description: List of security groups to add on HA interfaces.
203 description: List of fixed IP addresses to use as trusted fixed IPs of A instances.
210 description: Number of VLANs to connect to on the untrusted/access network
215 description: List of system names of Perimeta instances. Name of a specific instance is indexed by perimeta_instance_index
222 description: List of names of Perimeta VM A instances, indexed by perimeta_instance_index
229 description: List of security groups to add on trusted interfaces.
236 description: List of security groups to add on serv3 interfaces.
243 description: List of service network 1 virtual IP addresses for all instances.
250 description: Service network 1 network UUID
257 description: List of fixed IP addresses to use as serv3 fixed IPs of B instances.
264 description: List of fixed IP addresses to use as HA IPs of B instances.
271 description: List of fixed IP addresses to use as untrusted alternate fixed IPs of A instances.
278 description: List of fixed IP addresses to use as untrusted alternate fixed IPs of B instances.
285 description: List of fixed IP addresses to use as management IPs of A instances.
292 description: Role of these VMs
297 description: List of fixed IP addresses to use as trusted fixed IPs of B instances.
304 description: Glance image for Perimeta instance
307 mgmt_net_default_gateway:
311 description: IP address of management default gateway
316 description: List of fixed IP addresses to use as untrusted fixed IPs of A instances.
319 untrusted_sec_groups:
323 description: List of security groups to add on untrusted interfaces.
330 description: Management network id
333 perimeta_flavor_name:
337 description: Flavor to use for creating VM instances
352 description: List of fixed IP addresses to use as management IPs of B instances.
356 perimeta_a_unused_0_port:
357 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
361 template: $VM_unused_port
366 - get_input: perimeta_instance_index
368 get_input: unused_net_id
371 capability: tosca.capabilities.network.Bindable
372 node: perimeta_a_server_0
373 relationship: tosca.relationships.network.BindsTo
374 perimeta_a_untrusted_0_vlan_ports:
375 type: org.openecomp.resource.abstract.nodes.heat.vlan_subinterface_dual
380 get_input: untrusted_vlan_ids
381 service_template_filter:
382 substitute_service_template: vlan_subinterface_dualServiceTemplate.yaml
384 get_input: untrusted_num_vlans
386 parent_interface: perimeta_a_untrusted_0_port
387 virtual_ipv6_address:
390 - get_input: perimeta_instance_index
394 - get_input: perimeta_instance_index
397 - perimeta_a_untrusted_0_port
402 - get_input: perimeta_instance_index
403 subinterface_name_prefix:
405 template: $VM_untrusted_port_vlan_
410 - get_input: perimeta_instance_index
411 subinterface_instance_index:
414 - service_template_filter
419 - get_input: perimeta_instance_index
421 get_input: untrusted_vlan_networks
423 - binding_contrail_vmi_subinterface:
424 capability: tosca.capabilities.network.Bindable
425 node: perimeta_a_untrusted_0_port
426 relationship: tosca.relationships.network.BindsTo
427 perimeta_a_serv3_0_port:
428 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
431 get_input: serv3_sec_groups
436 - get_input: perimeta_instance_index
437 allowed_address_pairs:
441 - get_input: perimeta_instance_index
444 template: $VM_serv3_port
449 - get_input: perimeta_instance_index
451 get_input: serv3_net_id
454 capability: tosca.capabilities.network.Bindable
455 node: perimeta_a_server_0
456 relationship: tosca.relationships.network.BindsTo
458 type: org.openecomp.resource.vfc.nodes.heat.vm_a
461 get_input: perimeta_flavor_name
463 get_input: perimeta_keypair
465 get_input: availability_zone_0
467 get_input: perimeta_image_name
470 get_input: vf_module_id
481 /opt/MetaSwitch/init/custom.ini:
485 user_data_format: RAW
489 - get_input: perimeta_instance_index
492 get_input: perimeta_param_server_group
495 type: tosca.artifacts.Deployment
496 file: ../Artifacts/custom.ini
497 perimeta_a_mgmt_0_port:
498 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
501 get_input: mgmt_sec_groups
506 - get_input: perimeta_instance_index
507 allowed_address_pairs:
511 - get_input: perimeta_instance_index
514 template: $VM_mgmt_port
519 - get_input: perimeta_instance_index
521 get_input: mgmt_net_id
524 capability: tosca.capabilities.network.Bindable
525 node: perimeta_a_server_0
526 relationship: tosca.relationships.network.BindsTo
527 perimeta_a_ha_0_port:
528 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
531 get_input: ha_sec_groups
536 - get_input: perimeta_instance_index
539 template: $VM_ha_port
544 - get_input: perimeta_instance_index
549 capability: tosca.capabilities.network.Bindable
550 node: perimeta_a_server_0
551 relationship: tosca.relationships.network.BindsTo
552 perimeta_a_trusted_0_port:
553 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
556 get_input: trusted_sec_groups
561 - get_input: perimeta_instance_index
562 allowed_address_pairs:
566 - get_input: perimeta_instance_index
569 template: $VM_trusted_port
574 - get_input: perimeta_instance_index
576 get_input: trusted_net_id
579 capability: tosca.capabilities.network.Bindable
580 node: perimeta_a_server_0
581 relationship: tosca.relationships.network.BindsTo
582 perimeta_a_untrusted_0_port:
583 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
586 get_input: untrusted_sec_groups
591 - get_input: perimeta_instance_index
595 - get_input: perimeta_instance_index
596 allowed_address_pairs:
600 - get_input: perimeta_instance_index
604 - get_input: perimeta_instance_index
607 template: $VM_untrusted_port
612 - get_input: perimeta_instance_index
614 get_input: untrusted_net_id
617 capability: tosca.capabilities.network.Bindable
618 node: perimeta_a_server_0
619 relationship: tosca.relationships.network.BindsTo
621 perimeta_ha_swmu_a_group:
622 type: org.openecomp.groups.heat.HeatStack
624 heat_file: ../Artifacts/perimeta_ha_swmu_a.yaml
626 HOT template to instantiate a Perimeta 1+1 HA instance with 4vNICs as part of a nested template
628 - perimeta_a_unused_0_port
629 - perimeta_a_untrusted_0_vlan_ports
630 - perimeta_a_serv3_0_port
631 - perimeta_a_server_0
632 - perimeta_a_mgmt_0_port
633 - perimeta_a_ha_0_port
634 - perimeta_a_trusted_0_port
635 - perimeta_a_untrusted_0_port
638 description: Server group used for these VMs
640 get_input: perimeta_param_server_group
641 substitution_mappings:
642 node_type: org.openecomp.resource.abstract.nodes.heat.perimeta_ha_swmu_a
644 scalable_perimeta_a_server_0:
645 - perimeta_a_server_0
647 attachment_perimeta_a_mgmt_0_port:
648 - perimeta_a_mgmt_0_port
650 binding_perimeta_a_server_0:
651 - perimeta_a_server_0
653 host_perimeta_a_server_0:
654 - perimeta_a_server_0
656 attachment_perimeta_a_trusted_0_port:
657 - perimeta_a_trusted_0_port
659 attachment_perimeta_a_untrusted_0_port:
660 - perimeta_a_untrusted_0_port
662 attachment_perimeta_a_ha_0_port:
663 - perimeta_a_ha_0_port
665 binding_perimeta_a_mgmt_0_port:
666 - perimeta_a_mgmt_0_port
668 binding_perimeta_a_trusted_0_port:
669 - perimeta_a_trusted_0_port
671 binding_perimeta_a_untrusted_0_port:
672 - perimeta_a_untrusted_0_port
674 endpoint_perimeta_a_server_0:
675 - perimeta_a_server_0
677 binding_perimeta_a_unused_0_port:
678 - perimeta_a_unused_0_port
680 attachment_perimeta_a_serv3_0_port:
681 - perimeta_a_serv3_0_port
683 attachment_perimeta_a_unused_0_port:
684 - perimeta_a_unused_0_port
686 binding_perimeta_a_ha_0_port:
687 - perimeta_a_ha_0_port
689 os_perimeta_a_server_0:
690 - perimeta_a_server_0
692 binding_perimeta_a_serv3_0_port:
693 - perimeta_a_serv3_0_port
696 link_perimeta_a_trusted_0_port:
697 - perimeta_a_trusted_0_port
699 link_perimeta_a_unused_0_port:
700 - perimeta_a_unused_0_port
702 link_perimeta_a_mgmt_0_port:
703 - perimeta_a_mgmt_0_port
705 link_contrail_vmi_subinterface_perimeta_a_untrusted_0_vlan_ports:
706 - perimeta_a_untrusted_0_vlan_ports
707 - link_contrail_vmi_subinterface
708 link_perimeta_a_untrusted_0_port:
709 - perimeta_a_untrusted_0_port
711 link_perimeta_a_serv3_0_port:
712 - perimeta_a_serv3_0_port
714 link_perimeta_a_ha_0_port:
715 - perimeta_a_ha_0_port
717 local_storage_perimeta_a_server_0:
718 - perimeta_a_server_0