aboutsummaryrefslogtreecommitdiffstats
path: root/lcm/ns/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/ns/urls.py')
-rw-r--r--lcm/ns/urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lcm/ns/urls.py b/lcm/ns/urls.py
index eeb3511c..a18efcc5 100644
--- a/lcm/ns/urls.py
+++ b/lcm/ns/urls.py
@@ -15,7 +15,7 @@ from django.conf.urls import patterns, url
from rest_framework.urlpatterns import format_suffix_patterns
from lcm.ns.views import CreateNSView, NSInstView, TerminateNSView, NSDetailView, SwaggerJsonView, NSInstPostDealView, \
- NSManualScaleView
+ NSManualScaleView, NSHealView
urlpatterns = patterns('',
url(r'^api/nslcm/v1/ns$', CreateNSView.as_view()),
@@ -29,6 +29,8 @@ urlpatterns = patterns('',
NSInstPostDealView.as_view()),
url(r'^api/nslcm/v1/ns/(?P<ns_instance_id>[0-9a-zA-Z_-]+)/scale$',
NSManualScaleView.as_view()),
+ url(r'^api/nslcm/v1/ns/(?P<ns_instance_id>[0-9a-zA-Z_-]+)/heal$',
+ NSHealView.as_view())
)
urlpatterns = format_suffix_patterns(urlpatterns)