Add vnf api to url 94/84494/1
authorfujinhua <fu.jinhua@zte.com.cn>
Mon, 8 Apr 2019 09:19:22 +0000 (17:19 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Mon, 8 Apr 2019 09:19:22 +0000 (17:19 +0800)
Change-Id: Id3ffc0ddcb004496609fef5d22f767e0f498f4fd
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
lcm/lcm/nf/urls.py

index aa63970..88d78fb 100644 (file)
@@ -22,6 +22,8 @@ from lcm.nf.views.heal_vnf_view import HealVnfView
 from lcm.nf.views.operate_vnf_view import OperateVnfView
 from lcm.nf.views.scale_vnf_view import ScaleVnfView
 from lcm.nf.views.scale_to_level_view import ScaleVnfToLevelView
+from lcm.nf.views.change_ext_conn_view import ChangeExtConnView
+from lcm.nf.views.change_vnf_flavour_view import ChangeVnfFlavourView
 from lcm.nf.views.lcm_op_occs_view import QueryMultiVnfLcmOpOccs, QuerySingleVnfLcmOpOcc
 
 urlpatterns = [
@@ -34,6 +36,8 @@ urlpatterns = [
     url(r'^api/vnflcm/v1/vnf_instances/(?P<instanceid>[0-9a-zA-Z_-]+)/operate$', OperateVnfView.as_view()),
     url(r'^vnf_instances/(?P<instanceid>[0-9a-zA-Z_-]+)/scale$', ScaleVnfView.as_view()),
     url(r'^vnf_instances/(?P<instanceid>[0-9a-zA-Z_-]+)/scale_to_level$', ScaleVnfToLevelView.as_view()),
+    url(r'^vnf_instances/(?P<instanceid>[0-9a-zA-Z_-]+)/change_flavour$', ChangeVnfFlavourView.as_view()),
+    url(r'^vnf_instances/(?P<instanceid>[0-9a-zA-Z_-]+)/change_ext_conn$', ChangeExtConnView.as_view()),
     url(r'^api/vnflcm/v1/vnf_lcm_op_occs$', QueryMultiVnfLcmOpOccs.as_view()),
     url(r'^api/vnflcm/v1/vnf_lcm_op_occs/(?P<lcmopoccid>[0-9a-zA-Z_-]+)$', QuerySingleVnfLcmOpOcc.as_view()),
 ]