summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/const.py
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-01-19 10:05:25 +0800
committeryangyan <yangyanyj@chinamobile.com>2020-01-19 10:05:34 +0800
commit1927708c03f343d60fb39506faed3abf130e226e (patch)
tree269754896ad31a717edbc413cf1ce99017367c01 /lcm/lcm/nf/const.py
parent16099ce3041c8caf2b4b4b696b7fc191b6665c84 (diff)
Fix the vnflcm problem of registering MSB with HTTPS
Change-Id: I76aa32ea42e76a48049032e40139c7a4e5dbab1b Issue-ID: VFC-1502 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'lcm/lcm/nf/const.py')
-rw-r--r--lcm/lcm/nf/const.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/lcm/nf/const.py b/lcm/lcm/nf/const.py
index e961bb3e6..1d584b87 100644
--- a/lcm/lcm/nf/const.py
+++ b/lcm/lcm/nf/const.py
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from lcm.pub.config import config
+from lcm.pub.config.config import MSB_BASE_URL
from lcm.pub.utils.jobutil import enum
HEAL_ACTION_TYPE = enum(
@@ -142,7 +142,7 @@ CHANGE_TYPE = enum(
RESOURCE_MAP = {'Storage': 'volumn', 'Network': 'network', 'SubNetwork': 'subnet', 'Port': 'port',
'Flavour': 'flavor', 'Vm': 'vm'}
-URL_PREFIX = "http://%s:%s/api/vnflcm/v1" % (config.MSB_SERVICE_IP, config.MSB_SERVICE_PORT)
+URL_PREFIX = "%s/api/vnflcm/v1" % (MSB_BASE_URL)
ROOT_URI = "api/vnflcm/v1/subscriptions/"