From d21c1fe9877aabf07a113f0f50c1b0a74dc04cd1 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Mon, 23 Oct 2017 19:34:54 +0800 Subject: Add DNSaaS delegate for ocata and windriver plugins Change-Id: I3f06c85a98347153b7a8acb6347805025359cfb0 Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang --- ocata/ocata/proxy/urls.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ocata') 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[0-9a-zA-Z./_-]*)$', + dnsaasdelegate.DnsaasDelegate.as_view()), url(r'^(?P[0-9a-zA-Z_-]{,18})/(?P[0-9a-zA-Z./_-]*)$', services.Services.as_view()), ] -- cgit 1.2.3-korg