1 heat_template_version: ocata
4 OpenStack Nova migration target configured with Puppet
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Role name on which the service is applied
26 description: Parameters specific to the role
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
36 SSH key for migration.
37 Expects a dictionary with keys 'public_key' and 'private_key'.
38 Values should be identical to SSH public/private key files.
44 description: Target port for migration over ssh
49 description: Role data for the Nova migration target service.
51 service_name: nova_migration_target
53 tripleo::profile::base::nova::migration::target::ssh_authorized_keys:
54 - {get_param: [ MigrationSshKey, public_key ]}
55 tripleo::profile::base::nova::migration::target::ssh_localaddrs:
56 - "%{hiera('cold_migration_ssh_inbound_addr')}"
57 - "%{hiera('live_migration_ssh_inbound_addr')}"
58 live_migration_ssh_inbound_addr:
62 template: "ROLENAMEHostnameResolveNetwork"
64 ROLENAME: {get_param: RoleName}
65 cold_migration_ssh_inbound_addr: {get_param: [ServiceNetMap, NovaApiNetwork]}
66 tripleo::profile::base::sshd::port:
68 - {get_param: MigrationSshPort}
69 tripleo.nova_migration_target.firewall_rules:
70 '113 nova_migration_target':
72 - {get_param: MigrationSshPort}
74 include tripleo::profile::base::nova::migration::target