summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2017-10-23 19:34:54 +0800
committerBin Yang <bin.yang@windriver.com>2017-10-23 19:36:19 +0800
commitd21c1fe9877aabf07a113f0f50c1b0a74dc04cd1 (patch)
tree5b4aedcac6b6ab3013e7e1d876ff58d159bdaaa0 /ocata
parent7898e7a0c1f2ef642d43b9c0b803ed3d3f3c9cd0 (diff)
Add DNSaaS delegate
for ocata and windriver plugins Change-Id: I3f06c85a98347153b7a8acb6347805025359cfb0 Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'ocata')
-rw-r--r--ocata/ocata/proxy/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ocata/ocata/proxy/urls.py b/ocata/ocata/proxy/urls.py
index e59b2e06..34b84728 100644
--- a/ocata/ocata/proxy/urls.py
+++ b/ocata/ocata/proxy/urls.py
@@ -17,6 +17,7 @@ from rest_framework.urlpatterns import format_suffix_patterns
from ocata.proxy.views import identityV3
from ocata.proxy.views import services
+from newton.proxy.views import dnsaasdelegate
urlpatterns = [
# url(r'^identity/v2)$',
@@ -29,6 +30,8 @@ urlpatterns = [
identityV3.TokensV2.as_view()),
url(r'^identity/v2.0/tenants/?$',
services.GetTenants.as_view()),
+ url(r'dns-delegate/(?P<requri>[0-9a-zA-Z./_-]*)$',
+ dnsaasdelegate.DnsaasDelegate.as_view()),
url(r'^(?P<servicetype>[0-9a-zA-Z_-]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$',
services.Services.as_view()),
]