From 7d332c92a688112aa4e182e5d0df272ad98a527a Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Tue, 8 Aug 2017 21:00:30 +0200 Subject: 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 --- network/network.network.j2.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'network/network.network.j2.yaml') 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]} -- cgit 1.2.3-korg