aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/lib/config.py
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-08-27 18:11:11 +0200
committerManuel Buil <mbuil@suse.com>2018-08-31 16:37:09 +0200
commitbdad6faa1fafe7cd20ea96aa70a52178d62add63 (patch)
treef61454f7055c5252fd7f641235a695a43eff96b8 /sfc/lib/config.py
parentc0afe0534d46255cf52b85d152d0adc1c4487d83 (diff)
Decouple tacker from tests
Support n-sfc too and abstract a bit the MANO layer so that other MANO components can be inserted into the test Change-Id: I3fb59fbf40b4207bf1721092cd8ff0559e1d9d90 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/lib/config.py')
-rw-r--r--sfc/lib/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfc/lib/config.py b/sfc/lib/config.py
index 541f6847..507142c9 100644
--- a/sfc/lib/config.py
+++ b/sfc/lib/config.py
@@ -88,6 +88,8 @@ class CommonConfig(object):
"defaults.image_format", self.config_file)
self.image_url = ft_utils.get_parameter_from_yaml(
"defaults.image_url", self.config_file)
+ self.mano_component = ft_utils.get_parameter_from_yaml(
+ "defaults.mano_component", self.config_file)
try:
self.vnf_image_name = ft_utils.get_parameter_from_yaml(
"defaults.vnf_image_name", self.config_file)