summaryrefslogtreecommitdiffstats
path: root/network/ports
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-27 10:04:14 +0000
committerGerrit Code Review <review@openstack.org>2017-06-27 10:04:14 +0000
commitf7062d83d794aacc74614c165a968884285da957 (patch)
treeb172dfcaa6ea4519e84c5f29c3b5a0212b86a2f2 /network/ports
parent86c2e0c0c8b94f252cc210b374b3571456b680f3 (diff)
parent9c1940e461867f2ce986a81fa313d7995592f0c5 (diff)
Merge "Provides a list of per-service ctlplane IPs to the workflows env"
Diffstat (limited to 'network/ports')
-rw-r--r--network/ports/net_ip_list_map.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/network/ports/net_ip_list_map.yaml b/network/ports/net_ip_list_map.yaml
index c3734afe..a9111ed9 100644
--- a/network/ports/net_ip_list_map.yaml
+++ b/network/ports/net_ip_list_map.yaml
@@ -133,6 +133,20 @@ outputs:
SERVICE: {get_attr: [EnabledServicesValue, value]}
- values: {get_param: ServiceNetMap}
- values: {get_attr: [NetIpMapValue, value]}
+ ctlplane_service_ips:
+ description: >
+ Map of enabled services to a list of their ctlplane IP addresses
+ value:
+ yaql:
+ expression: dict($.data.map.items().where(len($[1]) > 0))
+ data:
+ map:
+ map_merge:
+ repeat:
+ template:
+ SERVICE_ctlplane_node_ips: {get_param: ControlPlaneIpList}
+ for_each:
+ SERVICE: {get_attr: [EnabledServicesValue, value]}
service_hostnames:
description: >
Map of enabled services to a list of hostnames where they're running