diff options
Diffstat (limited to 'lcm/ns_vnfs/biz/grant_vnf.py')
-rw-r--r-- | lcm/ns_vnfs/biz/grant_vnf.py | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/lcm/ns_vnfs/biz/grant_vnf.py b/lcm/ns_vnfs/biz/grant_vnf.py index 9c869ea1..40442e92 100644 --- a/lcm/ns_vnfs/biz/grant_vnf.py +++ b/lcm/ns_vnfs/biz/grant_vnf.py @@ -20,7 +20,6 @@ from lcm.pub.database.models import NfInstModel, OOFDataModel from lcm.pub.exceptions import NSLCMException from lcm.pub.msapi.sdc_run_catalog import query_vnfpackage_by_id from lcm.pub.utils.values import ignore_case_get -from lcm.pub.msapi import resmgr from lcm.ns_vnfs.const import SCALAR_UNIT_DICT logger = logging.getLogger(__name__) @@ -90,17 +89,17 @@ class GrantVnf(object): break req_param[grant_type].append(grant_res) self.data = req_param - tmp = resmgr.grant_vnf(self.data) - vimConnections.append( - { - "id": tmp["vim"]["vimId"], - "vimId": tmp["vim"]["vimId"], - "vimType": None, - "interfaceInfo": None, - "accessInfo": tmp["vim"]["accessInfo"], - "extra": None - } - ) + # tmp = resmgr.grant_vnf(self.data) + # vimConnections.append( + # { + # "id": tmp["vim"]["vimId"], + # "vimId": tmp["vim"]["vimId"], + # "vimType": None, + # "interfaceInfo": None, + # "accessInfo": tmp["vim"]["accessInfo"], + # "extra": None + # } + # ) grant_resp = { "id": str(uuid.uuid4()), |