1 tosca_definitions_version: tosca_simple_yaml_1_0_0
3 template_name: perimeta_ha_sw_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 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_b_ha_0_port:
319 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
322 get_input: ha_sec_groups
327 - get_input: perimeta_instance_index
330 template: $VM_ha_port
335 - get_input: perimeta_instance_index
340 capability: tosca.capabilities.network.Bindable
341 node: perimeta_b_server_0
342 relationship: tosca.relationships.network.BindsTo
343 perimeta_b_trusted_0_port:
344 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
347 get_input: trusted_sec_groups
352 - get_input: perimeta_instance_index
353 allowed_address_pairs:
357 - get_input: perimeta_instance_index
360 template: $VM_trusted_port
365 - get_input: perimeta_instance_index
367 get_input: trusted_net_id
370 capability: tosca.capabilities.network.Bindable
371 node: perimeta_b_server_0
372 relationship: tosca.relationships.network.BindsTo
373 perimeta_b_untrusted_0_port:
374 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
377 get_input: untrusted_sec_groups
382 - get_input: perimeta_instance_index
386 - get_input: perimeta_instance_index
387 allowed_address_pairs:
391 - get_input: perimeta_instance_index
395 - get_input: perimeta_instance_index
398 template: $VM_untrusted_port
403 - get_input: perimeta_instance_index
405 get_input: untrusted_net_id
408 capability: tosca.capabilities.network.Bindable
409 node: perimeta_b_server_0
410 relationship: tosca.relationships.network.BindsTo
411 perimeta_b_untrusted_0_vlan_ports:
412 type: org.openecomp.resource.abstract.nodes.heat.vlan_subinterface_dual
417 get_input: untrusted_vlan_ids
418 service_template_filter:
419 substitute_service_template: vlan_subinterface_dualServiceTemplate.yaml
421 get_input: untrusted_num_vlans
423 parent_interface: perimeta_b_untrusted_0_port
424 virtual_ipv6_address:
427 - get_input: perimeta_instance_index
431 - get_input: perimeta_instance_index
434 - perimeta_b_untrusted_0_port
439 - get_input: perimeta_instance_index
440 subinterface_name_prefix:
442 template: $VM_untrusted_port_vlan_
447 - get_input: perimeta_instance_index
448 subinterface_instance_index:
451 - service_template_filter
456 - get_input: perimeta_instance_index
458 get_input: untrusted_vlan_networks
460 - binding_contrail_vmi_subinterface:
461 capability: tosca.capabilities.network.Bindable
462 node: perimeta_b_untrusted_0_port
463 relationship: tosca.relationships.network.BindsTo
464 perimeta_b_mgmt_0_port:
465 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
468 get_input: mgmt_sec_groups
473 - get_input: perimeta_instance_index
474 allowed_address_pairs:
478 - get_input: perimeta_instance_index
481 template: $VM_mgmt_port
486 - get_input: perimeta_instance_index
488 get_input: mgmt_net_id
491 capability: tosca.capabilities.network.Bindable
492 node: perimeta_b_server_0
493 relationship: tosca.relationships.network.BindsTo
495 type: org.openecomp.resource.vfc.nodes.heat.vm_b
498 get_input: perimeta_flavor_name
500 get_input: perimeta_keypair
502 get_input: availability_zone_1
504 get_input: perimeta_image_name
507 get_input: vf_module_id
517 user_data_format: RAW
521 - get_input: perimeta_instance_index
524 get_input: perimeta_param_server_group
526 perimeta_ha_sw_b_group:
527 type: org.openecomp.groups.heat.HeatStack
529 heat_file: ../Artifacts/perimeta_ha_sw_b.yaml
531 HOT template to instantiate a Perimeta 1+1 HA instance with 4vNICs as part of a nested template
533 - perimeta_b_ha_0_port
534 - perimeta_b_trusted_0_port
535 - perimeta_b_untrusted_0_port
536 - perimeta_b_untrusted_0_vlan_ports
537 - perimeta_b_mgmt_0_port
538 - perimeta_b_server_0
541 description: Server group used for these VMs
543 get_input: perimeta_param_server_group
544 substitution_mappings:
545 node_type: org.openecomp.resource.abstract.nodes.heat.perimeta_ha_sw_b
547 binding_perimeta_b_ha_0_port:
548 - perimeta_b_ha_0_port
550 binding_perimeta_b_trusted_0_port:
551 - perimeta_b_trusted_0_port
553 binding_perimeta_b_untrusted_0_port:
554 - perimeta_b_untrusted_0_port
556 os_perimeta_b_server_0:
557 - perimeta_b_server_0
559 binding_perimeta_b_mgmt_0_port:
560 - perimeta_b_mgmt_0_port
562 binding_perimeta_b_server_0:
563 - perimeta_b_server_0
565 scalable_perimeta_b_server_0:
566 - perimeta_b_server_0
568 attachment_perimeta_b_ha_0_port:
569 - perimeta_b_ha_0_port
571 attachment_perimeta_b_trusted_0_port:
572 - perimeta_b_trusted_0_port
574 endpoint_perimeta_b_server_0:
575 - perimeta_b_server_0
577 attachment_perimeta_b_untrusted_0_port:
578 - perimeta_b_untrusted_0_port
580 host_perimeta_b_server_0:
581 - perimeta_b_server_0
583 attachment_perimeta_b_mgmt_0_port:
584 - perimeta_b_mgmt_0_port
587 link_perimeta_b_untrusted_0_port:
588 - perimeta_b_untrusted_0_port
590 link_perimeta_b_ha_0_port:
591 - perimeta_b_ha_0_port
593 link_contrail_vmi_subinterface_perimeta_b_untrusted_0_vlan_ports:
594 - perimeta_b_untrusted_0_vlan_ports
595 - link_contrail_vmi_subinterface
596 local_storage_perimeta_b_server_0:
597 - perimeta_b_server_0
599 link_perimeta_b_mgmt_0_port:
600 - perimeta_b_mgmt_0_port
602 link_perimeta_b_trusted_0_port:
603 - perimeta_b_trusted_0_port