From 563399d093feaf8b8b1edce822d969b56d903033 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Tue, 9 Oct 2018 19:19:49 +0800 Subject: Fix vnf grant url in gvnfm driver Change-Id: If2155e9db087d099e1e0339653cfd4edf1ab3ee9 Issue-ID: VFC-1141 Signed-off-by: fujinhua --- gvnfmadapter/driver/interfaces/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gvnfmadapter/driver/interfaces/views.py b/gvnfmadapter/driver/interfaces/views.py index eb53a33..3b1abe7 100644 --- a/gvnfmadapter/driver/interfaces/views.py +++ b/gvnfmadapter/driver/interfaces/views.py @@ -235,7 +235,7 @@ class VnfGrantInfo(APIView): def put(self, request, vnfmtype): try: logger.debug("[grantvnf] req_data = %s", request.data) - ret = req_by_msb('api/nslcm/v1/grantvnf', "POST", content=json.JSONEncoder().encode(request.data)) + ret = req_by_msb('api/nslcm/v1/ns/grantvnf', "POST", content=json.JSONEncoder().encode(request.data)) logger.debug("ret = %s", ret) if ret[0] != 0: logger.error("Status code is %s, detail is %s.", ret[2], ret[1]) -- cgit 1.2.3-korg