aboutsummaryrefslogtreecommitdiffstats
path: root/undercloud-source.yaml
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2014-09-14 10:05:43 +1200
committerSteve Baker <sbaker@redhat.com>2014-09-14 10:05:43 +1200
commitd6e40a3fffb37d476990cf4de4413057b5a9ef90 (patch)
tree01dda3bc2c41e81046f06922ecb29a2f49042710 /undercloud-source.yaml
parentfd18617b30a569142636e4a31b9b8975364155c2 (diff)
Use the server name attribute
The 'show' attribute results in a nova API call, which has performance overhead even with attribute memoization. The name attribute was added to expose the name without needing an API call, since the resource already knows the name. This change switches from using 'show' to 'name' throughout. Change-Id: I1e83dd008cd02e5cec97868db0d5a695f07b7199
Diffstat (limited to 'undercloud-source.yaml')
-rw-r--r--undercloud-source.yaml7
1 files changed, 2 insertions, 5 deletions
diff --git a/undercloud-source.yaml b/undercloud-source.yaml
index 0788e8b6..2fcadd90 100644
--- a/undercloud-source.yaml
+++ b/undercloud-source.yaml
@@ -230,11 +230,9 @@ resources:
- 0
- Merge::Map:
undercloud:
- - Fn::Select:
+ - get_attr:
+ - undercloud
- name
- - get_attr:
- - undercloud
- - show
nodeid: {get_input: bootstack_nodeid}
bootstack:
public_interface_ip:
@@ -363,7 +361,6 @@ resources:
bootstack_nodeid:
get_attr:
- undercloud
- - show
- name
controller_host:
get_attr: