diff options
author | Steven Hardy <shardy@redhat.com> | 2017-07-19 13:15:38 +0100 |
---|---|---|
committer | marios <marios@redhat.com> | 2017-07-24 14:02:44 +0300 |
commit | d364d9cca2fd8c703fab93ec97c1330bbe2401aa (patch) | |
tree | 3b30eaa77f1c229ab040a573bf84826e4718134a /net-config-bridge.yaml | |
parent | 84e6bff8a62539b381c5706fab7b8ea90f00f0dd (diff) |
Move services.yaml output calculation into Value resources
This stores the result of the yaql queries etc for easier debugging, and
also so there's no risk we constantly re-evaluate the expensive query
which can happen with some heat versions and configurations.
This also gives a nicer error when things go wrong as when a query fails
you know which resource had an error, and also the validation on resources
is currently stricter due to bug #1599114. We also get some additional
type validation from each OS::Heat::Value resource, e.g it checks if the
calculated value is a valid map or list.
The final advantage (and the original motivation for doing this) is that
we can easily filter null values for any outputs where this isn't already
done, which makes the config data written via openstack overcloud config
download cleaner.
Change-Id: Ia6697cf2e47f3f7b727d620536e0873a985c98c4
Diffstat (limited to 'net-config-bridge.yaml')
0 files changed, 0 insertions, 0 deletions