Modify threshold policy to support multiple constraints
[optf/has.git] / conductor / conductor / controller / translator.py
index 9fa5b6b..7cafad0 100644 (file)
@@ -70,8 +70,7 @@ CONSTRAINTS = {
     },
     'threshold': {
         'split': True,
-        'required': ['attribute', 'threshold', 'operator'],
-        'optional': ['unit']
+        'required': ['evaluate'],
     },
     'distance_between_demands': {
         'required': ['distance'],