Dmitry Tantsur eb64d696e8 Add list/create/delete operations for node profiles
Add separate tab with list of all node profiles
and buttons to create and delete them.

Node profiles implementation is based on Nova flavor
management code in Horizon itself.

Note that updating node profiles is not supported yet,
as it causes several issues (indeed, flavors are never
updated, they are recreated with new ID, breaking
the links from overcloud roles to flavors and
confusing the users). Policy on how to update
node profiles is to be created lately.

Change-Id: I4041a7f59ab9a0abdcb66c7ae4d752284b472ad9
2014-02-17 04:52:06 -05:00

25 lines
903 B
Python

# -*- coding: utf8 -*-
#
# 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 import urls
from tuskar_ui.infrastructure.node_profiles import views
urlpatterns = urls.patterns(
'tuskar_ui.infrastructure.node_profiles.views',
urls.url(r'^$', views.IndexView.as_view(), name='index'),
urls.url(r'^create/$', views.CreateView.as_view(), name='create'),
)