From ceccf4e880cc6f423a41a696935300bdea6c1b23 Mon Sep 17 00:00:00 2001 From: maopengzhang Date: Tue, 13 Nov 2018 18:34:58 +0800 Subject: fix grant vnf para error fix grant vnf para error, etc Change-Id: I0accaa82a4633aa4e1887c0aa9c157afc3019a03 Issue-ID: VFC-1158 Signed-off-by: maopengzhang --- lcm/pub/msapi/resmgr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lcm/pub/msapi/resmgr.py b/lcm/pub/msapi/resmgr.py index 8b0d56fb..e6bc3bb3 100644 --- a/lcm/pub/msapi/resmgr.py +++ b/lcm/pub/msapi/resmgr.py @@ -54,6 +54,8 @@ def grant_vnf(req_param): vim_id = req_param["vimId"] elif "additionalparam" in req_param and "vimid" in req_param["additionalparam"]: vim_id = req_param["additionalparam"]["vimid"] + elif "additionalParams" in req_param and "vimid" in req_param["additionalParams"]: + vim_id = req_param["additionalParams"]["vimid"] try: from lcm.pub.msapi import extsys vim = extsys.get_vim_by_id(vim_id) -- cgit 1.2.3-korg