aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration/basic_clamp_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/configuration/basic_clamp_settings.py')
-rw-r--r--src/onaptests/configuration/basic_clamp_settings.py44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/onaptests/configuration/basic_clamp_settings.py b/src/onaptests/configuration/basic_clamp_settings.py
index 3eaad2d..ac99278 100644
--- a/src/onaptests/configuration/basic_clamp_settings.py
+++ b/src/onaptests/configuration/basic_clamp_settings.py
@@ -1,7 +1,7 @@
from yaml import load, SafeLoader
from onaptests.utils.resources import get_resource_location
-from .settings import * # pylint: disable=W0614
+from .settings import * # noqa
""" Specific Basic clamp settings."""
CLEANUP_FLAG = False
@@ -9,32 +9,32 @@ CLAMP_DISTRIBUTION_TIMER = 10
# pylint: disable=bad-whitespace
# The ONAP part
-SERVICE_DETAILS=("Onboarding, enriching a model with TCA." +
- "Design a loop with Clamp and deploy it in Policy and DCAE")
-SERVICE_COMPONENTS="SDC, CLAMP, POLICY, DCAE, DMAAP"
+SERVICE_DETAILS = ("Onboarding, enriching a model with TCA." +
+ "Design a loop with Clamp and deploy it in Policy and DCAE")
+SERVICE_COMPONENTS = "SDC, CLAMP, POLICY, DCAE, DMAAP"
VENDOR_NAME = "basiclamp_vendor"
VSP_NAME = "basiclamp_vsp"
OPERATIONAL_POLICIES = [
- {
- "name": "MinMax",
- "policy_type": "onap.policies.controlloop.guard.common.MinMax",
- "policy_version": "1.0.0",
- "config_function": "add_minmax_config", #func
- "configuration": {
- "min": 1,
- "max": 10
+ {
+ "name": "MinMax",
+ "policy_type": "onap.policies.controlloop.guard.common.MinMax",
+ "policy_version": "1.0.0",
+ "config_function": "add_minmax_config", # func
+ "configuration": {
+ "min": 1,
+ "max": 10
+ }
+ },
+ {
+ "name": "FrequencyLimiter",
+ "policy_type": "onap.policies.controlloop.guard.common.FrequencyLimiter",
+ "policy_version": "1.0.0",
+ "config_function": "add_frequency_limiter", # func
+ "configuration": {}
}
- },
- {
- "name": "FrequencyLimiter",
- "policy_type": "onap.policies.controlloop.guard.common.FrequencyLimiter",
- "policy_version": "1.0.0",
- "config_function": "add_frequency_limiter", #func
- "configuration": {}
- }
]
# if a yaml file is define, retrieve info from this yaml files
@@ -49,7 +49,7 @@ try:
SERVICE_NAME = next(iter(yaml_config_file.keys()))
VF_NAME = SERVICE_NAME
except ValueError:
- SERVICE_NAME = "" # Fill me
- VF_NAME = "" # Fill me
+ SERVICE_NAME = "" # Fill me
+ VF_NAME = "" # Fill me
MODEL_YAML_TEMPLATE = None