tripleo-quickstart-extras/roles/overcloud-deploy/templates/config-download.yaml.j2

57 lines
1.8 KiB
Django/Jinja

resource_registry:
OS::TripleO::DeployedServer::ControlPlanePort: /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-neutron-port.yaml
{% if release not in ['train', 'ussuri', 'victoria'] %}
# Starting with wallaby with ephemeral Heat, we want to override the default
# mapping for ControlPlaneVipPort so that Neutron is not used.
OS::TripleO::Network::Ports::ControlPlaneVipPort: /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-neutron-port.yaml
{% endif %}
OS::TripleO::OVNMacAddressNetwork: OS::Heat::None
OS::TripleO::OVNMacAddressPort: OS::Heat::None
parameter_defaults:
{% if release not in ['train', 'ussuri', 'victoria'] %}
# Set VIP's for redis and OVN
RedisVirtualFixedIPs:
- ip_address: 192.168.24.101
use_neutron: false
OVNDBsVirtualFixedIPs:
- ip_address: 192.168.24.102
use_neutron: false
{% endif %}
DeployedServerPortMap:
control_virtual_ip:
fixed_ips:
- ip_address: 192.168.24.100
subnets:
- cidr: 192.168.24.0/24
network:
tags:
- 192.168.24.0/24
{% for subnode in groups['overcloud'] %}
{{ hostvars[subnode]['ansible_hostname'] }}-ctlplane:
fixed_ips:
- ip_address: 192.168.24.{{ 3 + loop.index0 }}
subnets:
- cidr: 192.168.24.0/24
network:
tags:
- 192.168.24.0/24
{% endfor %}
CtlplaneNetworkAttributes:
network:
dns_domain: localdomain
mtu: 1500
name: ctlplane
tags:
- 192.168.24.0/24
subnets:
ctlplane-subnet:
cidr: 192.168.24.0/24
dns_nameservers: {{ overcloud_dns_servers | default(['127.0.0.1', '1.1.1.1']) }}
gateway_ip: 192.168.24.1
host_routes: []
ip_version: 4
name: ctlplane-subnet