summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-10-09 19:19:49 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-10-09 19:19:49 +0800
commit563399d093feaf8b8b1edce822d969b56d903033 (patch)
treee4baf0eeca0217c93e3314ce4a935a42e7027f56
parent762e56c864d5d1729893ab305d24177227bd4b4a (diff)
Fix vnf grant url in gvnfm driverbeijing
Change-Id: If2155e9db087d099e1e0339653cfd4edf1ab3ee9 Issue-ID: VFC-1141 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--gvnfmadapter/driver/interfaces/views.py2
1 files changed, 1 insertions, 1 deletions
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])