aboutsummaryrefslogtreecommitdiffstats
path: root/osdf/config
diff options
context:
space:
mode:
authordhebeha <dhebeha.mj71@wipro.com>2020-09-05 20:16:48 +0530
committerVikas Varma <vikas.varma@att.com>2020-09-18 19:34:01 +0000
commitedf98746a52408386efab26143778198b0efd3c5 (patch)
treeadc101beb879a57547cc828283803bfe7c5fd89b /osdf/config
parentf9b3575cae2b521ba8c6b6b30b15c89bd8a1cb48 (diff)
Add support to process NSI selection request
Issue-ID: OPTFRA-802 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I85d951061abc697714425bd223b89102d4f2ede9
Diffstat (limited to 'osdf/config')
-rw-r--r--osdf/config/base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/osdf/config/base.py b/osdf/config/base.py
index fbe9315..2393642 100644
--- a/osdf/config/base.py
+++ b/osdf/config/base.py
@@ -1,5 +1,6 @@
# -------------------------------------------------------------------------
# Copyright (c) 2015-2017 AT&T Intellectual Property
+# Copyright (C) 2020 Wipro Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -27,6 +28,10 @@ config_spec = {
"core": "config/common_config.yaml"
}
+slicing_spec = "config/slicing_config.yaml"
+
+slice_config = config_loader.load_config_file(slicing_spec)
+
osdf_config = DotDict(config_loader.all_configs(**config_spec))
http_basic_auth_credentials = creds.load_credentials(osdf_config)