summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-10-15 14:28:07 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-10-15 14:42:35 +0800
commit2301d7df140c21316c0907f98d03f918d074cf24 (patch)
treee350f89d40515536fcc3475e4a59cdca2cd5e897
parent2ecc9776c622ffcf678da742d1dbc95aaa0bf322 (diff)
Upgrade tenants V1 for pike
Change-Id: I2fc9cede54534cc885d348e0b86908bcc3dbd49d Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
-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 47b2f647..fb166071 100644
--- a/pike/pike/urls.py
+++ b/pike/pike/urls.py
@@ -44,6 +44,8 @@ urlpatterns = [
include('pike.extensions.urlsV1')),
url(r'^api/multicloud-pike/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/',
include('pike.proxy.urlsV1')),
+ url(r'^api/multicloud-pike/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/tenants/?$',
+ 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_-]+)/infra_workload/?$',
infra_workload.APIv1InfraWorkload.as_view()),