From 871eb7b968be29a74d01c65a60ba25a0e6b6feaa Mon Sep 17 00:00:00 2001 From: fujinhua Date: Mon, 8 Apr 2019 17:19:22 +0800 Subject: Add vnf api to url Change-Id: Id3ffc0ddcb004496609fef5d22f767e0f498f4fd Issue-ID: VFC-1306 Signed-off-by: fujinhua --- lcm/lcm/nf/urls.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lcm') diff --git a/lcm/lcm/nf/urls.py b/lcm/lcm/nf/urls.py index aa639703..88d78fb3 100644 --- a/lcm/lcm/nf/urls.py +++ b/lcm/lcm/nf/urls.py @@ -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[0-9a-zA-Z_-]+)/operate$', OperateVnfView.as_view()), url(r'^vnf_instances/(?P[0-9a-zA-Z_-]+)/scale$', ScaleVnfView.as_view()), url(r'^vnf_instances/(?P[0-9a-zA-Z_-]+)/scale_to_level$', ScaleVnfToLevelView.as_view()), + url(r'^vnf_instances/(?P[0-9a-zA-Z_-]+)/change_flavour$', ChangeVnfFlavourView.as_view()), + url(r'^vnf_instances/(?P[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[0-9a-zA-Z_-]+)$', QuerySingleVnfLcmOpOcc.as_view()), ] -- cgit 1.2.3-korg