1 tosca_definitions_version: tosca_simple_yaml_1_0_0
3 template_name: perimeta_ha_swmu_b
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_b:
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_b_ha_0_port:
357 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
360 get_input: ha_sec_groups
365 - get_input: perimeta_instance_index
368 template: $VM_ha_port
373 - get_input: perimeta_instance_index
378 capability: tosca.capabilities.network.Bindable
379 node: perimeta_b_server_0
380 relationship: tosca.relationships.network.BindsTo
381 perimeta_b_serv3_0_port:
382 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
385 get_input: serv3_sec_groups
390 - get_input: perimeta_instance_index
391 allowed_address_pairs:
395 - get_input: perimeta_instance_index
398 template: $VM_serv3_port
403 - get_input: perimeta_instance_index
405 get_input: serv3_net_id
408 capability: tosca.capabilities.network.Bindable
409 node: perimeta_b_server_0
410 relationship: tosca.relationships.network.BindsTo
411 perimeta_b_trusted_0_port:
412 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
415 get_input: trusted_sec_groups
420 - get_input: perimeta_instance_index
421 allowed_address_pairs:
425 - get_input: perimeta_instance_index
428 template: $VM_trusted_port
433 - get_input: perimeta_instance_index
435 get_input: trusted_net_id
438 capability: tosca.capabilities.network.Bindable
439 node: perimeta_b_server_0
440 relationship: tosca.relationships.network.BindsTo
441 perimeta_b_untrusted_0_port:
442 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
445 get_input: untrusted_sec_groups
450 - get_input: perimeta_instance_index
454 - get_input: perimeta_instance_index
455 allowed_address_pairs:
459 - get_input: perimeta_instance_index
463 - get_input: perimeta_instance_index
466 template: $VM_untrusted_port
471 - get_input: perimeta_instance_index
473 get_input: untrusted_net_id
476 capability: tosca.capabilities.network.Bindable
477 node: perimeta_b_server_0
478 relationship: tosca.relationships.network.BindsTo
479 perimeta_b_untrusted_0_vlan_ports:
480 type: org.openecomp.resource.abstract.nodes.heat.vlan_subinterface_dual
485 get_input: untrusted_vlan_ids
486 service_template_filter:
487 substitute_service_template: vlan_subinterface_dualServiceTemplate.yaml
489 get_input: untrusted_num_vlans
491 parent_interface: perimeta_b_untrusted_0_port
492 virtual_ipv6_address:
495 - get_input: perimeta_instance_index
499 - get_input: perimeta_instance_index
502 - perimeta_b_untrusted_0_port
507 - get_input: perimeta_instance_index
508 subinterface_name_prefix:
510 template: $VM_untrusted_port_vlan_
515 - get_input: perimeta_instance_index
516 subinterface_instance_index:
519 - service_template_filter
524 - get_input: perimeta_instance_index
526 get_input: untrusted_vlan_networks
528 - binding_contrail_vmi_subinterface:
529 capability: tosca.capabilities.network.Bindable
530 node: perimeta_b_untrusted_0_port
531 relationship: tosca.relationships.network.BindsTo
532 perimeta_b_unused_0_port:
533 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
537 template: $VM_unused_port
542 - get_input: perimeta_instance_index
544 get_input: unused_net_id
547 capability: tosca.capabilities.network.Bindable
548 node: perimeta_b_server_0
549 relationship: tosca.relationships.network.BindsTo
550 perimeta_b_mgmt_0_port:
551 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
554 get_input: mgmt_sec_groups
559 - get_input: perimeta_instance_index
560 allowed_address_pairs:
564 - get_input: perimeta_instance_index
567 template: $VM_mgmt_port
572 - get_input: perimeta_instance_index
574 get_input: mgmt_net_id
577 capability: tosca.capabilities.network.Bindable
578 node: perimeta_b_server_0
579 relationship: tosca.relationships.network.BindsTo
581 type: org.openecomp.resource.vfc.nodes.heat.vm_b
584 get_input: perimeta_flavor_name
586 get_input: perimeta_keypair
588 get_input: availability_zone_1
590 get_input: perimeta_image_name
593 get_input: vf_module_id
603 user_data_format: RAW
607 - get_input: perimeta_instance_index
610 get_input: perimeta_param_server_group
612 perimeta_ha_swmu_b_group:
613 type: org.openecomp.groups.heat.HeatStack
615 heat_file: ../Artifacts/perimeta_ha_swmu_b.yaml
617 HOT template to instantiate a Perimeta 1+1 HA instance with 4vNICs as part of a nested template
619 - perimeta_b_ha_0_port
620 - perimeta_b_serv3_0_port
621 - perimeta_b_trusted_0_port
622 - perimeta_b_untrusted_0_port
623 - perimeta_b_untrusted_0_vlan_ports
624 - perimeta_b_unused_0_port
625 - perimeta_b_mgmt_0_port
626 - perimeta_b_server_0
629 description: Server group used for these VMs
631 get_input: perimeta_param_server_group
632 substitution_mappings:
633 node_type: org.openecomp.resource.abstract.nodes.heat.perimeta_ha_swmu_b
635 binding_perimeta_b_ha_0_port:
636 - perimeta_b_ha_0_port
638 binding_perimeta_b_trusted_0_port:
639 - perimeta_b_trusted_0_port
641 binding_perimeta_b_untrusted_0_port:
642 - perimeta_b_untrusted_0_port
644 os_perimeta_b_server_0:
645 - perimeta_b_server_0
647 binding_perimeta_b_unused_0_port:
648 - perimeta_b_unused_0_port
650 binding_perimeta_b_mgmt_0_port:
651 - perimeta_b_mgmt_0_port
653 attachment_perimeta_b_unused_0_port:
654 - perimeta_b_unused_0_port
656 binding_perimeta_b_server_0:
657 - perimeta_b_server_0
659 attachment_perimeta_b_serv3_0_port:
660 - perimeta_b_serv3_0_port
662 scalable_perimeta_b_server_0:
663 - perimeta_b_server_0
665 attachment_perimeta_b_ha_0_port:
666 - perimeta_b_ha_0_port
668 attachment_perimeta_b_trusted_0_port:
669 - perimeta_b_trusted_0_port
671 endpoint_perimeta_b_server_0:
672 - perimeta_b_server_0
674 binding_perimeta_b_serv3_0_port:
675 - perimeta_b_serv3_0_port
677 attachment_perimeta_b_untrusted_0_port:
678 - perimeta_b_untrusted_0_port
680 host_perimeta_b_server_0:
681 - perimeta_b_server_0
683 attachment_perimeta_b_mgmt_0_port:
684 - perimeta_b_mgmt_0_port
687 link_perimeta_b_untrusted_0_port:
688 - perimeta_b_untrusted_0_port
690 link_perimeta_b_serv3_0_port:
691 - perimeta_b_serv3_0_port
693 link_perimeta_b_ha_0_port:
694 - perimeta_b_ha_0_port
696 link_contrail_vmi_subinterface_perimeta_b_untrusted_0_vlan_ports:
697 - perimeta_b_untrusted_0_vlan_ports
698 - link_contrail_vmi_subinterface
699 local_storage_perimeta_b_server_0:
700 - perimeta_b_server_0
702 link_perimeta_b_unused_0_port:
703 - perimeta_b_unused_0_port
705 link_perimeta_b_mgmt_0_port:
706 - perimeta_b_mgmt_0_port
708 link_perimeta_b_trusted_0_port:
709 - perimeta_b_trusted_0_port