summaryrefslogtreecommitdiffstats
path: root/pike/pike/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'pike/pike/urls.py')
-rw-r--r--pike/pike/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pike/pike/urls.py b/pike/pike/urls.py
index f6b57fa4..024b5a36 100644
--- a/pike/pike/urls.py
+++ b/pike/pike/urls.py
@@ -48,6 +48,8 @@ urlpatterns = [
tenants.APIv1Tenants.as_view()),
url(r'^api/multicloud-pike/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/'
'(?P<tenantid>[0-9a-zA-Z_-]{20,})/', include('pike.requests.urlsV1')),
+ url(r'^api/multicloud-pike/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/capacity_check/?$',
+ capacity.APIv1CapacityCheck.as_view()),
url(r'^api/multicloud-pike/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/infra_workload/?$',
infra_workload.APIv1InfraWorkload.as_view()),