aboutsummaryrefslogtreecommitdiffstats
path: root/run_basicvm_multicloud_yaml.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_basicvm_multicloud_yaml.py')
-rw-r--r--run_basicvm_multicloud_yaml.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/run_basicvm_multicloud_yaml.py b/run_basicvm_multicloud_yaml.py
new file mode 100644
index 0000000..22bdb25
--- /dev/null
+++ b/run_basicvm_multicloud_yaml.py
@@ -0,0 +1,14 @@
+import logging.config
+from onapsdk.configuration import settings
+from onaptests.steps.instantiate.service_ala_carte import YamlTemplateServiceAlaCarteInstantiateStep
+
+
+
+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)
+
+ service_inst = YamlTemplateServiceAlaCarteInstantiateStep()
+ #service_inst = ServiceAlaCarteInstantiateStep()
+ service_inst.execute()