
add-interface/set-gateway/create-router actions in Admin Router panel are no longer needed since all of these operations now can be done by regular users. Moreover, there is a bug that admin cannot add an interface of other tenant to a router in Admin Router panel and the behavior is confusing for users. Consindering the above, this commit remove forms create/modifying quantum routers. After the commit admin router panel just provides the list of routers of all tenants and removes them. Fixes bug #1153754 Change-Id: Ie17601b260fc6584ba21cd19dc9492bf16b267c1
28 lines
973 B
Python
28 lines
973 B
Python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
|
|
|
|
# Copyright 2012, Nachi Ueno, NTT MCL, 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 patterns, url
|
|
|
|
from .views import (IndexView, DetailView)
|
|
|
|
|
|
urlpatterns = patterns('horizon.dashboards.admin.routers.views',
|
|
url(r'^$', IndexView.as_view(), name='index'),
|
|
url(r'^(?P<router_id>[^/]+)/$',
|
|
DetailView.as_view(),
|
|
name='detail'),
|
|
)
|