summaryrefslogtreecommitdiffstats
path: root/zte
diff options
context:
space:
mode:
authormaopengzhang <zhang.maopeng1@zte.com.cn>2018-11-21 10:40:06 +0800
committerFu Jinhua <fu.jinhua@zte.com.cn>2018-11-22 03:20:53 +0000
commitc2199b89b94c767ddb867c3d94f3a54b2612b1e9 (patch)
tree7d00a4d57f289b4743c86ce058ffdd6e8b396dad /zte
parent66e55ca8c75fc3e2da03ce18b8cb66c38af33498 (diff)
fix InstantiateVnf name error
fix InstantiateVnf name error Change-Id: Ib0571a34c000979ee3b3f3052dd7425b11df9a5c Issue-ID: VFC-1192 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn> (cherry picked from commit ab585af4945a830db50282594a756898bf4cddcf)
Diffstat (limited to 'zte')
-rw-r--r--zte/vmanager/driver/interfaces/urls.py2
-rw-r--r--zte/vmanager/driver/interfaces/views.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/zte/vmanager/driver/interfaces/urls.py b/zte/vmanager/driver/interfaces/urls.py
index e32e53ea..de8bbee4 100644
--- a/zte/vmanager/driver/interfaces/urls.py
+++ b/zte/vmanager/driver/interfaces/urls.py
@@ -17,7 +17,7 @@ from django.conf.urls import url
from driver.interfaces import views
urlpatterns = [
- url(r'^api/ztevnfmdriver/v1/(?P<vnfmid>[0-9a-zA-Z\-\_]+)/vnfs$', views.InstamtiateVnf.as_view(), name='instantiate_vnf'),
+ url(r'^api/ztevnfmdriver/v1/(?P<vnfmid>[0-9a-zA-Z\-\_]+)/vnfs$', views.InstantiateVnf.as_view(), name='instantiate_vnf'),
url(r'^api/ztevnfmdriver/v1/(?P<vnfmid>[0-9a-zA-Z\-\_]+)/vnfs/(?P<vnfInstanceId>[0-9a-zA-Z\-\_]+)/terminate$',
views.TerminateVnf.as_view(), name='terminate_vnf'),
url(r'^api/ztevnfmdriver/v1/(?P<vnfmid>[0-9a-zA-Z\-\_]+)/vnfs/(?P<vnfInstanceId>[0-9a-zA-Z\-\_]+)$',
diff --git a/zte/vmanager/driver/interfaces/views.py b/zte/vmanager/driver/interfaces/views.py
index 5a978c63..4615df94 100644
--- a/zte/vmanager/driver/interfaces/views.py
+++ b/zte/vmanager/driver/interfaces/views.py
@@ -77,7 +77,7 @@ def vnfpackage_get(csarid):
return ret
-class InstamtiateVnf(APIView):
+class InstantiateVnf(APIView):
@swagger_auto_schema(
request_body=InstantiateVnfRequestSerializer(),
responses={