Add new base classes for Bay and Cluster to inherit from. Add new tests for cluster and cluster_template code. Leaves all commands in-place and adds new cluster-related commands for magnumclient. Add deprecation decorator and messages for bay/baymodel. Implements: blueprint rename-bay-to-cluster Change-Id: I64e1aa6a71b109687568005655c6de55f86fad29
31 lines
1014 B
Python
31 lines
1014 B
Python
# Copyright 2014
|
|
# The Cloudscaling Group, 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 magnumclient.v1 import baymodels_shell
|
|
from magnumclient.v1 import bays_shell
|
|
from magnumclient.v1 import certificates_shell
|
|
from magnumclient.v1 import cluster_templates_shell
|
|
from magnumclient.v1 import clusters_shell
|
|
from magnumclient.v1 import mservices_shell
|
|
|
|
COMMAND_MODULES = [
|
|
baymodels_shell,
|
|
bays_shell,
|
|
certificates_shell,
|
|
clusters_shell,
|
|
cluster_templates_shell,
|
|
mservices_shell,
|
|
]
|