summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-08 17:19:22 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-08 17:19:22 +0800
commit871eb7b968be29a74d01c65a60ba25a0e6b6feaa (patch)
tree93af7382319aed3b5888a9310bcf197be62da0f0 /lcm
parent4bd2ff38b30e2113bd9e59ea474e33139b4d1ed5 (diff)
Add vnf api to url
Change-Id: Id3ffc0ddcb004496609fef5d22f767e0f498f4fd Issue-ID: VFC-1306 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm')
-rw-r--r--lcm/lcm/nf/urls.py4
1 files changed, 4 insertions, 0 deletions
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<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()),
]