Hirotaka Wakabayashi 36253c968e Enables dashboard to select a configuration-id
This patch will enable trove-dashboard to select a configuration-id of
the configuration group to attach to the cluster when creating a new
cluster.

Change-Id: I5621c712a016dc3b87363bd4d3b7c586e5cb0ddc
Story: 2007999
Task: 40643
2025-04-02 18:09:18 +09:00

30 lines
989 B
Python

# Copyright (c) 2014 eBay Software Foundation
# Copyright 2015 HP Software, LLC
# All Rights Reserved.
#
# 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.utils.translation import gettext_lazy as _
import horizon
from openstack_dashboard.dashboards.project import dashboard
class Clusters(horizon.Panel):
name = _("Clusters")
slug = 'database_clusters'
permissions = ('openstack.services.database',)
dashboard.Project.register(Clusters)