Merge "aodh/gnocchi: remove constraints on aggregation methods"

This commit is contained in:
Zuul 2018-09-06 11:27:07 +00:00 committed by Gerrit Code Review
commit 8d3ba5ea37
1 changed files with 0 additions and 6 deletions

View File

@ -13,7 +13,6 @@
from heat.common.i18n import _
from heat.engine import constraints
from heat.engine import properties
from heat.engine.resources import alarm_base
from heat.engine import support
@ -27,7 +26,6 @@ COMMON_GNOCCHI_PROPERTIES = (
'aggregation_method', 'threshold',
)
common_gnocchi_properties_schema = {
COMPARISON_OPERATOR: properties.Schema(
properties.Schema.STRING,
@ -43,10 +41,6 @@ common_gnocchi_properties_schema = {
AGGREGATION_METHOD: properties.Schema(
properties.Schema.STRING,
_('The aggregation method to compare to the threshold.'),
constraints=[
constraints.AllowedValues(['mean', 'sum', 'last', 'max', 'min',
'std', 'median', 'first', 'count']),
],
update_allowed=True
),
GRANULARITY: properties.Schema(