X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=sdnctrlhandler%2Furls.py;fp=sdnctrlhandler%2Furls.py;h=93a59299bbc2062a4e41e817841a7047e3f486d1;hb=a03da5e2aab552daa3e7ced70b3e90466c7c8b82;hp=0000000000000000000000000000000000000000;hpb=e5476c0177144dccef48642129ad29c860d3cf7e;p=osm%2FLW-UI.git diff --git a/sdnctrlhandler/urls.py b/sdnctrlhandler/urls.py new file mode 100644 index 0000000..93a5929 --- /dev/null +++ b/sdnctrlhandler/urls.py @@ -0,0 +1,26 @@ +# +# Copyright 2018 CNIT - Consorzio Nazionale Interuniversitario per le Telecomunicazioni +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +from django.conf.urls import url +from sdnctrlhandler import views + +urlpatterns = [ + url(r'^list$', views.list, name='list'), + url(r'^create$', views.create, name='create'), + url(r'^(?P[0-9a-z-]+)/delete$', views.delete, name='delete'), + url(r'^(?P[0-9a-z-]+)', views.show, name='show'), + +] \ No newline at end of file