aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lcm/pub/msapi/resmgr.py2
1 files changed, 2 insertions, 0 deletions
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)