Add VipMap output
authorJames Slagle <jslagle@redhat.com>
Wed, 26 Apr 2017 15:04:42 +0000 (11:04 -0400)
committerJames Slagle <jslagle@redhat.com>
Thu, 15 Jun 2017 18:56:20 +0000 (14:56 -0400)
Add VipMap output to the top level stack output. VipMap is a mapping
from each network to the VIP address on that network. Also includes the
Redis VIP.

This output facilitates deploying split-stack so you can feed the VIP
addresses from VipMap as inputs into the services stack.

implements blueprint split-stack-default

Change-Id: I245920994613c9bd10801c25fa545267aa49b239

overcloud.j2.yaml
releasenotes/notes/vipmap-output-4a9ce99930960346.yaml [new file with mode: 0644]

index 3244b25..c8b3458 100644 (file)
@@ -806,3 +806,9 @@ outputs:
 {% for role in roles %}
       {{role.name}}: {get_attr: [{{role.name}}, attributes, os_collect_config]}
 {% endfor %}
+  VipMap:
+    description: Mapping of each network to VIP addresses. Also includes the Redis VIP.
+    value:
+      map_merge:
+        - {get_attr: [VipMap, net_ip_map]}
+        - redis: {get_attr: [RedisVirtualIP, ip_address]}
diff --git a/releasenotes/notes/vipmap-output-4a9ce99930960346.yaml b/releasenotes/notes/vipmap-output-4a9ce99930960346.yaml
new file mode 100644 (file)
index 0000000..1f49bac
--- /dev/null
@@ -0,0 +1,5 @@
+---
+features:
+  - Add VipMap output to the top level stack output. VipMap is a mapping from
+    each network to the VIP address on that network. Also includes the Redis
+    VIP.