aboutsummaryrefslogtreecommitdiffstats
path: root/network/network.network.j2.yaml
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2017-08-08 21:00:30 +0200
committerGiulio Fidente <gfidente@redhat.com>2017-08-08 21:00:30 +0200
commit7d332c92a688112aa4e182e5d0df272ad98a527a (patch)
tree2b192c0920d36d0855b700140454e3caba4de4da /network/network.network.j2.yaml
parent5bf7d6582b2346a9c1671430ebead6c358508863 (diff)
Fix cidr get_attr in custom networks
We were missing the square brackets around the list of arguments for get_attr when building the networks cidr output. This passed CI because Heat does not fail validation and Ceph (which is consuming the cidr output) is tested with a single network (ctlplane) which does not build the output using the same templates. Change-Id: I40bba0784a30295cb0d4eda1fbff20ebac85db99 Closes-Bug: #1709464
Diffstat (limited to 'network/network.network.j2.yaml')
-rw-r--r--network/network.network.j2.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/network/network.network.j2.yaml b/network/network.network.j2.yaml
index 2c223c16..ccf437bb 100644
--- a/network/network.network.j2.yaml
+++ b/network/network.network.j2.yaml
@@ -88,5 +88,4 @@ outputs:
description: {{network.name_lower}} network
value: {get_resource: {{network.name}}Network}
subnet_cidr:
- value: {get_attr: {{network.name}}Subnet, cidr}
-
+ value: {get_attr: [{{network.name}}Subnet, cidr]}