In this changeset, I added the Goal object into Watcher along with a sync module that is responsible for syncing the goals with the Watcher DB. Partially Implements: blueprint get-goal-from-strategy Change-Id: Ia3a2032dd9023d668c6f32ebbce44f8c1d77b0a3
31 lines
1.2 KiB
Python
31 lines
1.2 KiB
Python
# -*- encoding: utf-8 -*-
|
|
# Copyright (c) 2016 b<>com
|
|
#
|
|
# 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 watcher.decision_engine.strategy.strategies import basic_consolidation
|
|
from watcher.decision_engine.strategy.strategies import dummy_strategy
|
|
from watcher.decision_engine.strategy.strategies import outlet_temp_control
|
|
from watcher.decision_engine.strategy.strategies import \
|
|
vm_workload_consolidation
|
|
|
|
BasicConsolidation = basic_consolidation.BasicConsolidation
|
|
OutletTempControl = outlet_temp_control.OutletTempControl
|
|
DummyStrategy = dummy_strategy.DummyStrategy
|
|
VMWorkloadConsolidation = vm_workload_consolidation.VMWorkloadConsolidation
|
|
|
|
__all__ = ("BasicConsolidation", "OutletTempControl",
|
|
"DummyStrategy", "VMWorkloadConsolidation")
|