
The node object represents either a bare metal or virtual machine node that is provisioned with an OS to run the containers, or alternatively, run kubernetes. Magnum use Heat to deploy the nodes, so it is unnecessary to maintain node object in Magnum. Heat can do the work for us. The code about node object is useless now, so let's remove it from Magnum. Change-Id: Icb7bd21032b592c94033d93e22f460d8c2270fbe Closes-Bug: #1541255 Depends-On: If8761b06a364127683099afb4dc51ea551be6f89
35 lines
1.1 KiB
Python
35 lines
1.1 KiB
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 containers_shell
|
|
from magnumclient.v1 import mservices_shell
|
|
from magnumclient.v1 import pods_shell
|
|
from magnumclient.v1 import replicationcontrollers_shell
|
|
from magnumclient.v1 import services_shell
|
|
|
|
COMMAND_MODULES = [
|
|
baymodels_shell,
|
|
bays_shell,
|
|
certificates_shell,
|
|
containers_shell,
|
|
mservices_shell,
|
|
pods_shell,
|
|
replicationcontrollers_shell,
|
|
services_shell,
|
|
]
|