blob: 96d60603a194efbf1520f21a3a1edd755877a0d2 [file] [log] [blame]
lombardofr3218b2b2018-10-29 13:41:08 +01001#
2# Copyright 2018 EveryUP Srl
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
lombardoffb37bca2018-05-03 16:20:04 +020016
lombardoffb37bca2018-05-03 16:20:04 +020017from django.conf.urls import url, include
lombardofr099364f2018-06-12 11:21:02 +020018from authosm import views as user_views
lombardoffb37bca2018-05-03 16:20:04 +020019from sf_t3d import views
20
21app_name = 'base'
22urlpatterns = [
lombardoffb37bca2018-05-03 16:20:04 +020023 url(r'^$', views.home, name='home'),
24 url(r'^home', views.home, name='home'),
lombardofr2ad37de2018-07-18 09:47:28 +020025 url(r'^auth/$', user_views.user_login, name='auth_user'),
26 url(r'^projects/', include('projecthandler.urls.project', namespace='projects'), name='projects_base'),
27 url(r'^sdn/', include('sdnctrlhandler.urls', namespace='sdns'), name='sdns_base'),
28 url(r'^vims/', include('vimhandler.urls', namespace='vims'), name='vims_base'),
lombardofr3c7234a2019-12-03 11:23:17 +010029 url(r'^k8scluster/', include('k8sclusterhandler.urls', namespace='k8sc'), name='k8sc_base'),
30 url(r'^k8srepo/', include('k8srepohandler.urls', namespace='k8sr'), name='k8sr_base'),
meliane59fb022020-05-06 09:53:27 +000031 url(r'^osmrepo/', include('osmrepohandler.urls', namespace='osmr'), name='osmr_base'),
lombardofr3fcf21a2019-03-11 10:26:08 +010032 url(r'^wims/', include('wimhandler.urls', namespace='wims'), name='wims_base'),
lombardofre1ed7b22018-12-19 17:27:24 +010033 url(r'^packages/', include('packagehandler.urls', namespace='packages'), name='packages_base'),
lombardofr2ad37de2018-07-18 09:47:28 +020034 url(r'^instances/', include('instancehandler.urls', namespace='instances'), name='instances_base'),
lombardofrc3051ef2019-01-16 10:59:18 +010035 url(r'^netslices/', include('netslicehandler.urls', namespace='netslices'), name='netslices_base'),
lombardofr2ad37de2018-07-18 09:47:28 +020036 url(r'^admin/users/', include('userhandler.urls', namespace='users'), name='users_base'),
lombardofr8da23132019-06-02 17:18:48 +020037 url(r'^admin/roles/', include('rolehandler.urls', namespace='roles'), name='roles_base'),
lombardoffb37bca2018-05-03 16:20:04 +020038 url(r'^forbidden', views.forbidden, name='forbidden'),
39
40]