horizon/openstack_dashboard/dashboards/project/loadbalancers/urls.py
KC Wang 4f81c933a1 blueprint quantum-lbaas
This implements the UI for quantum lbaas. Add/Delete Pool, Vip, Member,
PoolMonitor for lbaas is implemented.

Expected future extensions:
1. Update Vip/Pool/Member
2. Use of floating IP as VIP

Change-Id: Icde452b97a5e02d2381b996350b13aba3d87bb8e
2013-03-05 20:38:35 -08:00

39 lines
1.7 KiB
Python

# 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<pool_id>[^/]+)/$', 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<pool_id>[^/]+)/$',
PoolDetailsView.as_view(), name='pooldetails'),
url(r'^vip/(?P<vip_id>[^/]+)/$',
VipDetailsView.as_view(), name='vipdetails'),
url(r'^member/(?P<member_id>[^/]+)/$',
MemberDetailsView.as_view(), name='memberdetails'),
url(r'^monitor/(?P<monitor_id>[^/]+)/$',
MonitorDetailsView.as_view(), name='monitordetails'))