diff options
Diffstat (limited to 'run_basic_clamp.py')
-rw-r--r-- | run_basic_clamp.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/run_basic_clamp.py b/run_basic_clamp.py new file mode 100644 index 0000000..06c3dda --- /dev/null +++ b/run_basic_clamp.py @@ -0,0 +1,16 @@ +#!/usr/bin/python +# +import logging.config +from onapsdk.configuration import settings +from onaptests.steps.loop.clamp import ClampStep + + +if __name__ == "__main__": + # logging configuration for onapsdk, it is not requested for onaptests + # Correction requested in onapsdk to avoid having this duplicate code + logging.config.dictConfig(settings.LOG_CONFIG) + logger = logging.getLogger("Instantiate Basic Clamp") + + basic_clamp = ClampStep( + cleanup=settings.CLEANUP_FLAG) + basic_clamp.execute() |