Comment 15 for bug 1779078

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/44422
Committed: http://github.com/Juniper/contrail-heat/commit/05712358dab8d987b238e8588a96224b852090d4
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 05712358dab8d987b238e8588a96224b852090d4
Author: Thomas Morin <email address hidden>
Date: Wed May 30 17:46:07 2018 +0200

avoid parsing heat.conf for each Heat resource

This moves heat configuration parsing to module loading time.

Parsing the config for each resource does not seem to be
useful, and profiling with pyflame shows that it is a significant
hit, measurable in tens of seconds on heat stack with a large
number of Contrail heat resources.

Change-Id: Iad81d60e63fdfb554e6c42dbcdf58848586984f1
Closes-Bug: 1779078
(cherry picked from commit df5389e5bda19a0ff5cbebc82c0b892394331ef8)