# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013, Big Switch Networks, Inc. # # 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 "AS IS" 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.defaults import url, patterns from .views import IndexView from .views import AddPoolView, AddMemberView, AddMonitorView, AddVipView from .views import PoolDetailsView, VipDetailsView from .views import MemberDetailsView, MonitorDetailsView urlpatterns = patterns( 'openstack_dashboard.dashboards.project.loadbalancers.views', url(r'^$', IndexView.as_view(), name='index'), url(r'^addpool$', AddPoolView.as_view(), name='addpool'), url(r'^addvip/(?P[^/]+)/$', AddVipView.as_view(), name='addvip'), url(r'^addmember$', AddMemberView.as_view(), name='addmember'), url(r'^addmonitor$', AddMonitorView.as_view(), name='addmonitor'), url(r'^pool/(?P[^/]+)/$', PoolDetailsView.as_view(), name='pooldetails'), url(r'^vip/(?P[^/]+)/$', VipDetailsView.as_view(), name='vipdetails'), url(r'^member/(?P[^/]+)/$', MemberDetailsView.as_view(), name='memberdetails'), url(r'^monitor/(?P[^/]+)/$', MonitorDetailsView.as_view(), name='monitordetails'))