tripleo-quickstart-extras/roles/overcloud-deploy/templates/config-download.yaml.j2
Harald Jensås 77cb24914a Extend DeployedServerPortMap to include network props
In I68e064d23ec5d43f59146d974cae604d2c5fdb52 we start
using the 'tags' of the ctlplane network via get_attr
on the ControlVirtualIP resource.

Deploted Server need to extend it's DeployedServerPortMap
to provide the network tags.

Change-Id: I1ace0a02e6aa2610559fee0d8576e6f1bc98d699
2018-12-18 02:30:45 +00:00

16 lines
489 B
Django/Jinja

resource_registry:
OS::TripleO::DeployedServer::ControlPlanePort: /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-neutron-port.yaml
parameter_defaults:
DeployedServerPortMap:
{% 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 %}