342e83f033
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. Closes-Bug: #1540790 Change-Id: If8761b06a364127683099afb4dc51ea551be6f89
44 lines
1.4 KiB
Python
44 lines
1.4 KiB
Python
# Copyright 2013 IBM Corp.
|
|
#
|
|
# 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 magnum.objects import bay
|
|
from magnum.objects import baymodel
|
|
from magnum.objects import certificate
|
|
from magnum.objects import container
|
|
from magnum.objects import magnum_service
|
|
from magnum.objects import pod
|
|
from magnum.objects import replicationcontroller as rc
|
|
from magnum.objects import service
|
|
from magnum.objects import x509keypair
|
|
|
|
|
|
Container = container.Container
|
|
Bay = bay.Bay
|
|
BayModel = baymodel.BayModel
|
|
MagnumService = magnum_service.MagnumService
|
|
Pod = pod.Pod
|
|
ReplicationController = rc.ReplicationController
|
|
Service = service.Service
|
|
X509KeyPair = x509keypair.X509KeyPair
|
|
Certificate = certificate.Certificate
|
|
__all__ = (Bay,
|
|
BayModel,
|
|
Container,
|
|
MagnumService,
|
|
Pod,
|
|
ReplicationController,
|
|
Service,
|
|
X509KeyPair,
|
|
Certificate)
|