Render VIPs dynamically based on network_data.yaml
authorDan Sneddon <dsneddon@redhat.com>
Fri, 21 Jul 2017 21:33:33 +0000 (14:33 -0700)
committerBob Fournier <bfournie@redhat.com>
Fri, 4 Aug 2017 13:44:31 +0000 (09:44 -0400)
commitb19b88bd1c9944aec1ba96e6d8b99099d54a95f0
tree31d4b75429d063e4d342baa1b5bce35b10f0c006
parentfd1b1f8ec647d56346c0ad3728fed8fbfb482632
Render VIPs dynamically based on network_data.yaml

This change modifies the templates to dynamically define the VIPs
based on network_data.yaml. If a network is defined and marked
with "vip: true" in network_data.yaml, it will be included in the
overcloud.yaml which defines the deployment-level resources.

This should make it possible to create custom networks and
use them for services which use high-availability through VIPs.

Also, extraconfig/nova_metadata/krb-service-pricipals.yaml
was modified to dynamically produce the FQDN map for VIPs on
isolated networks, to match overcloud.j2.yaml.

Depends-On: If074f87494a46305c990a0ea332c7b576d3c6ed8
Depends-On: Iab8aca2f1fcaba0c8f109717a4b3068f629c9aab
Partially-implements: blueprint composable-networks
Closes-bug: 1667104
Change-Id: I71339a6ac41133e95dbc3f93abb7a9fdeb0f2da0
extraconfig/nova_metadata/krb-service-principals.j2.yaml [moved from extraconfig/nova_metadata/krb-service-principals.yaml with 65% similarity]
network/ports/net_vip_map_external.j2.yaml [new file with mode: 0644]
network/ports/net_vip_map_external.yaml [deleted file]
network/ports/net_vip_map_external_v6.j2.yaml [new file with mode: 0644]
network/ports/net_vip_map_external_v6.yaml [deleted file]
overcloud.j2.yaml