Files
anvil/devstack/components/quantum.py

72 lines
1.7 KiB
Python

# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# 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 devstack import component as comp
from devstack import constants
from devstack import log as logging
from devstack import shell as sh
from devstack import utils
LOG = logging.getLogger("devstack.components.quantum")
TYPE = constants.QUANTUM
class QuantumUninstaller(comp.UninstallComponent):
def __init__(self, *args, **kargs):
comp.UninstallComponent.__init__(self)
def unconfigure(self):
pass
def uninstall(self):
pass
class QuantumInstaller(comp.InstallComponent):
def __init__(self, *args, **kargs):
comp.InstallComponent.__init__(self)
def download(self):
pass
def configure(self):
pass
def pre_install(self):
pass
def install(self):
pass
def post_install(self):
pass
class QuantumRuntime(comp.RuntimeComponent):
def __init__(self, *args, **kargs):
comp.RuntimeComponent.__init__(self)
def start(self):
pass
def stop(self):
pass
def status(self):
pass
def restart(self):
pass